Difference between revisions of "Template:Animals/Row"
Jump to navigation
Jump to search
Theaetetus (talk | contribs) |
Theaetetus (talk | contribs) m (+<nowiki><includeonly></includeonly>) |
||
Line 5: | Line 5: | ||
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. | 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|Wild boar}}}]] | + | </noinclude><includeonly>![[{{{1|Wild boar}}}]] |
| {{#show: {{{1|Wild boar}}}|?Type#}} | | {{#show: {{{1|Wild boar}}}|?Type#}} | ||
| {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}% | | {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}% | ||
Line 27: | Line 27: | ||
| {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Release#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Release#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} | ||
| {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Rescue#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Rescue#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} | ||
− | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Haul#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}} | + | | {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Haul#}} | Yes=[[File:check.png|24px|link=]] | No=[[File:ex.png|24px|link=]]}}</includeonly> |
Revision as of 22:59, 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.