Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
(added support for omnivorous and animal products (insects))
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|Megascarab}}
+
{{Animals/Row|Warg}}
 
|}
 
|}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 54: Line 54:
 
   | herbivorous = [[File:Potato plant.png|22px|alt=Plants|link=]]
 
   | herbivorous = [[File:Potato plant.png|22px|alt=Plants|link=]]
 
   | dendrovorous = [[File:Wood.png|24px|alt=Wood|link=]]
 
   | dendrovorous = [[File:Wood.png|24px|alt=Wood|link=]]
   | raw meat and corpses
+
   | raw meat and corpses = [[File:MeatBig cropped.png|alt=Meat|link=]][[File:DownedRefugee.png|32px|alt=Corpses|link=]]
 
   | carnivorous = [[File:MeatBig cropped.png|alt=Meat|link=]]
 
   | carnivorous = [[File:MeatBig cropped.png|alt=Meat|link=]]
 
   | omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Potato plant.png|22px|alt=Plants|link=]]}}
 
   | omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Potato plant.png|22px|alt=Plants|link=]]}}

Revision as of 05:17, 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 File:MeatBig cropped.pngCorpses Ex.png 0.4 10.3 196 56 4.24 5 1.4 100% 40% 0.67 0.96
  1. Nutrition lost per day.