Difference between revisions of "Template:Armor2"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
====Info====
This template is a little  tricky. It contains a function checking whether the data is displayed  on  a Creature page (namespace 'TCreature'). Depending on the result it  either generates a Creature facts table or a table row to be used  together with [[Template:Creature_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 creature 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}}


<!--THE FOLLOWING PART WILL BE DISPLAYED ON A CREATURE PAGE-->
<!--THE FOLLOWING PART WILL BE DISPLAYED ON A CREATURE PAGE-->


| Creature ={{{!}}class="wikitable" border=1  
|Armor ={{{!}}class="wikitable" border=1  
{{!}}-
{{!}}-
! 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}}}}}]]
{{!}}-
! style="text-align:left; width:150px"{{!}} Picture
{{!}}style="text-align:left; width:150px" align=left {{!}} [[File:Moblist_thumb_{{{Name|none}}}.png‎|148px]]
{{!}}-
! style="text-align:left"{{!}} Weight
{{!}}style="text-align:left" {{!}} {{{Weight|?}}}


{{!}}-
{{!}}-
Line 99: Line 58:
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Set TT
! style="text-align:left"{{!}} Set TT
{{!}}style="text-align:left" {{!}} {{{Set TT|?}}}
{{!}}style="text-align:left" {{!}} {{{Set TT|?}}} PED


{{!}}-
{{!}}-
Line 113: Line 72:


  | #default ={{!}}- class="sortbottom" valign="center"
  | #default ={{!}}- class="sortbottom" valign="center"
{{!}}style="text-align:center" {{!}} [[File:Moblist_thumb_{{{Name|none}}}.png‎|30px]]
{{!}}style="text-align:center" {{!}} [[File:Armor_thumb_{{{Name|none}}}.png‎|30px]]
{{!}}style="text-align:left" {{!}} [[Armor:{{{Name}}}|{{{Name}}}]]
{{!}}style="text-align:left" {{!}} [[Armor:{{{Name}}}|{{{Name}}}]]
{{!}}style="text-align:center" {{!}} {{{Weight|?}}}
{{!}}style="text-align:center" {{!}} {{{Stab|?}}}
{{!}}style="text-align:center" {{!}} {{{Stab|?}}}
{{!}}style="text-align:center" {{!}} {{{Cut|?}}}
{{!}}style="text-align:center" {{!}} {{{Cut|?}}}
Line 128: Line 86:
{{!}}style="text-align:center" {{!}} {{{Firearms|?}}}
{{!}}style="text-align:center" {{!}} {{{Firearms|?}}}
{{!}}style="text-align:center" {{!}} {{{Durability|?}}}
{{!}}style="text-align:center" {{!}} {{{Durability|?}}}
{{!}}style="text-align:center" {{!}} {{{Set TT|?}}}
{{!}}style="text-align:center" {{!}} {{{Set TT|?}}} PED
{{!}}style="text-align:center" {{!}} {{{Source|?}}}
{{!}}style="text-align:center" {{!}} {{{Remarks|?}}}
{{!}}style="text-align:center" {{!}} {{{Remarks|?}}}
}}
}}
[[Category:Armor]] [[Category:Arkadia]]

Latest revision as of 17:56, 4 August 2011

|- class="sortbottom" valign="center" |style="text-align:center" | Armor 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" | ? PED |style="text-align:center" | ?