Template:Unit-Simple

From 1100ad

(Difference between revisions)
m (relocated note, testing sizes...)
(image dimension added)
 
(6 intermediate revisions not shown)
Line 1: Line 1:
-
{| height=100% width=75px |
+
{| cellspacing=0px cellpadding=0px |
|-  
|-  
-
| align=center valign=top |[[File:{{{Image|{{{Name|pikeman}}}_icon.jpg}}}|link={{{Link|{{{Name|Pikeman}}}}}}]]
+
| align=center |[[File:{{{Image|{{{Name|pikeman}}}_icon.jpg}}}|link={{{Link|{{{Name|Pikeman}}}}}}|{{{Image-Dimension}}}]]
|-
|-
-
| align=center valign=top style="text-transform:capitalize;" | [[{{{Link|{{{Name|Pikeman}}}}}}|{{{Name|pikeman}}}]]
+
| align=center style="text-transform:capitalize;" | [[{{{Link|{{{Name|Pikeman}}}}}}|{{{Name|pikeman}}}]]
|-
|-
-
| align=center valign=top |{{{Note|}}}
+
| align=center |{{{Note|}}}
|}
|}
<noinclude>
<noinclude>
Line 20: Line 20:
|Link=  
|Link=  
|Image=  
|Image=  
 +
|Image-Dimension= (e.g. 48x32px; optional)
}}</nowiki></pre>
}}</nowiki></pre>
Line 26: Line 27:
Defaults to pikeman (for display purposes)
Defaults to pikeman (for display purposes)
</noinclude>
</noinclude>
 +
[[Category:Templates]]
 +
[[Category:User Templates]]

Current revision as of 04:53, 6 September 2011

{{{Image-Dimension}}}
pikeman

Usage (Simple):

{{Unit-Simple
|Name=
}}

Usage (Custom):

{{Unit-Simple
|Name= 
|Link= 
|Image= 
|Image-Dimension= (e.g. 48x32px; optional)
}}

Only name is required.
Link and Image override the generated Image and Link.
Defaults to pikeman (for display purposes)