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.)
Line 19: Line 19:
 
<hr />
 
<hr />
 
{{#if: {{{Harvested Product|}}}|{{#set:Harvested Product = {{{Harvested Product|}}} }} }}
 
{{#if: {{{Harvested Product|}}}|{{#set:Harvested Product = {{{Harvested Product|}}} }} }}
'''Harvested Product'''<div style="float:right;">[[{{{Harvested Product}}}]]{{#Switch: {{{Harvested Product}}}
+
'''Harvested Product'''{{#ifeq: {{{Harvested Product|}}}|NA|<div style="float:right;">NA{{#Switch: {{{Harvested Product}}}
}}</div>
+
}}</div>|<div style="float:right;">[[{{{Harvested Product}}}]]{{#Switch: {{{Harvested Product}}}
 +
}}</div>}}
 
{{#if: {{{Nutrition|}}}|<hr />'''Nutrition'''<div style="float:right;">{{{Nutrition|}}}{{#set: Nutrition = {{{Nutrition|}}}}}{{#vardefine: Nutrition | {{{Nutrition|}}}}}</div>}}
 
{{#if: {{{Nutrition|}}}|<hr />'''Nutrition'''<div style="float:right;">{{{Nutrition|}}}{{#set: Nutrition = {{{Nutrition|}}}}}{{#vardefine: Nutrition | {{{Nutrition|}}}}}</div>}}
 
<hr />
 
<hr />

Revision as of 05:19, 23 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}}}