Editing Template:Animals/Additional/Row
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | < | + | <noinclude>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: <code><nowiki>{{Animals/Additional/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. | ||
+ | |||
+ | Example: | ||
+ | {| {{STDT| sortable c_08 text-center}} | ||
+ | ! 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 | ||
+ | |- | ||
+ | {{Animals/Additional/Row|Horse}} | ||
+ | |} | ||
+ | </noinclude><includeonly> | ||
+ | ! [[{{{?Name|{{{1}}}}}}]] | ||
| {{#show:{{{?Name|{{{1}}}}}}|?Type}} | | {{#show:{{{?Name|{{{1}}}}}}|?Type}} | ||
| {{#expr: {{#show:{{{?Name|{{{1}}}}}}|?Wildness}} * 100}}% | | {{#expr: {{#show:{{{?Name|{{{1}}}}}}|?Wildness}} * 100}}% | ||
| {{#show:{{{?Name|{{{1}}}}}}|?Body Size}} | | {{#show:{{{?Name|{{{1}}}}}}|?Body Size}} | ||
| {{#show:{{{?Name|{{{1}}}}}}|?Mass - Adult}} | | {{#show:{{{?Name|{{{1}}}}}}|?Mass - Adult}} | ||
− | + | | {{#show:{{{?Name|{{{1}}}}}}|?Health Scale}} | |
− | + | | {{#show:{{{?Name|{{{1}}}}}}|?Market Value Base}} | |
| {{#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 20: | Line 32: | ||
}} | }} | ||
}} | }} | ||
− | |||
| {{#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}}|-}} | ||
− | |||
| {{#show:{{{?Name|{{{1}}}}}}|?Min Comfortable Temperature}} | | {{#show:{{{?Name|{{{1}}}}}}|?Min Comfortable Temperature}} | ||
| {{#show:{{{?Name|{{{1}}}}}}|?Max Comfortable Temperature}} | | {{#show:{{{?Name|{{{1}}}}}}|?Max Comfortable Temperature}} | ||
|- | |- | ||
− | </includeonly><noinclude> | + | </includeonly> |
+ | <noinclude>[[Category:Customized table templates]]</noinclude> |