Difference between revisions of "Template:Plant (old)"
Jump to navigation
Jump to search
Category
Minimum Fertility
Harvest Destroys?
Harvested Product
Sowing Work
Plant In Ground?
Plant In Hydroponic Table?
Theaetetus (talk | contribs) (Save fertility factor to property and set variable) |
|||
(17 intermediate revisions by 5 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 | + | {{#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}}} | ||
}}</div> | }}</div> | ||
<hr /> | <hr /> | ||
+ | {{#if: {{{Harvest Destroys|}}}|{{#set:Harvest Destroys = {{{Harvest Destroys|}}} }} }} | ||
'''Harvest Destroys?'''<div style="float:right;">{{{Harvest Destroys}}}{{#Switch: {{{Harvest Destroys}}} | '''Harvest Destroys?'''<div style="float:right;">{{{Harvest Destroys}}}{{#Switch: {{{Harvest Destroys}}} | ||
}}</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}}} |
− | <hr /> | + | }}</div>|<div style="float:right;">[[{{{Harvested Product}}}]]{{#Switch: {{{Harvested Product}}} |
− | '''Nutrition'''<div style="float:right;">{{{Nutrition}}}{{# | + | }}</div>}} |
− | }}</div> | + | {{#if: {{{Nutrition|}}}|<hr />'''Nutrition'''<div style="float:right;">{{{Nutrition|}}}{{#set: Nutrition = {{{Nutrition|}}}}}{{#vardefine: Nutrition | {{{Nutrition|}}}}}</div>}} |
<hr /> | <hr /> | ||
+ | {{#if: {{{Sowing Work|}}}|{{#set:Sowing Work = {{{Sowing Work|}}} }} }} | ||
'''Sowing Work'''<div style="float:right;">{{{Sowing Work}}}{{#Switch: {{{Sowing Work}}} | '''Sowing Work'''<div style="float:right;">{{{Sowing Work}}}{{#Switch: {{{Sowing Work}}} | ||
}}</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
Template:Plant (old) has been deprecated or removed from the wiki; it is no longer updated or in use. Reason: Outdated and not used anywhere |
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}}}