Difference between revisions of "Template:Infobox pawn"
Jump to navigation
Jump to search
(More fields and re-ordering some things) |
(Slight changes) |
||
Line 181: | Line 181: | ||
{{#if: {{{type|}}} {{{subtype|}}} {{{basebodysize|}}} {{{basehealthscale|}}} {{{basehungerrate|}}} {{{comfytemp_min|}}} {{{comfytemp_max|}}} {{{diet|}}} {{{flammability|}}} {{{has_gender|}}} {{{marketvalue|}}} {{{movespeed|}}} {{{herdanimal|}}} {{{herdsize_min|}}} {{{herdsize_max|}}} {{{psychicsensitivity|}}} {{{toxicsensitivity|}}} | {{#if: {{{type|}}} {{{subtype|}}} {{{basebodysize|}}} {{{basehealthscale|}}} {{{basehungerrate|}}} {{{comfytemp_min|}}} {{{comfytemp_max|}}} {{{diet|}}} {{{flammability|}}} {{{has_gender|}}} {{{marketvalue|}}} {{{movespeed|}}} {{{herdanimal|}}} {{{herdsize_min|}}} {{{herdsize_max|}}} {{{psychicsensitivity|}}} {{{toxicsensitivity|}}} | ||
| {{!}} colspan="2" class="infoboxdescription1" {{!}} General }} | | {{!}} colspan="2" class="infoboxdescription1" {{!}} General }} | ||
− | |- | + | |-<!-- |
{{#if: {{{type|}}} | {{!}} <div>Type</div> {{!!}} [[{{ucfirst: {{{type}}} }}]] }} | {{#if: {{{type|}}} | {{!}} <div>Type</div> {{!!}} [[{{ucfirst: {{{type}}} }}]] }} | ||
|- | |- | ||
{{#if: {{{subtype|}}} | {{!}} <div>Subtype</div> {{!!}} [[{{ucfirst: {{{subtype}}} }}]] }} | {{#if: {{{subtype|}}} | {{!}} <div>Subtype</div> {{!!}} [[{{ucfirst: {{{subtype}}} }}]] }} | ||
− | |- | + | |- --> |
{{#if: {{{marketvalue|}}} | {{!}} <div>Market value</div> {{!!}} {{formatnum:{{{marketvalue}}} }} [[File:silver_c.png|20px]] }} | {{#if: {{{marketvalue|}}} | {{!}} <div>Market value</div> {{!!}} {{formatnum:{{{marketvalue}}} }} [[File:silver_c.png|20px]] }} | ||
|- | |- | ||
{{#if: {{{movespeed|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeed}}} cells/sec}} | {{#if: {{{movespeed|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeed}}} cells/sec}} | ||
+ | |- | ||
+ | {{#if: {{{comfytemp_min|}}} {{{comfytemp_max|}}} | {{!}} <div>Temperature</div> {{!!}} {{{comfytemp_min}}}°C to {{{comfytemp_max}}}°C }}<!-- need more elaborate if--> | ||
|- | |- | ||
{{#if: {{{diet|}}} | {{!}} <div>Diet</div> {{!!}} [[{{ucfirst: {{{diet}}} }}]] }} | {{#if: {{{diet|}}} | {{!}} <div>Diet</div> {{!!}} [[{{ucfirst: {{{diet}}} }}]] }} | ||
− | |||
− | |||
|- | |- | ||
{{#if: {{{basebodysize|}}} | {{!}} <div>Body size</div> {{!!}} {{{basebodysize}}} }} | {{#if: {{{basebodysize|}}} | {{!}} <div>Body size</div> {{!!}} {{{basebodysize}}} }} |
Revision as of 09:18, 27 July 2019
This template defines the table "Animal". This table has not been created yet.
Usage
This documentation is for the new infobox pawn template.
{{Infobox pawn | name = | image = | description = | description_markup = | type = | subtype = <!-- General --> | basebodysize = | basehealthscale = | basehungerrate = | comfytemp_min = | comfytemp_max = | diet = | flammability = | has_gender = | marketvalue = | movespeed = <!-- Combat --> | armorrating_blunt = | armorrating_heat = | armorrating_sharp = | combatpower = <!-- Life phases --> | life_expectancy = | mass_adult = | mass_baby = | mass_juvenile = | maturity_age = | minage_adult = | minage_baby = | minage_juvenile = | gestation_period = | offspring_low = | offspring_high = <!-- Taming/hunting --> | handleskill = | manhunter_damage = | manhunter_tamefail = | nameontamechance = | nuzzlehours = | petness = | predator = | maxpreybodysize = | trainability = | packanimal = | carryingcapacity = | wildness = <!-- Product --> | egg_amountlow = | egg_amounthigh = | egg_type = | egg_time = | leather_amount = | leather_type = | meat_amount = | meat_type = | milk_amount = | milk_time = | shear_time = | wool_amount = | wool_type = <!-- Other --> | ecosystemweight = | recipes_operation = | tradetags = <!--| butcherproducts?? (mechs) = --> }}
The above documentation is transcluded from Template:Infobox pawn/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |