Difference between revisions of "Template:Hero"

From Eurobattle.net WiKi
Jump to navigation Jump to search
(Created page with "<noinclude> <pre> <div class="zoom_img">[{{{link}}}]</div> Usage: {{Hero|link}} </pre> {{PAGENAME}} </noinclude><includeonly><div class="zoom_img">[{{...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
<div class="zoom_img">[{{{link}}}]</div>
+
[[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><div class="zoom_img">[{{{link}}}]</div></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>