Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Replacing Average Damage stat with Average DPS stat for apples-to-apples comparisons with cooldown factored in. Re-arranging a few columns.)
(Updated referenced link. Other rewording and clarification.)
Line 1: Line 1:
<noinclude>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.
+
<noinclude>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:  <code><nowiki>{{Animals/Row|*name*}}</nowiki></code>
 
Usage:  <code><nowiki>{{Animals/Row|*name*}}</nowiki></code>
  
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.
+
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}}}]]
 
</noinclude><includeonly>![[{{{1|Wild boar}}}]]

Revision as of 02:29, 30 July 2016

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.