Difference between revisions of "Template:Hero"

From Eurobattle.net WiKi
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
[[File:{{{1}}}]]
+
[[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]]
  
 
Usage:
 
Usage:
{{Hero|link}}
+
{{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>[[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]]</includeonly>
 
</noinclude><includeonly>[[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]]</includeonly>

Latest revision as of 16: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>