Difference between revisions of "Template:Pen Animals Table Row"
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}} | + | ! 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}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{Documentation | ||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 09:39, 1 February 2023
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 |
---|---|---|---|
![]() |
0.44 | ![]() |
![]() |
![]() |
0.86 | ![]() |
![]() |
![]() |
0.86 | ![]() |
![]() |
![]() |
0.36 | ![]() | |
![]() |
0.44 | ![]() |
![]() |
![]() |
0.45 | ![]() |
![]() |
![]() |
0.22 | ![]() ![]() |
![]() |
![]() |
0.2 | ![]() | |
![]() |
0.86 | ![]() |
![]() |
![]() |
0.32 | ![]() | |
![]() |
0.52 | ![]() | |
![]() |
0.86 | ![]() |
![]() |
![]() |
0.28 | ![]() ![]() |
![]() |
![]() |
0.86 | ![]() |
![]() |
![]() |
0.45 | ![]() |
![]() |
![]() |
0.24 | ![]() | |
![]() |
0.36 | ![]() |
![]() |
![]() |
0.45 | ![]() ![]() |
![]() |
![]() |
0.68 | ![]() | |
![]() |
0.32 | ![]() | |
![]() |
0.86 | ![]() |
![]() |
![]() |
0.67 | ![]() |
![]() |
![]() |
0.8 | ![]() | |
![]() |
0.36 | ![]() |
![]() |
![]() ![]() |
0.86 | ![]() | |
![]() |
0.45 | ![]() |
![]() |
![]() |
0.48 | ![]() | |
![]() |
0.86 | ![]() |
![]() |
The above documentation is transcluded from Template:Pen Animals Table 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. |