Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
m (Reorder columns)
(Added category.)
Line 33: Line 33:
 
| {{#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 00:04, 18 January 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.