Difference between revisions of "Template:Ask Table Formatter"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page.)
 
(Rewrite as query template.)
Line 1: Line 1:
{{#vardefine: name | {{{?Name|Muffalo}}} }}
 
 
<noinclude>
 
<noinclude>
 
{| {{STDT}}
 
{| {{STDT}}
Line 7: Line 6:
 
|-
 
|-
 
! [[{{#var:name}}]]  
 
! [[{{#var:name}}]]  
| {{#show: {{#var:name}}|?Milk Amount|link=none}}
+
| {{{Milk|-}}}
| {{#show: {{#var:name}}|?Milking Interval Days|link=none}}
+
| {{{Milktime|-}}}
| {{#if: {{#show: {{#var:name}}|?Milk Amount}}|{{#expr: {{#show: {{#var:name}}|?Milk Amount|link=none}}/{{#show: {{#var:name}}|?Milking Interval Days|link=none}}round2}}}}
+
| {{#if: {{{Milk}}} |{{#expr: {{{Milk}}}/{{{Milktime}}}round2}}}}
  
| {{#show: {{#var:name}}|?Wool Amount|link=none}}
+
| {{{Wool|-}}}
| {{#show: {{#var:name}}|?Shearing Interval Days|link=none}}
+
| {{{Wooltime|-}}}
| {{#if: {{#show: {{#var:name}}|?Wool Amount}}|{{#expr: {{#show: {{#var:name}}|?Wool Amount|link=none}}/{{#show: {{#var:name}}|?Shearing Interval Days|link=none}}round2}}}}
+
| {{#if: {{{Wool}}} |{{#expr: {{{Wool}}}/{{{Sheartime}}}round2}}}}
  
| {{#show: {{#var:name}}|?Eggs Per Clutch Minimum}}
+
| {{{Eggsmin|-}}}
| {{#show: {{#var:name}}|?Eggs Per Clutch Maximum}}
+
| {{{Eggsmax|-}}}
| {{#show: {{#var:name}}|?Eggs Laying Interval}}
+
| {{{Eggtime|-}}}
 
<noinclude>
 
<noinclude>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 03:27, 4 September 2015

Animal Milk Amount Milking Interval Daily Milk Average Wool Amount Shearing Interval Daily Wool Average Egg Clutch Min Egg Clutch Max Egg Laying Interval
[[]] - - Expression error: Unrecognized punctuation character "{". - - Expression error: Unrecognized punctuation character "{". - - -