Difference between revisions of "Template:Animals/Row"

From RimWorld Wiki
Jump to navigation Jump to search
m (+<nowiki><includeonly></includeonly>)
(Replacing Average Damage stat with Average DPS stat for apples-to-apples comparisons with cooldown factored in. Re-arranging a few columns.)
Line 16: Line 16:
 
| 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=]]}}}}
 +
| {{#show: {{{1|Wild boar}}}|?Mob Average DPS#}}
 +
| {{#show: {{{1|Wild boar}}}|?Move Speed Base#}}
 
| {{#show: {{{1|Wild boar}}}|?Base Hunger Rate#}}
 
| {{#show: {{{1|Wild boar}}}|?Base Hunger Rate#}}
| {{#show: {{{1|Wild boar}}}|?Move Speed Base#}}
 
| {{#show: {{{1|Wild boar}}}|?Average Melee Damage#}}
 
 
| {{#show: {{{1|Wild boar}}}|?Meat Yield#}}
 
| {{#show: {{{1|Wild boar}}}|?Meat Yield#}}
 
| {{#if: {{#show: {{{1|Wild boar}}}|?Leather Yield#}}|{{#show: {{{1|Wild boar}}}|?Leather Yield#}}|-}}
 
| {{#if: {{#show: {{{1|Wild boar}}}|?Leather Yield#}}|{{#show: {{{1|Wild boar}}}|?Leather Yield#}}|-}}

Revision as of 23:44, 29 July 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 "Wild boar" if not given.