Difference between revisions of "Template:Infobox:animal"

From Cantr II Wiki
Jump to: navigation, search
Line 27: Line 27:
 
| item3s2  = Butchering yields
 
| item3s2  = Butchering yields
 
| info3s2  = {{if|test={{{butcher|}}}|then={{{butcher}}}|else=}}
 
| info3s2  = {{if|test={{{butcher|}}}|then={{{butcher}}}|else=}}
 +
| item4s2 = Weight
 +
| info4s2 = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else=}}
 
}}<!-- Object Categories -->{{if|test={{{sortingname|}}}|then=[[Category:Animals|{{{sortingname}}}]]|else={{if|test={{{name|}}}|then=[[Category:Animals|{{{name}}}]]|else=[[Category:Animals]]}}}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
}}<!-- Object Categories -->{{if|test={{{sortingname|}}}|then=[[Category:Animals|{{{sortingname}}}]]|else={{if|test={{{name|}}}|then=[[Category:Animals|{{{name}}}]]|else=[[Category:Animals]]}}}}</includeonly><!-- Template Categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 22:53, 1 August 2015

Template documentation[ view ] [ discuss ] [edit]

{{Infobox:animal}} allows to detail in a single table, all of the listed information about an animal.

The table is located in the upper right corner, and can contain: an image with its description; information about the category; attacking damage of the animal; aggressiveness; the natural armour strength; the likeliness of migration; travel speed; reproduction rate; habitat(s); resources the animal drops upon death; and the average age of life.

The article is automatically added to the corresponding subcategory of Animals.

Usage

Copy the text below and paste it to the top of the page you are editing. Complete the fields with the information you want to display. Unused fields may be deleted or left incomplete.

{{Infobox:animal
| image        = 
| resize       = 
| maxpacksize  = 
| attackforce  = 
| attackchance = 
| strength     = 
| armour       = 
| areas        = 
| resources    = 
| feed         = 
| feedamnt     = 
| terrain      = 
| milking      = 
| butcher      = 
| weight       = 
}}

Parameters

  • areas
    • Examples: areas = [[grassland]]
    • areas = [[grassland]]<br>[[mountains]]
  • resources
    • Examples: resources = 1000 grams de [[meat]]<br>200 grams de [[large bones]]