Difference between revisions of "Template:Animals/Additional/Row"
Jump to navigation
Jump to search
(added mate mtb col) |
|||
Line 7: | Line 7: | ||
Example: | Example: | ||
{| {{STDT| sortable c_08 text-center}} | {| {{STDT| sortable c_08 text-center}} | ||
− | ! Animal !! Type !! Wildness !! Body Size !! <abbr title=kg>Mass</abbr> !! data-sort-type=number|Market Value !! data-sort-type=number|<abbr title=days>Juvenile Age</abbr> !! data-sort-type=number|<abbr title=days>Maturity Age</abbr> !! <abbr title=years>Life Expectancy</abbr> !! data-sort-type=number|<abbr title=days>Gestation Period !! data-sort-type=number|Average Offspring !! Filth Rate !! data-sort-type=number|Roam Interval !! data-sort-type=number|Nuzzle Interval !! <abbr title=°C>Min Temperature</abbr> !! <abbr title=°C>Max Temperature</abbr> | + | ! Animal !! Type !! Wildness !! Body Size !! <abbr title=kg>Mass</abbr> !! data-sort-type=number|Market Value !! data-sort-type=number|<abbr title=days>Juvenile Age</abbr> !! data-sort-type=number|<abbr title=days>Maturity Age</abbr> !! <abbr title=years>Life Expectancy</abbr> !! data-sort-type=number|<abbr title=days>Gestation Period !! data-sort-type=number|Average Offspring !! data-sort-type=number|Mate Interval !! Filth Rate !! data-sort-type=number|Roam Interval !! data-sort-type=number|Nuzzle Interval !! <abbr title=°C>Min Temperature</abbr> !! <abbr title=°C>Max Temperature</abbr> |
|- | |- | ||
− | {{Animals/Additional/Row| | + | {{Animals/Additional/Row|Chinchilla}} |
|} | |} | ||
[[Category:Customized table templates]] | [[Category:Customized table templates]] | ||
Line 32: | Line 32: | ||
}} | }} | ||
}} | }} | ||
+ | | {{#if:{{#vardefineecho:mate|{{#show:{{{?Name|{{{1}}}}}}|?Mate Mtb Hours}}}}|{{#var:mate}}|-}} | ||
| {{#show:{{{?Name|{{{1}}}}}}|?Animal Filth Rate}} | | {{#show:{{{?Name|{{{1}}}}}}|?Animal Filth Rate}} | ||
| {{#if:{{#vardefineecho:roam|{{#show:{{{?Name|{{{1}}}}}}|?Roam Mtb Days}}}}|{{#var:roam}}|-}} | | {{#if:{{#vardefineecho:roam|{{#show:{{{?Name|{{{1}}}}}}|?Roam Mtb Days}}}}|{{#var:roam}}|-}} |
Revision as of 18:56, 9 October 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 | Market Value | Juvenile Age | Maturity Age | Life Expectancy | Gestation Period | Average Offspring | Mate Interval | Filth Rate | Roam Interval | Nuzzle Interval | Min Temperature | Max Temperature |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Chinchilla |
Animal | 60% | 0.35 | 21 | 150 | 6 | 13.32 | 9 | 5.661 | 1.75 | 8 | 1 | 2 | Never | -15 | 55 |