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

From RimWorld Wiki
Jump to navigation Jump to search
(Updating to pass data into properties.)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Simple Infobox
+
{{Obsolete|reason=Outdated and not used anywhere}}{{Simple Infobox
 
|header=<div style="font-size:150%; padding: 3px 0px;">Plant Information</div>
 
|header=<div style="font-size:150%; padding: 3px 0px;">Plant Information</div>
 
|float=right
 
|float=right
Line 9: Line 9:
 
'''Category'''<div style="float:right;">{{{Category}}}{{#Switch: {{{Category}}}
 
'''Category'''<div style="float:right;">{{{Category}}}{{#Switch: {{{Category}}}
 
}}</div>
 
}}</div>
{{#if: {{{Fertility Factor|}}}|<hr />'''Fertility Factor'''<div style="float:right;">{{{Fertility Factor|}}}{{#set: Fertility factor = {{{Fertility Factor|}}}}}{{#vardefine: FertilityFactor | {{{Fertility Factor|}}}}}</div>}}
+
{{#if: {{{Fertility Factor|}}}|<hr />'''Fertility Factor'''<div style="float:right;">{{{Fertility Factor|}}}{{#set: Fertility Factor = {{{Fertility Factor|}}}}}{{#vardefine: FertilityFactor | {{{Fertility Factor|}}}}}</div>}}
 
<hr />
 
<hr />
 
'''Minimum Fertility'''<div style="float:right;">{{{Minimum Fertility}}}{{#Switch: {{{Minimum Fertility}}}
 
'''Minimum Fertility'''<div style="float:right;">{{{Minimum Fertility}}}{{#Switch: {{{Minimum Fertility}}}
Line 18: Line 18:
 
}}</div>
 
}}</div>
 
<hr />
 
<hr />
'''Harvested Product'''<div style="float:right;">{{{Harvested Product}}}{{#Switch: {{{Harvested Product}}}
+
{{#if: {{{Harvested Product|}}}|{{#set:Harvested Product = {{{Harvested Product|}}} }} }}{{#vardefine: HarvestedProduct|{{{Harvested Product}}}}}
}}</div>
+
'''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>}}
 
{{#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 />
Line 26: 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>
 
<hr />
 
<hr />
 +
{{#if: {{{In Hydroponic|}}}|{{#set:In Hydroponic = {{{In Hydroponic|}}} }}{{#vardefine: InHydroponic|{{{In Hydroponic}}}}} }}
 
'''Plant In Hydroponic Table?'''<div style="float:right;">{{{In Hydroponic}}}{{#Switch: {{{In Hydroponic}}}
 
'''Plant In Hydroponic Table?'''<div style="float:right;">{{{In Hydroponic}}}{{#Switch: {{{In Hydroponic}}}
 
}}</div>
 
}}</div>
 
<hr />
 
<hr />
 
</div>
 
</div>
}}{{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[Category:Plants|{{PAGENAME}}]]}}
+
}}{{#if: {{{Lifespan Multiplier|}}}|{{#set:Lifespan Multiplier= {{{Lifespan Multiplier|}}} }} }}{{#vardefine: LifespanMultiplier|{{{Lifespan Multiplier}}}
 +
}}{{#if: {{{Wild Cluster Size|}}}|{{#set:Wild Cluster Size= {{{Wild Cluster Size|}}} }} }}{{#vardefine: WildClusterSize|{{{Wild Cluster Size}}}
 +
}}{{#if: {{{Radius|}}}|{{#set:Radius= {{{Radius|}}} }} }}{{#vardefine: Radius|{{{Radius}}}
 +
}}{{#if: {{{Seed Time|}}}|{{#set:Seed Time= {{{Seed Time|}}} }} }}{{#vardefine: Seed Time|{{{Seed Time}}}
 +
}}{{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[:Category:Plants|{{PAGENAME}}]]}}

Latest revision as of 09:52, 23 June 2022

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}}}

Plant (old)