Difference between revisions of "Template:Animal Rearing Row"

From RimWorld Wiki
Jump to navigation Jump to search
(added produce and column explanations)
(improved formatting)
Line 2: Line 2:
 
Example:
 
Example:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Animal !! Diet !! Produces !! <abbr title="Units of nutrition for milk">Produce per day</abbr> !! <abbr title="Units of nutrition of meat produced per female per day when babies are slaughtered">Meat per day (baby slaughter)</abbr> !! <abbr title="Units of nutrition consumed by a single adult per day">Consumption per day (baby slaughter)</abbr> !! Overall efficiency (baby slaughter) !! <abbr title="Units of nutrition of meat produced per female per day when adults are slaughtered">Meat per day (adult slaughter)</abbr> !! <abbr title="Units of nutrition consumed per female per day, including the offspring's consumption up to adulthood>Consumption per day (adult slaughter)</abbr> !! Overall efficiency (adult slaughter)
+
|-
 +
! rowspan=2 | Animal
 +
! rowspan=2 | Diet
 +
! rowspan=2 | Produces
 +
! rowspan=2 | <abbr title="Units of nutrition for milk">Produce per day</abbr>
 +
! colspan=3 | Baby Slaughter
 +
! colspan=3 | Adult Slaughter
 +
|-
 +
! <abbr title="Units of nutrition of meat produced per female per day when babies are slaughtered">Meat Per Day</abbr>
 +
! <abbr title="Units of nutrition consumed by a single adult per day">Consumption Per Day</abbr>
 +
! <abbr title="(Milk + Meat)/Consumption">Overall Efficiency</abbr>
 +
! <abbr title="Units of nutrition of meat produced per female per day when adults are slaughtered">Meat Per Day</abbr>
 +
! <abbr title="Units of nutrition consumed per female per day, including the offspring's consumption up to adulthood>Consumption Per Day</abbr>
 +
! <abbr title="(Milk + Meat)/Consumption">Overall Efficiency</abbr>
 
|-{{Animal Rearing Row|Cow}}
 
|-{{Animal Rearing Row|Cow}}
 
|-{{Animal Rearing Row|Muffalo}}
 
|-{{Animal Rearing Row|Muffalo}}
Line 8: Line 21:
 
|-{{Animal Rearing Row|Husky}}
 
|-{{Animal Rearing Row|Husky}}
 
|}</noinclude><includeonly>
 
|}</noinclude><includeonly>
! [[{{{1}}}]]
+
|[[{{{1}}}]]
! {{#show: {{{1}}}|?Diet}}
+
| {{#show: {{{1}}}|?Diet}}
! {{#if:{{#show:{{{1}}}|?Wool Name}}|{{#show: {{{1}}}|?Wool Name}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average}}|[[Milk]]}}}}
+
| {{#if:{{#show:{{{1}}}|?Wool Name}}|{{#show: {{{1}}}|?Wool Name}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average}}|[[Milk]]}}}}
! {{#if:{{#show:{{{1}}}|?Daily Wool Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Wool Average#}}}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}}}}}
+
| {{#if:{{#show:{{{1}}}|?Daily Wool Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Wool Average#}}}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}}}}}
! {{#expr:{{Meat Production|{{{1}}}|Baby}} round 3}}
+
| {{#expr:{{Meat Production|{{{1}}}|Baby}} round 2}}
! {{#expr:{{Nutrition Consumption|{{{1}}}|Baby}} round 3}}
+
| {{#expr:{{Nutrition Consumption|{{{1}}}|Baby}} round 2}}
! {{#expr:({{Meat Production|{{{1}}}|Baby}} + {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Baby}} round 3}}
+
| {{#expr:({{Meat Production|{{{1}}}|Baby}} + {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Baby}} round 3}}
! {{#expr:{{Meat Production|{{{1}}}|Adult}} round 3}}
+
| {{#expr:{{Meat Production|{{{1}}}|Adult}} round 2}}
! {{#expr:{{Nutrition Consumption|{{{1}}}|Adult}} round 3}}
+
| {{#expr:{{Nutrition Consumption|{{{1}}}|Adult}} round 2}}
! {{#expr:({{Meat Production|{{{1}}}|Adult}} + {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Adult}} round 3}}
+
| {{#expr:({{Meat Production|{{{1}}}|Adult}} + {{#if:{{#show:{{{1}}}|?Daily Milk Average#}}|{{#expr:{{#show:{{{1}}}|?Daily Milk Average#}}*0.05}}|0}})/{{Nutrition Consumption|{{{1}}}|Adult}} round 3}}
 
</includeonly>
 
</includeonly>

Revision as of 19:23, 22 September 2021

Usage: {{Animal Rearing Row|*name*}} Example:

Animal Diet Produces Produce per day Baby Slaughter Adult Slaughter
Meat Per Day Consumption Per Day Overall Efficiency Meat Per Day Consumption Per Day Overall Efficiency
Cow herbivorous Milk 0.7 0.5 0.86 1.405 2.52 2.24 1.436
Muffalo herbivorous Muffalo wool 8 0.5 0.86 0.588 2.52 2.11 1.196
Chicken herbivorous 0.6 0.22 2.679 2.1 1.68 1.253
Husky omnivorous, ovivorous 0.24 0.8 0.301 1.03 3.17 0.325