Difference between revisions of "Template:Plant Info"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(79 intermediate revisions by 6 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;">{{{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
|content=<div style="padding: 10px 10px;">[[File:{{PAGENAME}}.png|64px|center|caption]]</div>
+
|content=<div style="padding: 10px 10px;">
 +
[[File:{{{Name|{{PAGENAME}}}}}.png|imagesize = 64px|centre|{{{Name|{{PAGENAME}}}}}|link={{{Name|{{PAGENAME}}}}}]]
 +
</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 />
 
'''Minimum Yield'''<div style="float:right;">{{{Minimum Yield}}}{{#Switch: {{{Minimum Yield}}}
 
}}</div>
 
 
<hr />
 
<hr />
'''Growth Time'''<div style="float:right;">{{{Growth Time}}}{{#Switch: {{{Growth Time}}}
+
'''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}}}}}}}
 
<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>
 +
<hr />
 +
{{#if: {{{Beauty|}}}|{{#set:Beauty Base = {{{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