Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Added a bit of documentation.)
(Add maturity age to table)
Line 20: Line 20:
 
| {{#if: {{#show: {{{1|Boar}}}|?Leather Yield#}}|{{#show: {{{1|Boar}}}|?Leather Yield#}}|-}}
 
| {{#if: {{#show: {{{1|Boar}}}|?Leather Yield#}}|{{#show: {{{1|Boar}}}|?Leather Yield#}}|-}}
 
| {{#show: {{{1|Boar}}}|?Life Expectancy#}}
 
| {{#show: {{{1|Boar}}}|?Life Expectancy#}}
 +
| {{#show: {{{1|Boar}}}|?Maturity Age#}}
 
| {{#show: {{{1|Boar}}}|?Minimum Handling Skill#}}
 
| {{#show: {{{1|Boar}}}|?Minimum Handling Skill#}}
 
| {{#switch: {{#show: {{{1|Boar}}}|?Can Train Obedience#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}}
 
| {{#switch: {{#show: {{{1|Boar}}}|?Can Train Obedience#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}}

Revision as of 14:22, 9 June 2016

This template pulls the animal statistics from, I think, the animal's main page and formats it into a neat row summary. It is only intended for use on the main 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 "Boar" if not given.

!Boar | Animal | 50% | | 0.3 | 4.6 | | 119 | 36 | 12 | 0.3333 | 4 | | | |