Difference between revisions of "Template:Animals/Row"
Jump to navigation
Jump to search
(Show "dash" for Leather Yield if value is null.) |
(Added a bit of documentation.) |
||
Line 1: | Line 1: | ||
− | ![[{{{1|Boar}}}]] | + | <noinclude>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: <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 "Boar" if not given. | ||
+ | |||
+ | </noinclude>![[{{{1|Boar}}}]] | ||
| {{#show: {{{1|Boar}}}|?Type#}} | | {{#show: {{{1|Boar}}}|?Type#}} | ||
| {{#expr: {{#show: {{{1|Boar}}}|?Wildness#}} * 100}}% | | {{#expr: {{#show: {{{1|Boar}}}|?Wildness#}} * 100}}% |
Revision as of 05:41, 20 April 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 "Boar" if not given.
!Boar | Animal | 50% | | 0.3 | 4.6 | | 119 | 36 | 12 | 4 | | | |