Editing Template:Animals/Row

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:
 
<includeonly>
 
<includeonly>
 
<!-- Offspring per year calculation -->
 
<!-- Offspring per year calculation -->
{{#if:{{#vardefineecho:gestation|{{#show:{{{?Name}}}|?Egg Laying Interval }}}}
+
{{#if:{{#vardefineecho:gestation|{{#show:{{{?Name|{{{1}}}}}}|?Egg Laying Interval }}}}
 
   |  
 
   |  
   | {{#vardefine:gestation|{{#show:{{{?Name}}}|?Gestation Period Days}}
+
   | {{#vardefine:gestation|{{#show:{{{?Name|{{{1}}}}}}|?Gestation Period Days}}
 
   }}
 
   }}
 
}}
 
}}
{{#if:{{#vardefineecho:litter_size|{{#show:{{{?Name}}}|?Eggs Per Clutch Average}}}}
+
{{#if:{{#vardefineecho:litter_size|{{#show:{{{?Name|{{{1}}}}}}|?Eggs Per Clutch Average}}}}
 
   |  
 
   |  
   | {{#if:{{#vardefineecho:litter_size|{{#show:{{{?Name}}}|?Average Offspring Per Birth}}}}
+
   | {{#if:{{#vardefineecho:litter_size|{{#show:{{{?Name|{{{1}}}}}}|?Average Offspring Per Birth}}}}
 
     |  
 
     |  
 
     | {{#if:{{#var:gestation}}|{{#vardefine:litter_size|1}}}}
 
     | {{#if:{{#var:gestation}}|{{#vardefine:litter_size|1}}}}
Line 16: Line 16:
 
{{#vardefine:females|4}}{{#vardefine:males|1}}
 
{{#vardefine:females|4}}{{#vardefine:males|1}}
 
{{#vardefine:milk_nutrition_production
 
{{#vardefine:milk_nutrition_production
  | {{#if: {{#show: {{{?Name}}}|?Milk Amount#}}
+
  | {{#if: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Milk Amount#}}
     | {{#expr:{{#var:females}}*{{#show: {{{?Name}}}|?Milk Amount#}}/{{#show: {{{?Name}}}|?Milking Interval Days#}}*0.05}}
+
     | {{#expr:{{#var:females}}*{{#show: {{{?Name|{{{1|Horse}}} }}}|?Milk Amount#}}/{{#show: {{{?Name|{{{1|Horse}}} }}}|?Milking Interval Days#}}*0.05}}
 
     | 0
 
     | 0
 
   }}
 
   }}
 
}}
 
}}
 
{{#vardefine:baby_slaughter_production
 
{{#vardefine:baby_slaughter_production
  | {{#expr:{{Meat Production| {{{?Name}}} | Baby | {{#var:females}} | {{#var:males}}}} + {{#var:milk_nutrition_production}}}}
+
  | {{#expr:{{Meat Production| {{{?Name|{{{1|Horse}}} }}} | Baby | {{#var:females}} | {{#var:males}}}} + {{#var:milk_nutrition_production}}}}
 
}}{{#vardefine:baby_slaughter_consumption
 
}}{{#vardefine:baby_slaughter_consumption
  | {{Nutrition Consumption| {{{?Name}}} | Baby | {{#var:females}} | {{#var:males}}}}
+
  | {{Nutrition Consumption| {{{?Name|{{{1|Horse}}} }}} | Baby | {{#var:females}} | {{#var:males}}}}
 
}}
 
}}
 
{{#vardefine:adult_slaughter_production
 
{{#vardefine:adult_slaughter_production
  | {{#expr:{{Meat Production| {{{?Name}}} | Adult | {{#var:females}} | {{#var:males}}}} + {{#var:milk_nutrition_production}}}}
+
  | {{#expr:{{Meat Production| {{{?Name|{{{1|Horse}}} }}} | Adult | {{#var:females}} | {{#var:males}}}} + {{#var:milk_nutrition_production}}}}
 
}}
 
}}
 
{{#vardefine:adult_slaughter_consumption
 
{{#vardefine:adult_slaughter_consumption
  | {{Nutrition Consumption| {{{?Name}}} | Adult | {{#var:females}} | {{#var:males}}}}
+
  | {{Nutrition Consumption| {{{?Name|{{{1|Horse}}} }}} | Adult | {{#var:females}} | {{#var:males}}}}
 
}}
 
}}
 
<!-- Actual row -->
 
<!-- Actual row -->
! {{Icon Small|{{{?Name}}}|32}}
+
![[{{{?Name|{{{1|Horse}}} }}}]]<br>[[{{#show:{{{?Name|{{{1|Horse}}} }}}|?Image#}}|32px]]
! style="text-align:left" | {{DLC Icons|{{{?Name}}} }}
+
| {{#show: {{{?Name|{{{1|Horse}}} }}}|?Minimum Handling Skill#}}
| {{#show: {{{?Name}}}|?Minimum Handling Skill#}}
+
| {{#switch: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Can Train Guard#}}  | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
| {{#switch: {{#show: {{{?Name}}}|?Can Train Guard#}}  | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
| {{#switch: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Can Train Attack#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
| {{#switch: {{#show: {{{?Name}}}|?Can Train Attack#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
| {{#switch: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Can Train Rescue#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
| {{#switch: {{#show: {{{?Name}}}|?Can Train Rescue#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
| {{#switch: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Can Train Haul#}}  | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
| {{#switch: {{#show: {{{?Name}}}|?Can Train Haul#}}  | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
| {{#switch: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Diet#}}
| {{#switch: {{#show: {{{?Name}}}|?Diet#}}
+
   | herbivorous =                   [[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]&nbsp;[[File:Potato plant.png|24px|Plants|link=]]
   | herbivorous =                 [[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]&nbsp;[[File:Potato plant.png|24px|Plants|link=]]
+
   | dendrovorous =                   [[File:Woodlog b.png|24px|Trees|link=Trees]]
   | dendrovorous =               [[File:Woodlog b.png|24px|Trees|link=Trees]]
+
   | raw meat and corpses =           [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:DownedRefugee.png|24px|Corpses|link=Corpse]]
   | raw meat and corpses =       [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:DownedRefugee.png|24px|Corpses|link=Corpse]]
+
   | carnivorous =                   [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]
   | carnivorous =                 [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]
+
   | omnivorous =                     [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
   | omnivorous =                 [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
+
   | omnivorous grazer =             [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Potato plant.png|24px|Plants|link=]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
   | omnivorous grazer =           [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Potato plant.png|24px|Plants|link=]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
+
   | herbivorous and dendrovorous =  [[File:Potato plant.png|22px|Plants|link=]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]&nbsp;[[File:Wood.png|24px|Trees|link=Trees]]
   | herbivorous, dendrovorous =  [[File:Potato plant.png|22px|Plants|link=]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]&nbsp;[[File:Wood.png|24px|Trees|link=Trees]]
+
   | carnivorous and ovivorous =      [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Egg fertilized.png|28px|Eggs|link=Eggs]]
   | carnivorous, ovivorous =      [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Egg fertilized.png|28px|Eggs|link=Eggs]]
+
   | omnivorous and animal products = [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Milk.png|Animal products|24px|link=Category:Animal Products]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
   | omnivorous, animal products = [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Milk.png|Animal products|24px|link=Category:Animal Products]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
+
   | omnivorous and ovivorous =      [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Egg fertilized.png|28px|Eggs|link=Eggs]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
   | omnivorous, ovivorous =      [[File:Meat big a.png|30px|Meat|link=Meat (disambiguation)]]&nbsp;[[File:Egg fertilized.png|28px|Eggs|link=Eggs]]&nbsp;[[File:Potatoes.png|24px|Vegetables|link=Category:Vegetarian]]
 
 
   | none = -
 
   | none = -
 
}}
 
}}
| {{#if:{{#show: {{{?Name}}}|?Roam Mtb Days}}|[[File:check.png|24px|link=]]|[[File:ex.png|24px|link=]]}}
+
| {{#if:{{#show: {{{?Name|{{{1|Horse}}} }}}|?Roam Mtb Days}}|[[File:check.png|24px|link=]]|[[File:ex.png|24px|link=]]}}
| {{Q|{{{?Name}}}|Real Hunger Rate|-}}
+
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Real Hunger Rate|-}}
 
| {{#if:{{#var:gestation}}|{{#expr: {{#var:litter_size}}/{{#var:gestation}}*60 round 1}}|-}}
 
| {{#if:{{#var:gestation}}|{{#expr: {{#var:litter_size}}/{{#var:gestation}}*60 round 1}}|-}}
| {{Q|{{{?Name}}}|Meat Yield|-}}
+
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Meat Yield|-}}
| {{Q|{{{?Name}}}|Leather Yield|-}}
+
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Leather Yield|-}}
| {{#show: {{{?Name}}}|?Mob Average DPS#}}
+
| {{#show: {{{?Name|{{{1|Horse}}} }}}|?Mob Average DPS#}}
| {{#show: {{{?Name}}}|?Move Speed Base#}}
+
| {{#show: {{{?Name|{{{1|Horse}}} }}}|?Move Speed Base#}}
| {{#show: {{{?Name}}}|?Health Scale#}}
+
| {{#show: {{{?Name|{{{1|Horse}}} }}}|?Health Scale#}}
| {{#expr: {{#show: {{{?Name}}}|?Turn Manhunter Chance When Attacked#}} *100}}%
+
| {{#expr: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Turn Manhunter Chance When Attacked#}} *100}}%
| {{#if:{{#vardefineecho:tame_manhunt|{{#show: {{{?Name}}}|?Turn Manhunter Chance When Taming#}}}}|{{#expr:{{#var:tame_manhunt}}*100}}%|-}}
+
| {{#if:{{#vardefineecho:tame_manhunt|{{#show: {{{?Name|{{{1|Horse}}} }}}|?Turn Manhunter Chance When Taming#}}}}|{{#expr:{{#var:tame_manhunt}}*100}}%|-}}
 
| {{#iferror: {{#expr:{{#var:baby_slaughter_production}}/{{#var:baby_slaughter_consumption}} round 2}} | -}}  
 
| {{#iferror: {{#expr:{{#var:baby_slaughter_production}}/{{#var:baby_slaughter_consumption}} round 2}} | -}}  
 
| {{#iferror: {{#expr:{{#var:adult_slaughter_production}}/{{#var:adult_slaughter_consumption}} round 2}} | -}}
 
| {{#iferror: {{#expr:{{#var:adult_slaughter_production}}/{{#var:adult_slaughter_consumption}} round 2}} | -}}
 
|-
 
|-
 
</includeonly><noinclude>{{Documentation}}</noinclude>
 
</includeonly><noinclude>{{Documentation}}</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)