Difference between revisions of "Template:Armor2"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
(Created page with "<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...")
 
Line 5: Line 5:
====Usage====
====Usage====
To use it on a creature page please copy the following code and fill in data after the equals signs:
To use it on a creature page please copy the following code and fill in data after the equals signs:
<pre><section begin=creature />
<pre><section begin=armor/>
{{Creature2
{{Armor2
|Name= -
|Name= -
|Class= -
|Class= -
Line 27: Line 27:
|Remarks= -
|Remarks= -
}}
}}
<section end=creature />
<section end=armor/>
</pre>
</pre>
<br />
<br />
Line 39: Line 39:
{{!}}-
{{!}}-
! style="text-align:left; width:150px"{{!}} Name
! style="text-align:left; width:150px"{{!}} Name
{{!}}style="text-align:left; width:150px" align=left {{!}} [[Creature:{{{Name}}}|{{{Name|{{PAGENAME}}}}}]]
{{!}}style="text-align:left; width:150px" align=left {{!}} [[Armor:{{{Name}}}|{{{Name|{{PAGENAME}}}}}]]


{{!}}-
{{!}}-
Line 114: Line 114:
  | #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:Moblist_thumb_{{{Name|none}}}.png‎|30px]]
{{!}}style="text-align:left" {{!}} [[Creature:{{{Name}}}|{{{Name}}}]]
{{!}}style="text-align:left" {{!}} [[Armor:{{{Name}}}|{{{Name}}}]]
{{!}}style="text-align:center" {{!}} {{{Weight|?}}}
{{!}}style="text-align:center" {{!}} {{{Weight|?}}}
{{!}}style="text-align:center" {{!}} {{{Stab|?}}}
{{!}}style="text-align:center" {{!}} {{{Stab|?}}}

Revision as of 17:41, 3 July 2011

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.
The design for the TP facts table has not be done yet, feel free to contribute  ;)

Usage

To use it on a creature page please copy the following code and fill in data after the equals signs:

<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/>


Template code

|- 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" | ?