Editing Template:Infobox pawn

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<noinclude><!-- Cargo declare section  -->
 
<noinclude><!-- Cargo declare section  -->
{{#cargo_declare:_table = Pawn
+
{{#cargo_declare:_table = Animal
 
| name              = String
 
| name              = String
 
| image              = File
 
| image              = File
Line 18: Line 18:
 
| marketvalue        = Integer
 
| marketvalue        = Integer
 
| movespeed          = Float
 
| movespeed          = Float
| herdanimal        = Boolean
 
| herdsize_min      = Integer
 
| herdsize_max      = Integer
 
| psychicsensitivity = Boolean
 
| toxicsensitivity  = Boolean
 
 
<!--  Combat  -->
 
<!--  Combat  -->
 
| armorrating_blunt  = Float
 
| armorrating_blunt  = Float
Line 31: Line 26:
 
| life_expectancy    = Integer
 
| life_expectancy    = Integer
 
| mass_adult        = Float
 
| mass_adult        = Float
 +
| mass_baby          = Float
 
| mass_juvenile      = Float
 
| mass_juvenile      = Float
| mass_baby          = Float
+
| maturity_age      = Float
 
| minage_adult      = Float
 
| minage_adult      = Float
 +
| minage_baby        = Float
 
| minage_juvenile    = Float
 
| minage_juvenile    = Float
| minage_baby        = Float
 
 
| gestation_period  = Integer
 
| gestation_period  = Integer
 
| offspring_low      = Integer
 
| offspring_low      = Integer
Line 44: Line 40:
 
| manhunter_tamefail = Float
 
| manhunter_tamefail = Float
 
| nameontamechance  = Float
 
| nameontamechance  = Float
| nameonnuzzlechance = Float
 
 
| nuzzlehours        = Integer
 
| nuzzlehours        = Integer
 
| petness            = Float
 
| petness            = Float
 
| predator          = Boolean
 
| predator          = Boolean
 
| maxpreybodysize    = Float
 
| maxpreybodysize    = Float
 +
| trainability      = String    <!-- or Page? -->
 
| packanimal        = Boolean
 
| packanimal        = Boolean
 
| carryingcapacity  = Integer
 
| carryingcapacity  = Integer
| trainability      = String    <!-- or Page? -->
+
| train_haul        = Boolean
 
| train_obedience    = Boolean
 
| train_obedience    = Boolean
 
| train_release      = Boolean
 
| train_release      = Boolean
 
| train_rescue      = Boolean
 
| train_rescue      = Boolean
| train_haul        = Boolean
 
 
| wildness          = Float
 
| wildness          = Float
 
<!--  Product  -->
 
<!--  Product  -->
 
| egg_amountlow      = Integer
 
| egg_amountlow      = Integer
 
| egg_amounthigh    = Integer
 
| egg_amounthigh    = Integer
| egg_type          = String
+
| egg_type          = Integer
 
| egg_time          = Integer
 
| egg_time          = Integer
 
| leather_amount    = Integer
 
| leather_amount    = Integer
Line 79: Line 74:
 
</noinclude><!--
 
</noinclude><!--
  
--><includeonly><!-- Cargo store section  --><!-- disable namespacecheck for now
+
--><includeonly><!-- Cargo store section  --><!--
{{#ifeq: {{NAMESPACENUMBER}} | 0 | -->
+
--><!--{{#ifeq: {{NAMESPACENUMBER}} | 0 |-->
{{#cargo_store:_table = Pawn
+
{{#cargo_store:_table = Animal
 
| name              = {{{name|}}}
 
| name              = {{{name|}}}
 
| image              = {{{image|}}}
 
| image              = {{{image|}}}
Line 96: Line 91:
 
| diet              = {{{diet|}}}
 
| diet              = {{{diet|}}}
 
| flammability      = {{{flammability|}}}
 
| flammability      = {{{flammability|}}}
| has_gender        = {{#if: {{{has_gender|}}} | {{{has_gender}}} | yes}}
+
| has_gender        = {{{has_gender|}}}
 
| marketvalue        = {{{marketvalue|}}}
 
| marketvalue        = {{{marketvalue|}}}
 
| movespeed          = {{{movespeed|}}}
 
| movespeed          = {{{movespeed|}}}
| herdanimal        = {{#if: {{{herdanimal|}}} | {{{herdanimal}}} | no}}
 
| herdsize_min      = {{{herdsize_min|}}}
 
| herdsize_max      = {{{herdsize_max|}}}
 
| psychicsensitivity = {{#if: {{{psychicsensitivity|}}} | {{{psychicsensitivity}}} | yes}}
 
| toxicsensitivity  = {{#if: {{{toxicsensitivity|}}} | {{{toxicsensitivity}}} | yes}}
 
 
<!--  Combat  -->
 
<!--  Combat  -->
 
| armorrating_blunt  = {{{armorrating_blunt|}}}
 
| armorrating_blunt  = {{{armorrating_blunt|}}}
Line 112: Line 102:
 
| life_expectancy    = {{{life_expectancy|}}}
 
| life_expectancy    = {{{life_expectancy|}}}
 
| mass_adult        = {{{mass_adult|}}}
 
| mass_adult        = {{{mass_adult|}}}
| mass_juvenile      = {{#vardefineecho: mass_juvenile | {{#if: {{{mass_juvenile|}}} | {{{mass_juvenile}}} |  
+
| mass_baby          = {{#vardefine: mass_baby | {{#if: {{{mass_baby|}}} | {{{mass_baby}}} |  
     {{#if: {{{mass_adult|}}} | {{#expr: {{formatnum: {{{mass_adult}}}|R}}/2}} }} }} }}
+
     {{#if: {{{mass_adult|}}} | {{#expr: {{formatnum: {{{mass_adult}}}|R}}/5}} }} }} }} {{#var:mass_baby}}
| mass_baby          = {{#vardefineecho: mass_baby | {{#if: {{{mass_baby|}}} | {{{mass_baby}}} |  
+
| mass_juvenile      = {{#vardefine: mass_juvenile | {{#if: {{{mass_juvenile|}}} | {{{mass_juvenile}}} |  
     {{#if: {{{mass_adult|}}} | {{#expr: {{formatnum: {{{mass_adult}}}|R}}/5}} }} }} }}
+
     {{#if: {{{mass_adult|}}} | {{#expr: {{formatnum: {{{mass_adult}}}|R}}/2}} }} }} }} {{#var:mass_juvenile}}
 +
| maturity_age      = {{{maturity_age|}}}
 
| minage_adult      = {{{minage_adult|}}}
 
| minage_adult      = {{{minage_adult|}}}
 +
| minage_baby        = {{{minage_baby|}}}
 
| minage_juvenile    = {{{minage_juvenile|}}}
 
| minage_juvenile    = {{{minage_juvenile|}}}
| minage_baby        = {{{minage_baby|}}}
 
 
| gestation_period  = {{{gestation_period|}}}
 
| gestation_period  = {{{gestation_period|}}}
 
| offspring_low      = {{{offspring_low|}}}
 
| offspring_low      = {{{offspring_low|}}}
Line 127: Line 118:
 
| manhunter_tamefail = {{{manhunter_tamefail|}}}
 
| manhunter_tamefail = {{{manhunter_tamefail|}}}
 
| nameontamechance  = {{{nameontamechance|}}}
 
| nameontamechance  = {{{nameontamechance|}}}
| nameonnuzzlechance = {{{nameonnuzzlechance|}}}
 
 
| nuzzlehours        = {{{nuzzlehours|}}}
 
| nuzzlehours        = {{{nuzzlehours|}}}
 
| petness            = {{{petness|}}}
 
| petness            = {{{petness|}}}
Line 134: Line 124:
 
| trainability      = {{{trainability|}}}
 
| trainability      = {{{trainability|}}}
 
| packanimal        = {{{packanimal|}}}
 
| packanimal        = {{{packanimal|}}}
| carryingcapacity  = {{#vardefineecho: carryingcapacity | {{#if: {{{basebodysize|}}} | {{#expr: 75 * {{{basebodysize|}}} round0}} }} }}
+
| carryingcapacity  = {{{carryingcapacity|}}}
| train_obedience    = {{#vardefineecho: train_obedience | {{#ifeq: {{{trainability|}}}|none|no|yes}} }}
+
| train_obedience    = {{{train_obedience|}}}
| train_release      = {{#vardefineecho: train_release | {{#switch: {{{trainability|}}}
+
| train_release      = {{{train_release|}}}
    |none|simple = no
+
| train_rescue      = {{{train_rescue|}}}
    |intermediate|advanced = yes }} }}
+
| train_haul        = {{{train_haul|}}}
| train_rescue      = {{#vardefineecho: train_rescue | {{#switch: {{{trainability|}}}
 
    |none|simple|intermediate = no
 
    |advanced = {{#ifexpr: {{{basebodysize}}} >= 0.65 |yes|no}} }} }}
 
| train_haul        = {{#vardefineecho: train_haul | {{#switch: {{{trainability|}}}
 
    |none|simple|intermediate = no
 
    |advanced = {{#ifexpr: {{{basebodysize}}} >= 0.40 |yes|no}} }} }}
 
 
| wildness          = {{{wildness|}}}
 
| wildness          = {{{wildness|}}}
 
<!--  Product  -->
 
<!--  Product  -->
Line 165: Line 149:
 
| tradetags          = {{{tradetags|}}}
 
| tradetags          = {{{tradetags|}}}
 
<!--| butcherproducts?? (mechs) = List (,) of String -->
 
<!--| butcherproducts?? (mechs) = List (,) of String -->
}}<!-- }}don't forget me! --><!--
+
}}<!-- }} --><!--
 
     ===  #vardefine to use variables outside the infobox  ===
 
     ===  #vardefine to use variables outside the infobox  ===
 
      
 
      
 
-->{{#vardefine:description_markup|{{{description_markup}}} }}<!--
 
-->{{#vardefine:description_markup|{{{description_markup}}} }}<!--
 
-->{| class="infoboxtable"
 
-->{| class="infoboxtable"
! colspan="2" class="infoboxname" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
+
! colspan="2" class="infoboxname1" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
|-
 
|{{#if: {{{type|}}} | {{!}} <div style="text-align: center;">'''[[{{{type|}}}]]'''</div>}}
 
|{{#if: {{{subtype|}}} | {{!}} <div style="text-align: center;">'''[[{{{subtype|}}}]]'''</div>}}  
 
 
|-
 
|-
 
! colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | [[File:Questionmark black.png|link=]]{{#ifeq: {{NAMESPACE}} | 0 | [[Category:Image wanted]]}} }}  
 
! colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | [[File:Questionmark black.png|link=]]{{#ifeq: {{NAMESPACE}} | 0 | [[Category:Image wanted]]}} }}  
Line 179: Line 160:
 
| colspan="2" | {{#if: {{{description|}}} | ''{{{description}}}'' }}
 
| colspan="2" | {{#if: {{{description|}}} | ''{{{description}}}'' }}
 
|-
 
|-
{{#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|}}}
| {{!}} colspan="2" class="infoboxdescription" {{!}} 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: {{{movespeed|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeed}}} cells/sec}}
+
{{#if: {{{basebodysize|}}} | {{!}} <div>Body size</div> {{!!}} {{{basebodysize}}} }}
 +
|-
 +
{{#if: {{{basehealthscale|}}} | {{!}} <div>Health scale</div> {{!!}} {{{basehealthscale}}} }}
 +
|-
 +
{{#if: {{{basehungerrate|}}} | {{!}} <div>Hunger rate</div> {{!!}} {{{basehungerrate}}} }}
 
|-
 
|-
 
{{#if: {{{comfytemp_min|}}} {{{comfytemp_max|}}} | {{!}} <div>Temperature</div> {{!!}} {{{comfytemp_min}}}&deg;C to {{{comfytemp_max}}}&deg;C }}<!-- need more elaborate if-->
 
{{#if: {{{comfytemp_min|}}} {{{comfytemp_max|}}} | {{!}} <div>Temperature</div> {{!!}} {{{comfytemp_min}}}&deg;C to {{{comfytemp_max}}}&deg;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: {{{basehealthscale|}}} | {{!}} <div>Health scale</div> {{!!}} {{{basehealthscale}}} }}
 
 
|-
 
|-
 
{{#if: {{{flammability|}}} | {{!}} <div>Flammability</div> {{!!}} {{{flammability}}} }}
 
{{#if: {{{flammability|}}} | {{!}} <div>Flammability</div> {{!!}} {{{flammability}}} }}
|-
 
{{#if: {{{basehungerrate|}}} | {{!}} <div>Hunger rate</div> {{!!}} {{{basehungerrate}}} }}
 
 
|-
 
|-
 
{{#ifeq: {{{has_gender|}}} | no | {{!}} <div>Has gender</div> {{!!}} [[File:Checkoff.png|20px]] }}
 
{{#ifeq: {{{has_gender|}}} | no | {{!}} <div>Has gender</div> {{!!}} [[File:Checkoff.png|20px]] }}
 
|-
 
|-
{{#ifeq: {{{herdanimal|}}} | yes | {{!}} <div>Herd animal</div> {{!!}} [[File:Checkon.png|20px]] }}
+
{{#if: {{{marketvalue|}}} | {{!}} <div>Market value</div> {{!!}} {{formatnum:{{{marketvalue}}} }} [[File:silver_c.png|20px]] }}
 
|-
 
|-
{{#if: {{{herdsize_min|}}} {{{herdsize_max|}}} | {{!}} <div>Herd size</div> {{!!}} {{#ifexpr: {{{herdsize_max|}}} > {{{herdsize_min|}}} | {{{herdsize_min}}}-{{{herdsize_max|}}} animals | {{{herdsize_min|}}} animals }} }}
+
{{#if: {{{movespeed|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeed}}} cells/sec}}
|-
 
{{#ifeq: {{{psychicsensitivity|}}} | no | {{!}} <div>Psychic immunity</div> {{!!}} [[File:Checkon.png|20px]] }}
 
|-
 
{{#ifeq: {{{toxicsensitivity|}}} | no | {{!}} <div>Toxic immunity</div> {{!!}} [[File:Checkon.png|20px]] }}
 
 
|-
 
|-
 
{{#if: {{{combatpower|}}} {{{armorrating_blunt|}}} {{{armorrating_heat|}}} {{{armorrating_sharp|}}}
 
{{#if: {{{combatpower|}}} {{{armorrating_blunt|}}} {{{armorrating_heat|}}} {{{armorrating_sharp|}}}
| {{!}} colspan="2" class="infoboxdescription" {{!}} Combat }}
+
| {{!}} colspan="2" class="infoboxdescription1" {{!}} Combat }}
 
|-
 
|-
 
{{#if: {{{combatpower|}}} | {{!}} <div>Combat power</div> {{!!}} {{{combatpower}}} }}
 
{{#if: {{{combatpower|}}} | {{!}} <div>Combat power</div> {{!!}} {{{combatpower}}} }}
Line 223: Line 196:
 
{{#if: {{{armorrating_sharp|}}} | {{!}} <div>Armor sharp</div> {{!!}} {{{armorrating_sharp}}}% }}
 
{{#if: {{{armorrating_sharp|}}} | {{!}} <div>Armor sharp</div> {{!!}} {{{armorrating_sharp}}}% }}
 
|-
 
|-
{{#if: {{{life_expectancy|}}} {{{minage_baby|}}} {{{mass_baby|}}} {{{minage_juvenile|}}} {{{mass_juvenile|}}} {{{minage_adult|}}} {{{mass_adult|}}} {{{gestation_period|}}} {{{offspring_low|}}} {{{offspring_high|}}}
+
{{#if: {{{life_expectancy|}}} {{{minage_baby|}}} {{{mass_baby|}}} {{{minage_juvenile|}}} {{{mass_juvenile|}}} {{{minage_adult|}}} {{{mass_adult|}}} {{{maturity_age|}}} {{{gestation_period|}}} {{{offspring_low|}}} {{{offspring_high|}}}
| {{!}} colspan="2" class="infoboxdescription" {{!}} Life phases }}
+
| {{!}} colspan="2" class="infoboxdescription1" {{!}} Life phases }}
 
|-
 
|-
 
{{#if: {{{life_expectancy|}}} | {{!}} <div>Life expectancy</div> {{!!}} {{{life_expectancy}}} years }}
 
{{#if: {{{life_expectancy|}}} | {{!}} <div>Life expectancy</div> {{!!}} {{{life_expectancy}}} years }}
 
|-
 
|-
{{#if: {{{minage_adult|}}} | {{!}} <div>Adult</div> {{!!}} {{{minage_adult}}} years {{#if: {{{mass_adult|}}} | ({{{mass_adult}}} kg) }} |
+
{{#if: {{{minage_baby|}}} | {{!}} <div>Min age baby</div> {{!!}} {{{minage_baby}}} years }}
{{#if: {{{mass_adult|}}} | {{!}} <div>Mass adult</div> {{!!}} {{{mass_adult}}} kg }} }}
 
 
|-
 
|-
{{#if: {{{minage_juvenile|}}} | {{!}} <div>Juvenile</div> {{!!}} {{{minage_juvenile}}} years {{#if: {{#var:mass_juvenile}} | ({{#var:mass_juvenile}} kg) }} |
+
{{#if: {{#var:mass_baby}} | {{!}} <div>Mass baby</div> {{!!}} {{#var:mass_baby}} kg }}
{{#if: {{#var:mass_juvenile}} | {{!}} <div>Mass juvenile</div> {{!!}} {{#var:mass_juvenile}} kg }} }}
 
 
|-
 
|-
{{#if: {{{minage_baby|}}} | {{!}} <div>Baby</div> {{!!}} {{{minage_baby}}} years {{#if: {{#var:mass_baby}} | ({{#var:mass_baby}} kg) }} |  
+
{{#if: {{{minage_juvenile|}}} | {{!}} <div>Min age juvenile</div> {{!!}} {{{minage_juvenile}}} years }}
{{#if: {{#var:mass_baby}} | {{!}} <div>Mass baby</div> {{!!}} {{#var:mass_baby}} kg }} }}
+
|-
 +
{{#if: {{#var:mass_juvenile}} | {{!}} <div>Mass juvenile</div> {{!!}} {{#var:mass_juvenile}} kg }}
 +
|-
 +
{{#if: {{{minage_adult|}}} | {{!}} <div>Min age adult</div> {{!!}} {{{minage_adult}}} years }}
 +
|-
 +
{{#if: {{{mass_adult|}}} | {{!}} <div>Mass adult</div> {{!!}} {{{mass_adult}}} kg }}
 +
|-
 +
{{#if: {{{maturity_age|}}} | {{!}} <div>Maturity age</div> {{!!}} {{{maturity_age}}} years }}
 
|-
 
|-
 
{{#if: {{{gestation_period|}}} | {{!}} <div>Gestation</div> {{!!}} {{{gestation_period}}} days }}
 
{{#if: {{{gestation_period|}}} | {{!}} <div>Gestation</div> {{!!}} {{{gestation_period}}} days }}
Line 241: Line 219:
 
{{#if: {{{offspring_low|}}} {{{offspring_high|}}} | {{!}} <div>Offspring</div> {{!!}} {{#ifexpr: {{{offspring_high|}}} > {{{offspring_low|}}} | {{{offspring_low}}}-{{{offspring_high|}}} per litter | {{{offspring_low|}}} per litter }} }}<!-- hopefully that if will suffice -->
 
{{#if: {{{offspring_low|}}} {{{offspring_high|}}} | {{!}} <div>Offspring</div> {{!!}} {{#ifexpr: {{{offspring_high|}}} > {{{offspring_low|}}} | {{{offspring_low}}}-{{{offspring_high|}}} per litter | {{{offspring_low|}}} per litter }} }}<!-- hopefully that if will suffice -->
 
|-
 
|-
{{#if: {{{predator|}}} {{{maxpreybodysize|}}} {{{manhunter_damage|}}} {{{manhunter_tamefail|}}} {{{wildness|}}} {{{handleskill|}}} {{{trainability|}}} {{{train_obedience|}}} {{{train_haul|}}} {{{train_release|}}} {{{train_rescue|}}} {{{petness|}}} {{{nuzzlehours|}}} {{{nameonnuzzlechance|}}} {{{nameontamechance|}}}
+
{{#if: {{{predator|}}} {{{maxpreybodysize|}}} {{{manhunter_damage|}}} {{{manhunter_tamefail|}}} {{{wildness|}}} {{{handleskill|}}} {{{trainability|}}} {{{train_obedience|}}} {{{train_haul|}}} {{{train_release|}}} {{{train_rescue|}}} {{{petness|}}} {{{nuzzlehours|}}} {{{nameontamechance|}}}
| {{!}} colspan="2" class="infoboxdescription" {{!}} Hunting and taming }}
+
| {{!}} colspan="2" class="infoboxdescription1" {{!}} Hunting and taming }}
 
|-
 
|-
 
{{#if: {{{predator|}}} | {{!}} <div>Predator</div> {{!!}} {{#ifeq: {{{predator|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
 
{{#if: {{{predator|}}} | {{!}} <div>Predator</div> {{!!}} {{#ifeq: {{{predator|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
 
|-
 
|-
{{#if: {{{maxpreybodysize|}}} | {{!}} <div>Prey body size</div> {{!!}} Maximum {{{maxpreybodysize}}} }}
+
{{#if: {{{maxpreybodysize|}}} | {{!}} <div>Max prey body size</div> {{!!}} {{{maxpreybodysize}}} }}
 
|-
 
|-
{{#if: {{{manhunter_damage|}}} {{{manhunter_tamefail|}}} | {{!}} <div>Manhunter chance</div> {{!!}} {{#if: {{{manhunter_damage|}}} |
+
{{#if: {{{manhunter_damage|}}} {{{manhunter_tamefail|}}} | {{!}} <div>Manhunter chance</div> {{!!}} {{#if: {{{manhunter_damage|}}} |  
  {{#ifeq: {{{manhunter_damage|}}} | 0 |
+
* {{#expr: {{{manhunter_damage}}}*100}}% on damage }} {{#if: {{{manhunter_tamefail|}}} |  
* Never on damage |  
+
* {{#expr: {{{manhunter_tamefail}}}*100}}% on tame failure }} }}
* {{#expr: {{{manhunter_damage}}}*100}}% on damage }} }} {{#if: {{{manhunter_tamefail|}}} | {{#ifeq: {{{manhunter_tamefail|}}} | 0 |
 
* Never on tame failure |  
 
* {{#expr: {{{manhunter_tamefail}}}*100}}% on tame failure }} }} }}
 
 
|-
 
|-
 
{{#if: {{{wildness|}}} | {{!}} <div>Wildness</div> {{!!}} {{#expr:{{{wildness}}}*100}}% }}
 
{{#if: {{{wildness|}}} | {{!}} <div>Wildness</div> {{!!}} {{#expr:{{{wildness}}}*100}}% }}
 
|-
 
|-
{{#if: {{{packanimal|}}} | {{!}} <div>Pack animal</div> {{!!}} {{#ifeq: {{{packanimal|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
+
{{#if: {{{handleskill|}}} | {{!}} <div>Min. handling</div> {{!!}} {{{handleskill}}} animals skill}}
 
|-
 
|-
{{#if: {{#var:carryingcapacity}} | {{!}} <div>Carry capacity</div> {{!!}} {{#var:carryingcapacity}} kg }}
+
{{#if: {{{trainability|}}} | {{!}} <div>Trainability</div> {{!!}} {{ucfirst:{{lc:{{{trainability}}} }} }} }}
 
|-
 
|-
{{#if: {{{handleskill|}}} | {{!}} <div>Handling skill</div> {{!!}} {{{handleskill}}} animals skill}}
+
{{#if: {{{packanimal|}}} | {{!}} <div>Pack animal</div> {{!!}} {{#ifeq: {{{packanimal|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
 
|-
 
|-
{{#if: {{{trainability|}}} | {{!}} <div>Trainability</div> {{!!}} {{ucfirst:{{lc:{{{trainability}}} }} }} }}
+
{{#if: {{{carryingcapacity|}}} | {{!}} <div>Carry capacity</div> {{!!}} {{{carryingcapacity}}} kg }}
 +
|-<!--
 +
{{#if: {{#var:carryingcapacity}} | {{!}} <div>Carry capacity test</div> {{!!}} {{#var:carryingcapacity}} kg }}
 +
|--->
 +
{{#if: {{{train_obedience|}}} | {{!}} <div>Train obedience</div> {{!!}} {{#ifeq: {{{train_obedience|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
 
|-
 
|-
{{#if: {{#var: train_obedience}} | {{!}} <div>Train obedience</div> {{!!}} {{#ifeq: {{#var: train_obedience|}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
+
{{#if: {{{train_release|}}} | {{!}} <div>Train release</div> {{!!}} {{#ifeq: {{{train_release|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
 
|-
 
|-
{{#if: {{#var: train_release}} | {{!}} <div>Train release</div> {{!!}} {{#ifeq: {{#var: train_release|}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
+
{{#if: {{{train_rescue|}}} | {{!}} <div>Train rescue</div> {{!!}} {{#ifeq: {{{train_rescue|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
 
|-
 
|-
{{#if: {{#var: train_rescue}} | {{!}} <div>Train rescue</div> {{!!}} {{#ifeq: {{#var: train_rescue|}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
+
{{#if: {{{train_haul|}}} | {{!}} <div>Train haul</div> {{!!}} {{#ifeq: {{{train_haul|}}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
 
|-
 
|-
{{#if: {{#var: train_haul}} | {{!}} <div>Train haul</div> {{!!}} {{#ifeq: {{#var: train_haul|}} | yes | [[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }}
+
{{#if: {{{petness|}}} | {{!}} <div>Petness</div> {{!!}} {{{petness}}} }}
 
|-
 
|-
{{#if: {{{petness|}}} | {{!}} <div>Petness</div> {{!!}} {{#expr:{{{petness}}}*100}}% }}
+
{{#if: {{{nuzzlehours|}}} | {{!}} <div>Nuzzle interval</div> {{!!}} Every {{{nuzzlehours}}} hours }}
 
|-
 
|-
 
{{#if: {{{nameontamechance|}}} | {{!}} <div>Name on tame</div> {{!!}} {{#expr: {{{nameontamechance}}}*100}}% chance }}
 
{{#if: {{{nameontamechance|}}} | {{!}} <div>Name on tame</div> {{!!}} {{#expr: {{{nameontamechance}}}*100}}% chance }}
|-
 
{{#if: {{{nameonnuzzlechance|}}} | {{!}} <div>Name on nuzzle</div> {{!!}} {{#expr: {{{nameonnuzzlechance}}}*100}}% chance }}
 
|-
 
{{#if: {{{nuzzlehours|}}} | {{!}} <div>Nuzzle interval</div> {{!!}} Every {{{nuzzlehours}}} hours }}
 
 
|-
 
|-
 
{{#if: {{{leather_amount|}}} {{{leather_type|}}} {{{meat_amount|}}} {{{meat_type|}}} {{{wool_amount|}}} {{{wool_type|}}} {{{shear_time|}}} {{{milk_amount|}}} {{{milk_time|}}} {{{egg_amountlow|}}} {{{egg_amounthigh|}}} {{{egg_type|}}} {{{egg_time|}}}
 
{{#if: {{{leather_amount|}}} {{{leather_type|}}} {{{meat_amount|}}} {{{meat_type|}}} {{{wool_amount|}}} {{{wool_type|}}} {{{shear_time|}}} {{{milk_amount|}}} {{{milk_time|}}} {{{egg_amountlow|}}} {{{egg_amounthigh|}}} {{{egg_type|}}} {{{egg_time|}}}
| {{!}} colspan="2" class="infoboxdescription" {{!}} Products }}
+
| {{!}} colspan="2" class="infoboxdescription1" {{!}} Products }}
 
|-
 
|-
 
{{#if: {{{leather_amount|}}} {{{leather_type|}}} | {{!}} <div>Leather</div> {{!!}} {{#if: {{{leather_amount|}}} | {{{leather_amount}}} }} {{#if: {{{leather_type|}}} | [[{{{leather_type}}}]] }} }}<!-- should be an icon? -->
 
{{#if: {{{leather_amount|}}} {{{leather_type|}}} | {{!}} <div>Leather</div> {{!!}} {{#if: {{{leather_amount|}}} | {{{leather_amount}}} }} {{#if: {{{leather_type|}}} | [[{{{leather_type}}}]] }} }}<!-- should be an icon? -->
Line 296: Line 271:
 
|-
 
|-
 
{{#if: {{{ecosystemweight|}}} {{{recipes_operation|}}} {{{tradetags|}}}
 
{{#if: {{{ecosystemweight|}}} {{{recipes_operation|}}} {{{tradetags|}}}
| {{!}} colspan="2" class="infoboxdescription" {{!}} Other }}
+
| {{!}} colspan="2" class="infoboxdescription1" {{!}} Other }}
 
|-
 
|-
 
{{#if: {{{ecosystemweight|}}} | {{!}} <div>Eco-system weight</div> {{!!}} {{{ecosystemweight}}} }}
 
{{#if: {{{ecosystemweight|}}} | {{!}} <div>Eco-system weight</div> {{!!}} {{{ecosystemweight}}} }}
Line 312: Line 287:
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 +
[[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)