Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 52: Line 52:
 
| {{#switch: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Can Train Haul#}}      | 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|{{{1|Horse}}} }}}|?Diet#}}
 
| {{#switch: {{#show: {{{?Name|{{{1|Horse}}} }}}|?Diet#}}
   | herbivorous = [[File:Potato plant.png|22px|alt=Plants|link=]]
+
   | herbivorous = [[File:Potato plant.png|22px|Plants|link=]]
   | dendrovorous = [[File:Wood.png|24px|alt=Wood|link=]]
+
   | dendrovorous = [[File:Wood.png|24px|Wood|link=]]
   | raw meat and corpses = [[File:MeatBig cropped.png|alt=Meat|link=]][[File:DownedRefugee.png|32px|alt=Corpses|link=]]
+
   | raw meat and corpses = [[File:MeatBig cropped.png|Meat|link=]][[File:DownedRefugee.png|32px|Corpses|link=]]
   | carnivorous = [[File:MeatBig cropped.png|alt=Meat|link=]]
+
   | carnivorous = [[File:MeatBig cropped.png|Meat|link=]]
   | omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Potato plant.png|22px|alt=Plants|link=]]}}
+
   | omnivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]] [[File:Potato plant.png|22px|Plants|link=]]}}
   | herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|alt=Plants|link=]] [[File:Wood.png|24px|alt=Wood|link=]]}}
+
   | herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|Plants|link=]] [[File:Wood.png|24px|Wood|link=]]}}
   | carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Eggs fertilized cropped.png|alt=Eggs|link=]]}}
+
   | carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]] [[File:Eggs fertilized cropped.png|Eggs|link=]]}}
 
   | omnivorous and animal products
 
   | omnivorous and animal products
   | omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Eggs fertilized cropped.png|alt=Eggs|link=]] [[File:Potato plant.png|22px|alt=Plants|link=]]}}
+
   | omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]] [[File:Eggs fertilized cropped.png|Eggs|link=]] [[File:Potato plant.png|22px|Plants|link=]]}}
 
   | none = -
 
   | none = -
 
}}
 
}}

Revision as of 05:22, 4 October 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 "Horse" if not given - used for testing/preview.

Example:

Animal Min. Handling Skill   Guard Attack Rescue Haul Diet Blocked by Fences Hunger Rate[1] Offspring Per Year Meat Yield Leather Yield Average DPS Move Speed Health Scale Manhunter
(Hunt)
Manhunter
(Tame)
Nutrition Efficiency (Baby Slaughter) Nutrition Efficiency (Adult Slaughter)
Warg 5 Check.png Check.png Ex.png Ex.png MeatCorpses Ex.png 0.4 10.3 196 56 4.24 5 1.4 100% 40% 0.67 0.96
  1. Nutrition lost per day.