Difference between revisions of "Template:Creature2"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
Line 120: Line 120:
! 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-->
Line 145: Line 145:
{{!}}style="text-align:center" {{!}} {{{Sweatable|?}}}
{{!}}style="text-align:center" {{!}} {{{Sweatable|?}}}
{{!}}style="text-align:center" {{!}} {{{Remarks|?}}}
{{!}}style="text-align:center" {{!}} {{{Remarks|?}}}
}}
|}
[[Category:{{{Planet}}}]] [[Category:Mobs]] [[Category:Animal]]
[[Category:{{{Planet}}}]] [[Category:Mobs]] [[Category:Animal]]

Revision as of 18:14, 4 August 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=creature />
{{Creature2
|Name= -
|Class= -
|Stab= -
|Cut= -
|Impact= -
|Penetration= -
|Shrapnel= -
|Burn= -
|Cold= -
|Acid= -
|Electric= -
|Movement= -
|Combat= -
|Attacks= -
|Range= -
|Aggression= -
|Tamable= -
|Sweatable= -
|Remarks= -
}}
<section end=creature />


Template code

{{#switch: Template


| Creature ={|class="wikitable" border=1 

|- ! style="text-align:left; width:150px"| Name |style="text-align:left; width:150px" align=left | [[Creature:{{{Name}}}|Creature2]]

|- ! style="text-align:left; width:150px"| Picture |style="text-align:left; width:150px" align=left | File:Moblist thumb none.png

|- ! style="text-align:left"| Planet |style="text-align:left" | ?

|- ! style="text-align:left"| Class |style="text-align:left" | ?

|- ! style="text-align:left"| Stab |style="text-align:left" | ?

|- ! style="text-align:left"| Cut |style="text-align:left" | ?

|- ! style="text-align:left"| Impact |style="text-align:left" | ?

|- ! style="text-align:left"| Penetration |style="text-align:left" | ?

|- ! style="text-align:left"| Shrapnel |style="text-align:left" | ?

|- ! style="text-align:left"| Burn |style="text-align:left" | ?

|- ! style="text-align:left"| Cold |style="text-align:left" | ?

|- ! style="text-align:left"| Acid |style="text-align:left" | ?

|- ! style="text-align:left"| Electric |style="text-align:left" | ?

|- ! style="text-align:left"| Movement |style="text-align:left" | ?

|- ! style="text-align:left"| Combat |style="text-align:left" | ?

|- ! style="text-align:left"| Attacks |style="text-align:left" | ?

|- ! style="text-align:left"| Range |style="text-align:left" | ?

|- ! style="text-align:left"| Aggression |style="text-align:left" | ?

|- ! style="text-align:left"| Tamable |style="text-align:left" | ?

|- ! style="text-align:left"| Sweatable |style="text-align:left" | ?

|- ! style="text-align:left"| Remarks |style="text-align:left" | ? |}


| #default =|- class="sortbottom" valign="center"

|style="text-align:center" | File:Moblist thumb none.png |style="text-align:left" | [[Creature:{{{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" | ? |} [[Category:{{{Planet}}}]]