Difference between revisions of "Template:Pen Animals Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> |- ! style="text-align:left;" | {{Icon Small|{{{?Name}}}|24}} [[{{{?Name}}}]] | {{Q|{{{?Name}}}|Real Hunger Rate}} | data-sort-value="{{#vardefineecho:milk|{{Q|{...")
 
(moved example to documentation page)
 
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
|-
 
|-
! style="text-align:left;" | {{Icon Small|{{{?Name}}}|24}} [[{{{?Name}}}]]
+
! style="text-align:left;" | {{Icon Small|{{{?Name}}}|24}} {{DLC Icons|{{{?Name}}} }}
 
| {{Q|{{{?Name}}}|Real Hunger Rate}}
 
| {{Q|{{{?Name}}}|Real Hunger Rate}}
 
| data-sort-value="{{#vardefineecho:milk|{{Q|{{{?Name}}}|Milk Name}} }}{{Q|{{{?Name}}}|Daily Milk Average}}{{#if:{{#vardefineecho:wool|{{Q|{{{?Name}}}|Wool Name}} }}|Wool-{{#vardefineecho:woolA|{{#expr:{{Q|{{{?Name}}}|Wool Amount}}/{{Q|{{{?Name}}}|Shearing Interval Days}} round 2}} }} }}{{#if:{{#vardefineecho:egg|{{Q|{{{?Name}}}|Egg Laying Interval}} }}|Egg-{{#vardefineecho:eggA|{{#expr:{{Q|{{{?Name}}}|Eggs Per Clutch Average}}/{{Q|{{{?Name}}}|Egg Laying Interval}} round 2}} }} }}" | {{#if:{{#var:wool}}|{{Icon Small|{{#var:wool}} }} {{#var:woolA}} }}{{#if:{{#var:milk}}|{{Icon Small|{{#var:milk}} }} {{Q|{{{?Name}}}|Daily Milk Average}} }}{{#if:{{#var:egg}}|{{Icon Small|{{{?Name}}} egg (fert.) }}{{#ifeq:{{Q|{{{?Name}}}|Can Lay Unfertilized Eggs}}|true|/{{Icon Small|{{{?Name}}} egg (unfert.) }} }} {{#var:eggA}} }}
 
| data-sort-value="{{#vardefineecho:milk|{{Q|{{{?Name}}}|Milk Name}} }}{{Q|{{{?Name}}}|Daily Milk Average}}{{#if:{{#vardefineecho:wool|{{Q|{{{?Name}}}|Wool Name}} }}|Wool-{{#vardefineecho:woolA|{{#expr:{{Q|{{{?Name}}}|Wool Amount}}/{{Q|{{{?Name}}}|Shearing Interval Days}} round 2}} }} }}{{#if:{{#vardefineecho:egg|{{Q|{{{?Name}}}|Egg Laying Interval}} }}|Egg-{{#vardefineecho:eggA|{{#expr:{{Q|{{{?Name}}}|Eggs Per Clutch Average}}/{{Q|{{{?Name}}}|Egg Laying Interval}} round 2}} }} }}" | {{#if:{{#var:wool}}|{{Icon Small|{{#var:wool}} }} {{#var:woolA}} }}{{#if:{{#var:milk}}|{{Icon Small|{{#var:milk}} }} {{Q|{{{?Name}}}|Daily Milk Average}} }}{{#if:{{#var:egg}}|{{Icon Small|{{{?Name}}} egg (fert.) }}{{#ifeq:{{Q|{{{?Name}}}|Can Lay Unfertilized Eggs}}|true|/{{Icon Small|{{{?Name}}} egg (unfert.) }} }} {{#var:eggA}} }}
 
| {{#if:{{Q|{{{?Name}}}|Pack Capacity}}|{{Check}}|{{Cross}} }}</includeonly><noinclude>
 
| {{#if:{{Q|{{{?Name}}}|Pack Capacity}}|{{Check}}|{{Cross}} }}</includeonly><noinclude>
 
+
{{Documentation}}
{| class="wikitable sortable" style="text-align:center;"
 
! Name !! Hunger rate<ref>Hunger rate of a fully grown specimen in [[nutrition]] per day. For reference, each unit of [[hay]] and most other [[raw food]]s is 0.05 nutrition.</ref><br/>([[nutrition]]/day) !! Products<br/>per day !! [[Pack animal]]
 
|-
 
{{#ask: [[Roam Mtb Days::+]]
 
| named args = yes
 
| ?Name = ?Name
 
| limit = 500
 
| format = template
 
| template = Pen Animals Table Row}}
 
|}
 
 
 
{{Documentation|content=
 
 
 
== Example ==
 
 
 
 
 
}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:39, 1 February 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

Summary[edit]

This template creates rows for a overview table on pen animals.

Example usage[edit]

{| class="wikitable sortable" style="text-align:center;"
! Name !! Hunger rate<ref>Hunger rate of a fully grown specimen in [[nutrition]] per day. For reference, each unit of [[hay]] and most other [[raw food]]s is 0.05 nutrition.</ref><br/>([[nutrition]]/day) !! Products<br/>per day !! [[Pack animal]]
|-
{{#ask: [[Roam Mtb Days::+]]
| named args = yes
| ?Name = ?Name
| limit = 500
| format = template
| template = Pen Animals Table Row}}
|}
<references/>
Name Hunger rate[1]
(nutrition/day)
Products
per day
Pack animal
Alpaca Alpaca 0.44 Alpaca wool 4.5 Check.png
Bison Bison 0.86 Bison wool 8 Check.png
Boomalope Boomalope 0.86 Chemfuel 11 Ex.png
Capybara Capybara 0.36 Ex.png
Caribou Caribou 0.44 Milk 5 Ex.png
Cassowary Cassowary 0.45 Cassowary egg (fert.) 0.3 Ex.png
Chicken Chicken 0.22 Chicken egg (fert.)/Chicken egg (unfert.) 1 Ex.png
Chinchilla Chinchilla 0.2 Ex.png
Cow Cow 0.86 Milk 14 Ex.png
Deer Deer 0.32 Ex.png
Donkey Donkey 0.52 Check.png
Dromedary Dromedary 0.86 Milk 9 Check.png
Duck Duck 0.28 Duck egg (fert.)/Duck egg (unfert.) 1 Ex.png
Elk Elk 0.86 Milk 11 Ex.png
Emu Emu 0.45 Emu egg (fert.) 0.3 Ex.png
Gazelle Gazelle 0.24 Ex.png
Goat Goat 0.36 Milk 4 Ex.png
Goose Goose 0.45 Goose egg (fert.)/Goose egg (unfert.) 0.5 Ex.png
Horse Horse 0.68 Check.png
Ibex Ibex 0.32 Ex.png
Muffalo Muffalo 0.86 Muffalo wool 8 Check.png
Ostrich Ostrich 0.67 Ostrich egg (fert.) 0.3 Ex.png
Pig Pig 0.8 Ex.png
Sheep Sheep 0.36 Sheep wool 4.5 Ex.png
Toxalope Toxalope Content added by the Biotech DLC 0.86 Ex.png
Turkey Turkey 0.45 Turkey egg (fert.) 0.75 Ex.png
Wild boar Wild boar 0.48 Ex.png
Yak Yak 0.86 Milk 11 Check.png
  1. Hunger rate of a fully grown specimen in nutrition per day. For reference, each unit of hay and most other raw foods is 0.05 nutrition.