Difference between revisions of "Template:Plant Info"

From RimWorld Wiki
Jump to navigation Jump to search
(Moved horizontal row tag.)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>{{Simple Infobox
+
<noinclude>{{Obsolete|reason=Outdated and not used anywhere}}
 +
{{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>
 
|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
[[File:{{{Name|{{PAGENAME}}}}}.png|imagesize = 64px|centre|{{{Name|{{PAGENAME}}}}}|link={{{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}}}}}]]
 
[[File:{{{Name|{{PAGENAME}}}}}.png|imagesize = 64px|centre|{{{Name|{{PAGENAME}}}}}|link={{{Name|{{PAGENAME}}}}}]]
 
</div>
 
</div>
{{#ifexist: {{{Name|{{PAGENAME}}}}}.png|{{#set:Image = {{{Name|{{PAGENAME}}}}}.png}} }}
+
{{#set:Image = [[File:{{{Name|{{PAGENAME}}}}}.png]]}}
 
<div style="padding: 10px 10px;">
 
<div style="padding: 10px 10px;">
 
<hr />
 
<hr />
Line 21: Line 22:
 
'''Hitpoints'''<div style="float:right;">{{{Hitpoints}}}{{#Switch: {{{Hitpoints}}}
 
'''Hitpoints'''<div style="float:right;">{{{Hitpoints}}}{{#Switch: {{{Hitpoints}}}
 
}} HP</div>
 
}} HP</div>
{{#if: {{{Beauty|}}}|{{#set:Beauty Base = {{{Beauty|}}} }}
 
 
<hr />
 
<hr />
'''Beauty'''<div style="float:right;">{{{Beauty}}}{{#Switch: {{{Beauty}}}
+
{{#if: {{{Beauty|}}}|{{#set:Beauty Base = {{{Beauty|}}} }} }}
}}</div>}}
+
'''Beauty'''<div style="float:right;">{{{Beauty|neutral}}}{{#Switch: {{{Beauty}}}
 +
}}</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