Template:Unit-Simple

From 1100ad

(Difference between revisions)
m (Created "Simlple" Template)
(image dimension added)
 
(10 intermediate revisions not shown)
Line 1: Line 1:
-
{|
+
{| cellspacing=0px cellpadding=0px |
|-  
|-  
-
|[[File:{{{Image|pikeman_icon.jpg}}}|link={{{Link|Pikeman}}}]]
+
| align=center |[[File:{{{Image|{{{Name|pikeman}}}_icon.jpg}}}|link={{{Link|{{{Name|Pikeman}}}}}}|{{{Image-Dimension}}}]]
|-
|-
-
| align=center | [[{{{Link|Pikeman}}}|{{{Name|Pikeman}}}]]
+
| align=center style="text-transform:capitalize;" | [[{{{Link|{{{Name|Pikeman}}}}}}|{{{Name|pikeman}}}]]
 +
|-
 +
| align=center |{{{Note|}}}
|}
|}
<noinclude>
<noinclude>
-
Usage:
+
Usage (Simple):
 +
<pre><nowiki>
 +
{{Unit-Simple
 +
|Name=
 +
}}
 +
</nowiki></pre>
 +
Usage (Custom):
<pre><nowiki>
<pre><nowiki>
{{Unit-Simple
{{Unit-Simple
Line 12: Line 20:
|Link=  
|Link=  
|Image=  
|Image=  
-
}}
+
|Image-Dimension= (e.g. 48x32px; optional)
 +
}}</nowiki></pre>
 +
Only name is required.<br>
 +
Link and Image override the generated Image and Link.<br>
Defaults to pikeman (for display purposes)
Defaults to pikeman (for display purposes)
-
</nowiki></pre>
 
</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)