Difference between revisions of "Template:Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
| omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Potato plant.png|22px|alt=Plants|link=]]}}
 
| omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Potato plant.png|22px|alt=Plants|link=]]}}
 
| herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|alt=Plants|link=]] [[File:Wood.png|24px|alt=Wood|link=]]}}
 
| herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|alt=Plants|link=]] [[File:Wood.png|24px|alt=Wood|link=]]}}
| carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|18x18px|alt=Raw meat, corpses|caption=Raw meat, corpses|link=no]] [[File:Kibble.png|18x18px|alt=Meals, processed food, kibble|caption=Meals, proccessed food, kibble|link=no]] [[File:Eggs fertilized cropped.png|18x18px|alt=Eggs, milk|caption=Eggs, milk|link=no]]}}
+
| carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|18x18px|alt=Raw meat, corpses|Raw meat, corpses|link=]] [[File:Kibble.png|18x18px|alt=Meals, processed food, kibble|Meals, proccessed food, kibble|link=]] [[File:Eggs fertilized cropped.png|18x18px|alt=Eggs, milk|Eggs, milk|link=]]}}
 
| omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Eggs fertilized cropped.png|alt=Eggs|link=]] [[File:Potato plant.png|22px|alt=Plants|link=]]}}}}
 
| omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Eggs fertilized cropped.png|alt=Eggs|link=]] [[File:Potato plant.png|22px|alt=Plants|link=]]}}}}
 
| {{#show: {{{1|Wild boar}}}|?Mob Average DPS#}}
 
| {{#show: {{{1|Wild boar}}}|?Mob Average DPS#}}

Revision as of 02:24, 1 May 2020

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/RowSandbox|*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.