Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 66: Line 66:
 
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Gestation Period Days#|-}}
 
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Gestation Period Days#|-}}
 
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Nuzzle Mtb Hours#|Never}}
 
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Nuzzle Mtb Hours#|Never}}
| {{#iferror: {{#expr:{{#var:adult_slaughter_production}}/{{#var:adult_slaughter_consumption}} round 2}} | NA}}
+
| {{#iferror: {{#expr:{{#var:adult_slaughter_production}}/{{#var:adult_slaughter_consumption}} round 2}} | -}}
| {{#iferror: {{#expr:{{#var:baby_slaughter_production}}/{{#var:baby_slaughter_consumption}} round 2}} | NA}}
+
| {{#iferror: {{#expr:{{#var:baby_slaughter_production}}/{{#var:baby_slaughter_consumption}} round 2}} | -}}
 
|-
 
|-
 
</includeonly>
 
</includeonly>
 
<noinclude>[[Category:Customized table templates]]</noinclude>
 
<noinclude>[[Category:Customized table templates]]</noinclude>

Revision as of 12:08, 26 September 2021

This template pulls the data from each animal's individual page and formats it into a neat row summary. It is only intended for use on the List of animals page.

Usage: {{Animals/Row|*name*}}

The template takes a single parameter, the name of the animal being referenced, which must be the exact name of the animal's main page. The parameter defaults to "Wild boar" if not given - used for testing/preview.

Example:

Animal Type Wildness Min. Handling Skill Guard Attack Rescue Haul Diet Hunger Rate[1] Health Scale Average DPS Move Speed Manhunter
(Hunt)
Manhunter
(Tame)
Blocked by Fences Filth Rate[2] Meat Yield[3] Leather Yield[4] Market Value Life Expectancy (Years) Maturity Age (Years) Gestation Period (Days)[5] Nuzzle Interval (Hours)[6] Nutrition Efficiency (adult slaughter)[7] Nutrition Efficiency (baby slaughter)[7]
Yorkshire terrier Animal 0% 0 Check.png Check.png Ex.png Ex.png 0.24 0.4 1.09 3.1 0% 0% Ex.png 1 45 20 100 15 0.3 10 12 0.53 0.55
  1. Nutrition lost per day.
  2. The average amount of filth produced on constructed floors per 1000 cells walked.
  3. Amounts given are at 100% butchery efficiency.
  4. Amounts given are at 100% butchery efficiency.
  5. For egglayers, this is both the incubation period and the egg-laying interval.
  6. Mean time between nuzzles.
  7. 7.0 7.1 Nutrition out from meat and milk for each nutrition in, calculated for a system of 8 adult females and 2 adult male, with the assumptions of constant pregnancy and immediate milking.