Difference between revisions of "Template:Plant Info"

From RimWorld Wiki
Jump to navigation Jump to search
 
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>{{Simple Infobox
+
<noinclude>{{Obsolete|reason=Outdated and not used anywhere}}
|header=<div style="font-size:150%; padding: 3px 0px;link=white">[[{{{Name|{{FULLPAGENAME}}}}}]]</div>
+
{{Plant Info|Name=Potato plant}}
 +
</noinclude><includeonly>{{Simple Infobox
 +
|header=<div style="font-size:150%; padding: 3px 0px;link=white;color: White;">{{{Name|{{FULLPAGENAME}}}}}</div>
 
|float=right
 
|float=right
 
|clear=right
 
|clear=right
 
|width=300px
 
|width=300px
|image = {{{Name|{{PAGENAME}}}}}.png|imagesize = 64px|{{{Name|{{PAGENAME}}}}}|redirect={{{Name|{{PAGENAME}}}}}
 
 
|content=<div style="padding: 10px 10px;">
 
|content=<div style="padding: 10px 10px;">
 
+
[[File:{{{Name|{{PAGENAME}}}}}.png|imagesize = 64px|centre|{{{Name|{{PAGENAME}}}}}|link={{{Name|{{PAGENAME}}}}}]]
 
 
 
</div>
 
</div>
 +
{{#set:Image = [[File:{{{Name|{{PAGENAME}}}}}.png]]}}
 
<div style="padding: 10px 10px;">
 
<div style="padding: 10px 10px;">
 
<hr />
 
<hr />
'''Maximum Yield'''<div style="float:right;">{{{Maximum Yield}}}{{#Switch: {{{Maximum Yield}}}
+
'''Maximum Yield'''<div style="float:right;">{{{Maximum Yield}}}{{#Switch: {{{Maximum Yield}}}}}</div>
}}</div>
+
{{#set: Maximum Yield = {{{Maximum Yield|}}}}}{{#vardefine: MaximumYield|{{{Maximum Yield}}}}}
 
<hr />
 
<hr />
'''Minimum Yield'''<div style="float:right;">{{{Minimum Yield}}}{{#Switch: {{{Minimum Yield}}}
+
'''Minimum Yield'''<div style="float:right;">{{{Minimum Yield}}}{{#Switch: {{{Minimum Yield}}}}}
}}</div>
+
</div>{{#set: Minimum Yield = {{{Minimum Yield|}}}}}{{#vardefine: MinimumYield|{{{Minimum Yield}}}}}
{{#if: {{{Growth Time|}}}|<hr />'''Growth Time'''<div style="float:right;">{{{Growth Time|}}} days</div>{{#set: Growth time = {{{Growth Time|}}}}}{{#vardefine: GrowthTime|{{{Growth Time}}}}}}}
+
{{#if: {{{Growth Time|}}}|<hr />'''Growth Time'''<div style="float:right;">{{{Growth Time|}}} days</div>{{#set: Growth Time = {{{Growth Time|}}}}}{{#vardefine: GrowthTime|{{{Growth Time}}}}}}}
 
<hr />
 
<hr />
 +
{{#set: Max Hit Points Base = {{{Hitpoints|}}}}}
 
'''Hitpoints'''<div style="float:right;">{{{Hitpoints}}}{{#Switch: {{{Hitpoints}}}
 
'''Hitpoints'''<div style="float:right;">{{{Hitpoints}}}{{#Switch: {{{Hitpoints}}}
 
}} HP</div>
 
}} HP</div>
 
<hr />
 
<hr />
 
{{#if: {{{Beauty|}}}|{{#set:Beauty Base = {{{Beauty|}}} }} }}
 
{{#if: {{{Beauty|}}}|{{#set:Beauty Base = {{{Beauty|}}} }} }}
'''Beauty'''<div style="float:right;">{{{Beauty}}}{{#Switch: {{{Beauty}}}
+
'''Beauty'''<div style="float:right;">{{{Beauty|neutral}}}{{#Switch: {{{Beauty}}}
 
}}</div>
 
}}</div>
 
<hr />
 
<hr />
 
</div>
 
</div>
}}{{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[Category:Plants|{{PAGENAME}}]]}}</onlyinclude>
+
}}{{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[:Category:Plants|{{PAGENAME}}]]}}</includeonly>

Latest revision as of 23:28, 19 March 2023

Potato plant
Potato plant

Maximum Yield
{{{Maximum Yield}}}

Minimum Yield
{{{Minimum Yield}}}

Hitpoints
{{{Hitpoints}}} HP

Beauty
neutral

Plant Info