Difference between revisions of "Template:Hero"
Jump to navigation
Jump to search
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
| − | + | [[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]] | |
Usage: | Usage: | ||
| − | {{Hero| | + | {{Hero|hero name}} |
| + | |||
| + | Requirements: | ||
| + | Link must be a valid image with .png extension | ||
| + | |||
| + | Result: | ||
| + | Renders a picture using the path <hero name>.png | ||
| + | Places the link to the page <hero name> | ||
| + | |||
</pre> | </pre> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
| − | </noinclude><includeonly | + | </noinclude><includeonly>[[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]]</includeonly> |
Latest revision as of 15:23, 8 April 2018
[[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]]
Usage:
{{Hero|hero name}}
Requirements:
Link must be a valid image with .png extension
Result:
Renders a picture using the path <hero name>.png
Places the link to the page <hero name>