Editing Template:Animals/Row
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | < | + | <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> |
− | + | ||
− | + | 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}}}]] | |
− | + | | {{#show: {{{1|Wild boar}}}|?Type#}} | |
− | + | | {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}% | |
− | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Diet#}} | |
− | + | | herbivorous = [[File:Potato plant.png|22px|alt=Plants|link=]] | |
− | + | | dendrovorous = [[File:Wood.png|24px|alt=Wood|link=]] | |
− | + | | carnivorous = [[File:MeatBig cropped.png|alt=Meat|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=]]}} |
− | + | | 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 plant.png|22px|alt=Plants|link=]]}}}} | |
− | + | | {{#show: {{{1|Wild boar}}}|?Mob Average DPS#}} | |
− | + | | {{#show: {{{1|Wild boar}}}|?Move Speed Base#}} | |
− | + | | {{#expr: {{#show: {{{1|Wild boar}}}|?Base Hunger Rate#}} * 1.6 round2}} | |
− | + | | {{#show: {{{1|Wild boar}}}|?Meat Yield#}} | |
− | + | | {{#if: {{#show: {{{1|Wild boar}}}|?Leather Yield#}}|{{#show: {{{1|Wild boar}}}|?Leather Yield#}}|-}} | |
− | + | | {{#show: {{{1|Wild boar}}}|?Life Expectancy#}} | |
− | + | | {{#show: {{{1|Wild boar}}}|?Maturity Age#}} | |
− | + | | {{#show: {{{1|Wild boar}}}|?Gestation Period Days#}} | |
− | + | | {{#show: {{{1|Wild boar}}}|?Minimum Handling Skill#}} | |
− | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Obedience#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}} | |
− | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Release#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}} | |
− | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Rescue#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}} | |
− | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Haul#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}</includeonly> | |
− | |||
− | |||
− | |||
− | < | ||
− | ! {{ | ||
− | |||
− | | {{#show: {{{ | ||
− | |||
− | | {{# | ||
− | |||
− | | {{#switch: {{#show: {{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | | | ||
− | | {{ | ||
− | | {{# | ||
− | | {{ | ||
− | | {{ | ||
− | | {{#show: {{{ | ||
− | | {{#show: {{{ | ||
− | | {{#show: {{{ | ||
− | | {{# | ||
− | | {{# | ||
− | | {{# | ||
− | | {{# | ||
− | | | ||
− |