Template:Unit-Simple

From 1100ad

(Difference between revisions)
(image dimension added)
 
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>

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)