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:
<includeonly>
+
<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.
! [[{{{?Name|{{{1}}}}}}]]<br/>[[{{#show:{{{?Name|{{{1|Horse}}} }}}|?Image#}}|32px]]
+
 
 +
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}}
| {{#if:{{#vardefineecho:val|{{#show:{{{?Name|{{{1}}}}}}|?Market Value Base}}}}|{{#var:val}}|-}}
+
| {{#show:{{{?Name|{{{1}}}}}}|?Health Scale}}
| {{#if:{{#vardefineecho:combatPower|{{#show:{{{?Name|{{{1}}}}}}|?Combat Power}}}}|{{#var:combatPower}}|-}}
+
| {{#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:
 
   }}
 
   }}
 
}}
 
}}
| {{#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}}|-}}
| {{Q|{{{?Name|{{{1|Horse}}} }}}|Nuzzle Mtb Hours#|Never}}
 
 
| {{#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>{{Documentation}}</noinclude>
+
</includeonly>
 +
<noinclude>[[Category:Customized table templates]]</noinclude>

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)