Template:Unit-Simple
From 1100ad
(Difference between revisions)
(image dimension added) |
|||
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing=0px cellpadding=0px | | {| cellspacing=0px cellpadding=0px | | ||
|- | |- | ||
- | | align=center |[[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 style="text-transform:capitalize;" | [[{{{Link|{{{Name|Pikeman}}}}}}|{{{Name|pikeman}}}]] | | align=center style="text-transform:capitalize;" | [[{{{Link|{{{Name|Pikeman}}}}}}|{{{Name|pikeman}}}]] | ||
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]] | [[Category:User Templates]] |
Current revision as of 04:53, 6 September 2011
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)