Difference between revisions of "Template:Plant (old)"

From RimWorld Wiki
Jump to navigation Jump to search
(Changed Harvested Product to not display as link when set to NA.)
(added properties "Harvest Product", "In Ground")
Line 18: Line 18:
 
}}</div>
 
}}</div>
 
<hr />
 
<hr />
{{#if: {{{Harvested Product|}}}|{{#set:Harvested Product = {{{Harvested Product|}}} }} }}
+
{{#if: {{{Harvested Product|}}}|{{#set:Harvested Product = {{{Harvested Product|}}} }} }}{{#vardefine: HarvestedProduct|{{{Harvested Product}}}}} }}
 
'''Harvested Product'''{{#ifeq: {{{Harvested Product|}}}|NA|<div style="float:right;">NA{{#Switch: {{{Harvested Product}}}
 
'''Harvested Product'''{{#ifeq: {{{Harvested Product|}}}|NA|<div style="float:right;">NA{{#Switch: {{{Harvested Product}}}
 
}}</div>|<div style="float:right;">[[{{{Harvested Product}}}]]{{#Switch: {{{Harvested Product}}}
 
}}</div>|<div style="float:right;">[[{{{Harvested Product}}}]]{{#Switch: {{{Harvested Product}}}
Line 28: Line 28:
 
}}</div>
 
}}</div>
 
<hr />
 
<hr />
 +
{{#if: {{{In Ground|}}}|{{#set:In Ground= {{{In Ground|}}} }}{{#vardefine: InGround|{{{In Ground}}}}} }}
 
'''Plant In Ground?'''<div style="float:right;">{{{In Ground}}}{{#Switch: {{{In Ground}}}
 
'''Plant In Ground?'''<div style="float:right;">{{{In Ground}}}{{#Switch: {{{In Ground}}}
 
}}</div>
 
}}</div>

Revision as of 21:35, 24 September 2016

Plant Information

Category
{{{Category}}}

Minimum Fertility
{{{Minimum Fertility}}}

Harvest Destroys?
{{{Harvest Destroys}}}

Harvested Product
[[{{{Harvested Product}}}]]

Sowing Work
{{{Sowing Work}}}

Plant In Ground?
{{{In Ground}}}

Plant In Hydroponic Table?
{{{In Hydroponic}}}

}}