Difference between revisions of "Template:Armor2"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{#switch: {{NAMESPACE}}
 
====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 />
<!--THE FOLLOWING PART WILL BE DISPLAYED ON A CREATURE PAGE-->


{{armor2
|Armor ={{{!}}class="wikitable" border=1  
|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}}
<!--THE FOLLOWING PART WILL BE DISPLAYED ON A armor PAGE-->
| 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"{{!}} Class
{{!}}style="text-align:left" {{!}} {{{Class|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Stab
! style="text-align:left"{{!}} Stab
{{!}}style="text-align:left" {{!}} {{{Stab|?}}}
{{!}}style="text-align:left" {{!}} {{{Stab|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Cut
! style="text-align:left"{{!}} Cut
{{!}}style="text-align:left" {{!}} {{{Cut|?}}}
{{!}}style="text-align:left" {{!}} {{{Cut|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Impact
! style="text-align:left"{{!}} Impact
{{!}}style="text-align:left" {{!}} {{{Impact|?}}}
{{!}}style="text-align:left" {{!}} {{{Impact|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Penetration
! style="text-align:left"{{!}} Penetration
{{!}}style="text-align:left" {{!}} {{{Penetration|?}}}
{{!}}style="text-align:left" {{!}} {{{Penetration|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Shrapnel
! style="text-align:left"{{!}} Shrapnel
{{!}}style="text-align:left" {{!}} {{{Shrapnel|?}}}
{{!}}style="text-align:left" {{!}} {{{Shrapnel|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Burn
! style="text-align:left"{{!}} Burn
{{!}}style="text-align:left" {{!}} {{{Burn|?}}}
{{!}}style="text-align:left" {{!}} {{{Burn|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Cold
! style="text-align:left"{{!}} Cold
{{!}}style="text-align:left" {{!}} {{{Cold|?}}}
{{!}}style="text-align:left" {{!}} {{{Cold|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Acid
! style="text-align:left"{{!}} Acid
{{!}}style="text-align:left" {{!}} {{{Acid|?}}}
{{!}}style="text-align:left" {{!}} {{{Acid|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Electric
! style="text-align:left"{{!}} Electric
{{!}}style="text-align:left" {{!}} {{{Electric|?}}}
{{!}}style="text-align:left" {{!}} {{{Electric|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Movement
! style="text-align:left"{{!}} Close
{{!}}style="text-align:left" {{!}} {{{Movement|?}}}
{{!}}style="text-align:left" {{!}} {{{Close|?}}}
 
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Combat
! style="text-align:left"{{!}} Firearms
{{!}}style="text-align:left" {{!}} {{{Combat|?}}}
{{!}}style="text-align:left" {{!}} {{{Firearms|?}}}
 
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Attacks
! style="text-align:left"{{!}} Durability
{{!}}style="text-align:left" {{!}} {{{Attacks|?}}}
{{!}}style="text-align:left" {{!}} {{{Durability|?}}}
 
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Range
! style="text-align:left"{{!}} Set TT
{{!}}style="text-align:left" {{!}} {{{Range|?}}}
{{!}}style="text-align:left" {{!}} {{{Set TT|?}}} PED
 
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Aggression
! style="text-align:left"{{!}} Source
{{!}}style="text-align:left" {{!}} {{{Aggression|?}}}
{{!}}style="text-align:left" {{!}} {{{Source|?}}}
{{!}}-
 
! style="text-align:left"{{!}} Tamable
{{!}}style="text-align:left" {{!}} {{{Tamable|?}}}
{{!}}-
! style="text-align:left"{{!}} Sweatable
{{!}}style="text-align:left" {{!}} {{{Sweatable|?}}}
{{!}}-
{{!}}-
! style="text-align:left"{{!}} Remarks
! style="text-align:left"{{!}} Remarks
{{!}}style="text-align:left" {{!}} {{{Remarks|?}}}
{{!}}style="text-align:left" {{!}} {{{Remarks|?}}}
{{!}}}
{{!}}}
<!--THE FOLLOWING PART WILL BE DISPLAYED ON ANY OTHER PAGE-->
<!--THE FOLLOWING PART WILL BE DISPLAYED ON ANY OTHER PAGE-->
| #default ={{!}}- class="sortbottom" valign="center"
 
{{!}}style="text-align:center" {{!}} [[File:Moblist_thumb_{{{Name|none}}}.png‎|30px]]
| #default ={{!}}- class="sortbottom" valign="center"
{{!}}style="text-align:left" {{!}} [[armor:{{{Name}}}|{{{Name}}}]]
{{!}}style="text-align:center" {{!}} [[File:Armor_thumb_{{{Name|none}}}.png‎|30px]]
{{!}}style="text-align:center" {{!}} {{{Class|?}}}
{{!}}style="text-align:left" {{!}} [[Armor:{{{Name}}}|{{{Name}}}]]
{{!}}style="text-align:center" {{!}} {{{Stab|?}}}
{{!}}style="text-align:center" {{!}} {{{Stab|?}}}
{{!}}style="text-align:center" {{!}} {{{Cut|?}}}
{{!}}style="text-align:center" {{!}} {{{Cut|?}}}
Line 116: Line 83:
{{!}}style="text-align:center" {{!}} {{{Acid|?}}}
{{!}}style="text-align:center" {{!}} {{{Acid|?}}}
{{!}}style="text-align:center" {{!}} {{{Electric|?}}}
{{!}}style="text-align:center" {{!}} {{{Electric|?}}}
{{!}}style="text-align:center" {{!}} {{{Movement|?}}}
{{!}}style="text-align:center" {{!}} {{{Close|?}}}
{{!}}style="text-align:center" {{!}} {{{Combat|?}}}
{{!}}style="text-align:center" {{!}} {{{Firearms|?}}}
{{!}}style="text-align:center" {{!}} {{{Attacks|?}}}
{{!}}style="text-align:center" {{!}} {{{Durability|?}}}
{{!}}style="text-align:center" {{!}} {{{Range|?}}}
{{!}}style="text-align:center" {{!}} {{{Set TT|?}}} PED
{{!}}style="text-align:center" {{!}} {{{Aggression|?}}}
{{!}}style="text-align:center" {{!}} {{{Tamable|?}}}
{{!}}style="text-align:center" {{!}} {{{Sweatable|?}}}
{{!}}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" | ?