Difference between revisions of "Template:Infobox:animal"
From Cantr II Wiki
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{Infobox: | + | <includeonly>{{Infobox:AnimalBaseSanchez |
| title = {{{name|}}} | | title = {{{name|}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| resize = {{{resize|}}} | | resize = {{{resize|}}} | ||
| comment = {{{description|}}} | | comment = {{{description|}}} | ||
− | | section1 = | + | | section1 = Wild animal |
| widths1 = 115 | | widths1 = 115 | ||
| item0s1 = Attacking damage | | item0s1 = Attacking damage | ||
Line 14: | Line 14: | ||
| item3s1 = Natural armour | | item3s1 = Natural armour | ||
| info3s1 = {{if|test={{{armour|}}}|then={{{armour|0}}}|else={{Inc3}}}} | | info3s1 = {{if|test={{{armour|}}}|then={{{armour|0}}}|else={{Inc3}}}} | ||
− | | item4s1 = | + | | item4s1 = Habitat |
− | | info4s1 = {{if|test={{{ | + | | info4s1 = {{if|test={{{areas|}}}|then={{{areas}}}|else={{Inc3}}}} |
− | | item5s1 = | + | | item5s1 = Hunting yields |
− | | info5s1 = {{if|test={{{ | + | | info5s1 = {{if|test={{{resources|}}}|then={{{resources}}}|else={{Inc3}}}} |
− | | | + | | section2 = {{if|test={{{feed|}}}|then=Domesticated|else=}} |
− | | | + | | item0s2 = Feed type |
− | | | + | | info0s2 = {{if|test={{{feed|}}}|then={{{feed}}}|else=}} |
− | | | + | | item1s2 = Allowed terrain |
− | | | + | | info1s2 = {{if|test={{{terrain|}}}|then={{{terrain}}}|else=}} |
− | | | + | | item2s2 = Renewables |
− | | | + | | info2s2 = {{if|test={{{milking|}}}|then={{{milking}}}|else={{if|test={{{shearing|}}}|then={{{shearing}}}|else={{if|test={{{collect|}}}|then={{{collect}}}|else=none}}}}}} |
− | | | + | | item3s2 = Butchering yields |
+ | | info3s2 = {{if|test={{{butcher|}}}|then={{{butcher}}}|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 21:18, 27 July 2015
{{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. UsageCopy 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
|