Difference between revisions of "Template:Animals/Row"
Jump to navigation
Jump to search
Theaetetus (talk | contribs) m (Missing pipe) |
Theaetetus (talk | contribs) |
||
Line 3: | Line 3: | ||
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 " | + | 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. |
− | </noinclude>![[{{{1| | + | </noinclude>![[{{{1|Wild boar}}}]] |
− | | {{#show: {{{1| | + | | {{#show: {{{1|Wild boar}}}|?Type#}} |
− | | {{#expr: {{#show: {{{1| | + | | {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}% |
− | | {{#switch: {{#show: {{{1| | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Diet#}} |
| Herbivorous = [[File:Potato Plant.png|22px|alt=Plants|link=]] | | 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=]] | ||
Line 16: | Line 16: | ||
| 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 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| | + | | {{#show: {{{1|Wild boar}}}|?Base Hunger Rate#}} |
− | | {{#show: {{{1| | + | | {{#show: {{{1|Wild boar}}}|?Move Speed Base#}} |
− | | {{#show: {{{1| | + | | {{#show: {{{1|Wild boar}}}|?Average Melee Damage#}} |
− | | {{#show: {{{1| | + | | {{#show: {{{1|Wild boar}}}|?Meat Yield#}} |
− | | {{#if: {{#show: {{{1| | + | | {{#if: {{#show: {{{1|Wild boar}}}|?Leather Yield#}}|{{#show: {{{1|Wild boar}}}|?Leather Yield#}}|-}} |
− | | {{#show: {{{1| | + | | {{#show: {{{1|Wild boar}}}|?Life Expectancy#}} |
− | | {{#show: {{{1| | + | | {{#show: {{{1|Wild boar}}}|?Maturity Age#}} |
− | | {{#show: {{{1| | + | | {{#show: {{{1|Wild boar}}}|?Minimum Handling Skill#}} |
− | | {{#switch: {{#show: {{{1| | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Obedience#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} |
− | | {{#switch: {{#show: {{{1| | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Release#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} |
− | | {{#switch: {{#show: {{{1| | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Rescue#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} |
− | | {{#switch: {{#show: {{{1| | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Haul#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} |
Revision as of 22:58, 23 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.
!Wild boar | Animal | 50% | | 0.3 | 4.6 | | 119 | 36 | 12 | 0.3333 | 4 | | | |