Difference between revisions of "Template:Animals/Row"
Jump to navigation
Jump to search
(Updated referenced link. Other rewording and clarification.) |
(Fixed bad links (due to case sensitivity).) |
||
Line 9: | Line 9: | ||
| {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}% | | {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}% | ||
| {{#switch: {{#show: {{{1|Wild boar}}}|?Diet#}} | | {{#switch: {{#show: {{{1|Wild boar}}}|?Diet#}} | ||
− | | Herbivorous = [[File:Potato | + | | Herbivorous = [[File:Potato plant.png|22px|alt=Plants|link=]] |
| Dendrovorous = [[File:Wood.png|24px|alt=Wood|link=]] | | Dendrovorous = [[File:Wood.png|24px|alt=Wood|link=]] | ||
| Carnivorous = [[File:MeatBig cropped.png|alt=Meat|link=]] | | Carnivorous = [[File:MeatBig cropped.png|alt=Meat|link=]] | ||
− | | Omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Potato | + | | Omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Potato plant.png|22px|alt=Plants|link=]]}} |
− | | Herbivorous and dendrovorous = {{nowrap|[[File:Potato | + | | 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|alt=Meat|link=]] [[File:Eggs fertilized cropped.png|alt=Eggs|link=]]}} | | Carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Eggs fertilized cropped.png|alt=Eggs|link=]]}} | ||
− | | Omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]] [[File:Eggs fertilized cropped.png|alt=Eggs|link=]] [[File:Potato | + | | 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#}} | ||
| {{#show: {{{1|Wild boar}}}|?Move Speed Base#}} | | {{#show: {{{1|Wild boar}}}|?Move Speed Base#}} |
Revision as of 01:54, 6 January 2017
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.