Difference between revisions of "Template:Animals/Additional/Row"
Jump to navigation
Jump to search
(hopefully reduced the post-expand include size enough) |
(maybe this reduces the include size?) |
||
Line 13: | Line 13: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
! [[{{{1}}}]] | ! [[{{{1}}}]] | ||
− | | {{ | + | | {{#show:{{{1}}}|?Type}} |
− | | {{#expr: {{ | + | | {{#expr: {{#show:{{{1}}}|?Wildness}} * 100}}% |
− | | {{ | + | | {{#show:{{{1}}}|?Body Size}} |
− | | {{ | + | | {{#show:{{{1}}}|?Mass - Adult}} |
− | | {{ | + | | {{#show:{{{1}}}|?Health Scale}} |
− | | {{ | + | | {{#show:{{{1}}}|?Market Value Base}} |
− | | {{#expr: {{ | + | | {{#expr: {{#show:{{{1}}}|?Juvenile Age}}*60 round 2}} |
− | | {{#expr: {{ | + | | {{#expr: {{#show:{{{1}}}|?Maturity Age}}*60 round 2}} |
− | | {{ | + | | {{#show:{{{1}}}|?Life Expectancy}} |
− | | {{#if:{{#vardefineecho:egg_interval|{{ | + | | {{#if:{{#vardefineecho:egg_interval|{{#show:{{{1}}}|?Egg Laying Interval}}}}|{{#var:egg_interval}} |
− | | {{#if:{{#vardefineecho:gestation|{{ | + | | {{#if:{{#vardefineecho:gestation|{{#show:{{{1}}}|?Gestation Period Days}}}}|{{#var:gestation}} |
| - | | - | ||
}} | }} | ||
}} | }} | ||
− | | {{#if:{{#vardefineecho:clutch_size|{{ | + | | {{#if:{{#vardefineecho:clutch_size|{{#show:{{{1}}}|?Eggs Per Clutch Average}}}}|{{#var:clutch_size}} |
− | | {{#if:{{#vardefineecho:litter_size|{{ | + | | {{#if:{{#vardefineecho:litter_size|{{#show:{{{1}}}|?Average Offspring Per Birth}}}}|{{#var:litter_size}} |
| {{#if:{{#var:gestation}}|1|-}} | | {{#if:{{#var:gestation}}|1|-}} | ||
}} | }} | ||
}} | }} | ||
− | | {{ | + | | {{#show:{{{1}}}|?Animal Filth Rate}} |
− | | {{#if:{{#vardefineecho:roam|{{ | + | | {{#if:{{#vardefineecho:roam|{{#show:{{{1}}}|?Roam Mtb Days}}}}|{{#var:roam}}|-}} |
− | | {{ | + | | {{#show:{{{1}}}|?Min Comfortable Temperature}} |
− | | {{ | + | | {{#show:{{{1}}}|?Max Comfortable Temperature}} |
|- | |- | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Category:Customized table templates]]</noinclude> | <noinclude>[[Category:Customized table templates]]</noinclude> |
Revision as of 11:31, 27 September 2021
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/Additional page.
Usage: {{Animals/Additional/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.
Example:
Animal | Type | Wildness | Body Size | Mass | Health Scale | Market Value | Juvenile Age | Maturity Age | Life Expectancy | Gestation Period | Average Offspring | Filth Rate | Roam Interval | Min Temperature | Max Temperature |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Horse | Animal | 35% | 2.4 | 144 | 1.75 | 550 | 15 | 19.98 | 30 | 6.66 | 1 | 16 | 2 | -35 | 45 |