Difference between revisions of "Template:Animal Rearing Row"

From RimWorld Wiki
Jump to navigation Jump to search
(created row template (WIP))
 
(added produce and column explanations)
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>  !! Meat per day (baby slaughter) !! Consumption per day (baby slaughter) !! Overall efficiency (baby slaughter) !! Meat per day (adult slaughter) !! Consumption per day (adult slaughter) !! Overall efficiency (adult slaughter)
+
! 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)
 
|-{{Animal Rearing Row|Cow}}
 
|-{{Animal Rearing Row|Cow}}
 +
|-{{Animal Rearing Row|Muffalo}}
 +
|-{{Animal Rearing Row|Chicken}}
 +
|-{{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}}}|?Wool Name}}|{{#show: {{{1}}}|?Wool Name}} | {{#if:{{#show:{{{1}}}|?Daily Milk Average}}|[[Milk]]}}}}
  | {{#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}}}}}}
}}
 
!
 
 
! {{#expr:{{Meat Production|{{{1}}}|Baby}} round 3}}
 
! {{#expr:{{Meat Production|{{{1}}}|Baby}} round 3}}
 
! {{#expr:{{Nutrition Consumption|{{{1}}}|Baby}} round 3}}
 
! {{#expr:{{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 3}}
 
! {{#expr:{{Nutrition Consumption|{{{1}}}|Adult}} round 3}}
 
! {{#expr:{{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 18:51, 22 September 2021

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

Animal Diet Produces Produce per day Meat per day (baby slaughter) Consumption per day (baby slaughter) Overall efficiency (baby slaughter) Meat per day (adult slaughter) Consumption per day (adult slaughter) Overall efficiency (adult slaughter)
Cow herbivorous Milk 0.7 0.503 0.856 1.405 2.523 2.244 1.436
Muffalo herbivorous Muffalo wool 8 0.503 0.856 0.588 2.523 2.109 1.196
Chicken herbivorous 0.6 0.224 2.679 2.1 1.676 1.253
Husky omnivorous, ovivorous 0.241 0.8 0.301 1.033 3.175 0.325