Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
(made the hover text for the diets more accurate, changed animal products image to milk)
(distinguished grazers from those that can only eat harvested vegetables)
Line 9: Line 9:
 
! Animal !! Min. Handling Skill  !! Guard !! Attack !! Rescue !! Haul !! Diet !! Blocked by Fences !! Hunger Rate<ref>Nutrition lost per day.</ref>!! data-sort-type=number|Offspring Per Year !! data-sort-type=number|Meat Yield !! data-sort-type=number|Leather Yield !! Average DPS !! Move Speed !! Health Scale !! <abbr title="Chance of revenge when harmed">Manhunter<br>(Hunt)</abbr> !! <abbr title="Chance of revenge on a failed tame attempt">Manhunter<br>(Tame)</abbr> !! <abbr title="Nutrition of meat and milk out for each nutrition in, when babies are slaughtered, for a ratio of 4:1 females:males, and assuming constant pregnancy and immediate milking>Nutrition Efficiency (Baby Slaughter)</abbr> !! <abbr title="Nutrition of meat and milk out for each nutrition in, when adults are slaughtered, for a ratio of 4:1 females:males, and assuming constant pregnancy and immediate milking>Nutrition Efficiency (Adult Slaughter)</abbr>
 
! Animal !! Min. Handling Skill  !! Guard !! Attack !! Rescue !! Haul !! Diet !! Blocked by Fences !! Hunger Rate<ref>Nutrition lost per day.</ref>!! data-sort-type=number|Offspring Per Year !! data-sort-type=number|Meat Yield !! data-sort-type=number|Leather Yield !! Average DPS !! Move Speed !! Health Scale !! <abbr title="Chance of revenge when harmed">Manhunter<br>(Hunt)</abbr> !! <abbr title="Chance of revenge on a failed tame attempt">Manhunter<br>(Tame)</abbr> !! <abbr title="Nutrition of meat and milk out for each nutrition in, when babies are slaughtered, for a ratio of 4:1 females:males, and assuming constant pregnancy and immediate milking>Nutrition Efficiency (Baby Slaughter)</abbr> !! <abbr title="Nutrition of meat and milk out for each nutrition in, when adults are slaughtered, for a ratio of 4:1 females:males, and assuming constant pregnancy and immediate milking>Nutrition Efficiency (Adult Slaughter)</abbr>
 
|-
 
|-
{{Animals/Row|Warg}}
+
{{Animals/Row|Boomrat}}
 
|}
 
|}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
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|Plants|link=]]
+
   | herbivorous = {{nowrap|[[File:Potato plant.png|22px|Plants|link=]]&nbsp;[[File:Potatoes.png|22px|Vegetables|link=]]}}
 
   | dendrovorous = [[File:Wood.png|24px|Trees|link=]]
 
   | dendrovorous = [[File:Wood.png|24px|Trees|link=]]
 
   | raw meat and corpses = [[File:MeatBig cropped.png|Raw meat|link=]][[File:DownedRefugee.png|32px|Corpses|link=]]
 
   | raw meat and corpses = [[File:MeatBig cropped.png|Raw meat|link=]][[File:DownedRefugee.png|32px|Corpses|link=]]
 
   | carnivorous = [[File:MeatBig cropped.png|Meat|link=]]
 
   | carnivorous = [[File:MeatBig cropped.png|Meat|link=]]
   | omnivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Potato plant.png|22px|Plants|link=]]}}
+
   | omnivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Potatoes.png|22px|Vegetables|link=]]}}
   | herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|Plants|link=]]&nbsp;[[File:Wood.png|24px|Trees|link=]]}}
+
  | omnivorous grazer = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Potato plant.png|22px|Plants|link=]]&nbsp;[[File:Potatoes.png|22px|Vegetables|link=]]}}
 +
   | herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|Plants|link=]]&nbsp;[[File:Potatoes.png|22px|Vegetables|link=]]&nbsp;[[File:Wood.png|24px|Trees|link=]]}}
 
   | carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|Eggs|link=]]}}
 
   | carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|Eggs|link=]]}}
   | omnivorous and animal products = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Milk.png|Animal products|22px|link=]]&nbsp;[[File:Potato plant.png|22px|Plants|link=]]}}
+
   | omnivorous and animal products = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Milk.png|Animal products|22px|link=]]&nbsp;[[File:Potatoes.png|22px|Vegetables|link=]]}}
   | omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|Eggs|link=]]&nbsp;[[File:Potato plant.png|22px|Plants|link=]]}}
+
   | omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|Eggs|link=]]&nbsp;[[File:Potatoes.png|22px|Vegetables|link=]]}}
 
   | none = -
 
   | none = -
 
}}
 
}}

Revision as of 16:34, 9 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)
Boomrat
Boomrat east.png
7 Ex.png Ex.png Ex.png Ex.png Meat Plants Vegetables Ex.png 0.22 18.5 31 16 1.73 4.6 0.4 0% 0% 0.77 0.58
  1. Nutrition lost per day.