Difference between revisions of "Template:Grow Table"

From RimWorld Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
| 280
 
| 280
 
|-
 
|-
! Real Grow Time (days)<ref>Actual days to grow, taking into account rest time.</ref>
+
! Real Grow Time (days)<ref><small>Actual days to grow, taking into account rest time.</small></ref>
 
| {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((0.7-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((0.7-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((1.0-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((1.0-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((1.4-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((1.4-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}}
| {{#if: {{#pos:{{Q|{{#var: plantName}} |SowTags}}|Hydroponic}} | {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((2.8-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}} | ''N/A'' <ref>This plant cannot be grown in hydroponics.</ref>}}
+
| {{#if: {{#pos:{{Q|{{#var: plantName}} |SowTags}}|Hydroponic}} | {{#Expr: {{Q|{{#var: plantName}} |Real Grow Days}} / (((2.8-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1) round 2}} | ''N/A''}}
 
|-
 
|-
! Base Yield/day<ref>Per plant, assuming Crop Yield Multiplier of 1.0. Note that [[Difficulty]] settings change the Crop Yield Multiplier.</ref>
+
! Base Yield/day<ref><small>Per plant, assuming Crop Yield Multiplier of 1.0. Note that [[Difficulty]] settings change the Crop Yield Multiplier.</small></ref>
 
| {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((0.7-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((0.7-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((1.0-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((1.0-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((1.4-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}
 
| {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((1.4-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}
| {{#if: {{#pos:{{Q|{{#var: plantName}} |SowTags}}|Hydroponic}} | {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((2.8-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}| ''N/A'' <ref>This plant cannot be grown in hydroponics.</ref>}}
+
| {{#if: {{#pos:{{Q|{{#var: plantName}} |SowTags}}|Hydroponic}} | {{#Expr: {{Q|{{#var: plantName}} |Harvest Yield}}/({{Q|{{#var: plantName}} |Real Grow Days}} / (((2.8-1)*{{Q|{{#var: plantName}} |Fertility Sensitivity}}) + 1)) round 2}}| ''N/A''}}
 
|}
 
|}
 
<references />
 
<references />
</li><div>
+
</li><div></includeonly><noinclude>
</includeonly><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 02:24, 17 May 2021

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

Creates a table with a summary of a given plants productivity in a variety of soils and, if relevant, in a Hydroponics basin.

Usage

The first parameter, if present, will designate the plant to be displayed. If absent, the table will default to the displaying the page the template is used on.

Examples

{{Grow Table}}

on the Rice plant page would produce:

  • Ground Type Gravel Soil Rich Soil Hydroponics
    Fertility (%) 70 100 140 280
    Real Grow Time (days)[1] 7.91 5.54 3.96 1.98
    Base Yield/day[2] 0.76 1.08 1.52 3.03
    1. Actual days to grow, taking into account rest time.
    2. Per plant, assuming Crop Yield Multiplier of 1.0. Note that Difficulty settings change the Crop Yield Multiplier.
  • {{Grow Table | Corn plant}}
    

    on any page would produce:

  • Ground Type Gravel Soil Rich Soil Hydroponics
    Fertility (%) 70 100 140 280
    Real Grow Time (days)[1] 29.8 20.86 14.9 N/A
    Base Yield/day[2] 0.74 1.05 1.48 N/A
    1. Actual days to grow, taking into account rest time.
    2. Per plant, assuming Crop Yield Multiplier of 1.0. Note that Difficulty settings change the Crop Yield Multiplier.