Difference between revisions of "Template:Armor2"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
Line 1: Line 1:
<noinclude>
====Info====
This template is a little tricky. It contains a function checking whether the data is displayed on a armor page (namespace 'Tarmor'). Depending on the result it either generates a armor facts table or a table row to be used together with [[Template:armor_Table_Header]].<br />The design for the TP facts table has not be done yet, feel free to contribute ;)<br />
<br />
====Usage====
To use it on a armor page please copy the following code and fill in data after the equals signs:
<pre><section begin=armor />
{{armor2
|Name= -
|Class= -
|Stab= -
|Cut= -
|Impact= -
|Penetration= -
|Shrapnel= -
|Burn= -
|Cold= -
|Acid= -
|Electric= -
|Movement= -
|Combat= -
|Attacks= -
|Range= -
|Aggression= -
|Tamable= -
|Sweatable= -
|Remarks= -
}}
<section end=armor />
</pre>
<br />
====Template code====</noinclude>
{{#switch: {{NAMESPACE}}
{{#switch: {{NAMESPACE}}


Line 47: Line 6:
{{!}}-
{{!}}-
! style="text-align:left; width:150px"{{!}} Name
! style="text-align:left; width:150px"{{!}} Name
{{!}}style="text-align:left; width:150px" align=left {{!}} [[armor:{{{Name}}}|{{{Name|{{PAGENAME}}}}}]]
{{!}}style="text-align:left; width:150px" align=left {{!}} [[Armor:{{{Name}}}|{{{Name|{{PAGENAME}}}}}]]


{{!}}-
{{!}}-

Revision as of 18:04, 3 July 2011

|- class="sortbottom" valign="center" |style="text-align:center" | File:Moblist thumb none.png |style="text-align:left" | [[Armor:{{{Name}}}|{{{Name}}}]] |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ?