Difference between revisions of "Template:Animals/Additional/Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
[[Category:Customized table templates]]
 
[[Category:Customized table templates]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
! [[{{{?Name|{{{1}}}}}}]]
+
! [[{{{?Name|{{{1}}}}}}]]<br>[[{{#show:{{{?Name|{{{1|Horse}}} }}}|?Image#}}|32px]]
 
| {{#show:{{{?Name|{{{1}}}}}}|?Type}}
 
| {{#show:{{{?Name|{{{1}}}}}}|?Type}}
 
| {{#expr: {{#show:{{{?Name|{{{1}}}}}}|?Wildness}} * 100}}%  
 
| {{#expr: {{#show:{{{?Name|{{{1}}}}}}|?Wildness}} * 100}}%  

Revision as of 02:20, 6 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/Additional page.

Usage: {{Animals/Additional/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.

Example:

Animal Type Wildness Body Size Mass Market Value Juvenile Age Maturity Age Life Expectancy Gestation Period Average Offspring Filth Rate Roam Interval Nuzzle Interval Min Temperature Max Temperature
Horse
Horse east.png
Animal 35% 2.4 144 550 15 19.98 30 6.66 1 16 2 Never -35 45