Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
m (Reorder columns)
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
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.
 
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.
  
</noinclude><includeonly>![[{{{1|Wild boar}}}]]
+
Example:
 +
{| {{STDT| sortable c_08 text-center}}
 +
! Animal !! Type !! Wildness !! Min. Handling Skill  !! Guard !! Attack !! Rescue !! Haul !! Diet !! Hunger Rate<ref>Nutrition lost per day.</ref>!! Average DPS !! Move Speed !! Manhunter<br>(Hunt) !! Manhunter<br>(Tame) !! Filth Rate<ref>The average amount of filth produced on constructed floors per 1000 cells walked.</ref>!! Meat Yield<ref>Amounts given are at 100% butchery efficiency.</ref>!! Leather Yield<ref>Amounts given are at 100% butchery efficiency.</ref>!! Market Value !! Life Expectancy (Years) !! Maturity Age (Years) !! Gestation Period (Days)<ref>For egglayers, this is both the incubation period and the egg-laying interval.</ref> !! Nuzzle Interval (Hours)<ref>Mean time between nuzzles.</ref>
 +
|-{{Animals/Row|Yorkshire terrier}}
 +
|}
 +
</noinclude><includeonly>
 +
![[{{{1|Wild boar}}}]]
 
| {{#show: {{{1|Wild boar}}}|?Type#}}
 
| {{#show: {{{1|Wild boar}}}|?Type#}}
 
| {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}%  
 
| {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}%  
Line 20: Line 26:
 
| herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|alt=Plants|link=]]&nbsp;[[File:Wood.png|24px|alt=Wood|link=]]}}
 
| herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|alt=Plants|link=]]&nbsp;[[File:Wood.png|24px|alt=Wood|link=]]}}
 
| carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|alt=Eggs|link=]]}}
 
| carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|alt=Eggs|link=]]}}
| omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|alt=Eggs|link=]]&nbsp;[[File:Potato plant.png|22px|alt=Plants|link=]]}}}}
+
| omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|alt=Eggs|link=]]&nbsp;[[File:Potato plant.png|22px|alt=Plants|link=]]}}
 +
| raw meat and corpses = [[File:MeatBig cropped.png|alt=Meat|link=]]}}
 
| {{#expr: {{#show: {{{1|Wild boar}}}|?Base Hunger Rate#}} * 1.6 round2}}
 
| {{#expr: {{#show: {{{1|Wild boar}}}|?Base Hunger Rate#}} * 1.6 round2}}
 
| {{#show: {{{1|Wild boar}}}|?Mob Average DPS#}}
 
| {{#show: {{{1|Wild boar}}}|?Mob Average DPS#}}
 
| {{#show: {{{1|Wild boar}}}|?Move Speed Base#}}
 
| {{#show: {{{1|Wild boar}}}|?Move Speed Base#}}
 +
| {{#expr: {{#show: {{{1|Wild boar}}}|?Turn Manhunter Chance When Attacked#}} *100}}%
 +
| {{#expr: {{#show: {{{1|Wild boar}}}|?Turn Manhunter Chance When Taming#}} *100}}%
 
| {{#show: {{{1|Wild boar}}}|?Animal Filth Rate#}}
 
| {{#show: {{{1|Wild boar}}}|?Animal Filth Rate#}}
 
| {{#show: {{{1|Wild boar}}}|?Meat Yield#}}
 
| {{#show: {{{1|Wild boar}}}|?Meat Yield#}}
Line 33: Line 42:
 
| {{#if: {{#show: {{{1|Wild boar}}}|?Nuzzle Mtb Hours#}}|{{#show: {{{1|Wild boar}}}|?Nuzzle Mtb Hours#}}|Never}}
 
| {{#if: {{#show: {{{1|Wild boar}}}|?Nuzzle Mtb Hours#}}|{{#show: {{{1|Wild boar}}}|?Nuzzle Mtb Hours#}}|Never}}
 
</includeonly>
 
</includeonly>
 +
<noinclude>[[Category:Customized table templates]]</noinclude>

Revision as of 11:22, 6 March 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] Average DPS Move Speed Manhunter
(Hunt)
Manhunter
(Tame)
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]
Yorkshire terrier Animal 0% 0 Check.png Check.png Ex.png Ex.png 0.24 1.09 3.1 0% 0% 1 45 20 100 15 0.3 10 12


  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.