Difference between revisions of "Template:Animals/Additional/Row"
Jump to navigation
Jump to search
(added mate mtb col) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly> |
− | + | ! {{DLC Icons|{{{?Name|{{{1}}}}}}}}<br/>[[{{#show:{{{?Name|{{{1|Horse}}} }}}|?Image#}}|32px]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | | | ||
− | |||
− | |||
− | |||
| {{#show:{{{?Name|{{{1}}}}}}|?Type}} | | {{#show:{{{?Name|{{{1}}}}}}|?Type}} | ||
| {{#expr: {{#show:{{{?Name|{{{1}}}}}}|?Wildness}} * 100}}% | | {{#expr: {{#show:{{{?Name|{{{1}}}}}}|?Wildness}} * 100}}% | ||
Line 19: | Line 6: | ||
| {{#show:{{{?Name|{{{1}}}}}}|?Mass - Adult}} | | {{#show:{{{?Name|{{{1}}}}}}|?Mass - Adult}} | ||
| {{#if:{{#vardefineecho:val|{{#show:{{{?Name|{{{1}}}}}}|?Market Value Base}}}}|{{#var:val}}|-}} | | {{#if:{{#vardefineecho:val|{{#show:{{{?Name|{{{1}}}}}}|?Market Value Base}}}}|{{#var:val}}|-}} | ||
+ | | {{#if:{{#vardefineecho:combatPower|{{#show:{{{?Name|{{{1}}}}}}|?Combat Power}}}}|{{#var:combatPower}}|-}} | ||
| {{#if:{{#vardefineecho:juv_age|{{#show:{{{?Name|{{{1}}}}}}|?Juvenile Age}}}}|{{#expr:{{#var:juv_age}}*60 round 2}}|-}} | | {{#if:{{#vardefineecho:juv_age|{{#show:{{{?Name|{{{1}}}}}}|?Juvenile Age}}}}|{{#expr:{{#var:juv_age}}*60 round 2}}|-}} | ||
| {{#if:{{#vardefineecho:mat_age|{{#show:{{{?Name|{{{1}}}}}}|?Maturity Age}}}}|{{#expr:{{#var:mat_age}}*60 round 2}}|-}} | | {{#if:{{#vardefineecho:mat_age|{{#show:{{{?Name|{{{1}}}}}}|?Maturity Age}}}}|{{#expr:{{#var:mat_age}}*60 round 2}}|-}} | ||
Line 39: | Line 27: | ||
| {{#show:{{{?Name|{{{1}}}}}}|?Max Comfortable Temperature}} | | {{#show:{{{?Name|{{{1}}}}}}|?Max Comfortable Temperature}} | ||
|- | |- | ||
− | </includeonly> | + | </includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 07:59, 8 October 2024
Summary[edit]
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[edit]
{{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[edit]
{| {{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|Combat Power !! 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|Chinchilla}} |}
Animal | Type | Wildness | Body Size | Mass | Market Value | Combat Power | 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 | 33 | 6 | 13.32 | 9 | 5.661 | 1.75 | 8 | 1 | 2 | Never | -15 | 55 |
The above documentation is transcluded from Template:Animals/Additional/Row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |