Template:Unit-Simple

From 1100ad

(Difference between revisions)
m (Created "Simlple" Template)
m (Simpler Template!)
Line 1: Line 1:
{|
{|
|-  
|-  
-
|[[File:{{{Image|pikeman_icon.jpg}}}|link={{{Link|Pikeman}}}]]
+
|[[File:{{{Image|{{{Name|pikeman}}}_icon.jpg}}}|link={{{Link|{{{Name|Pikeman}}}}}}]]
|-
|-
-
| align=center | [[{{{Link|Pikeman}}}|{{{Name|Pikeman}}}]]
+
| align=center style="text-transform:capitalize;" | [[{{{Link|{{{Name|Pikeman}}}}}}|{{{Name|pikeman}}}]]
|}
|}
<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 18:
|Link=  
|Link=  
|Image=  
|Image=  
-
}}
+
}}</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>

Revision as of 00:43, 17 April 2010

pikeman

Usage (Simple):

{{Unit-Simple
|Name=
}}

Usage (Custom):

{{Unit-Simple
|Name= 
|Link= 
|Image= 
}}

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