Difference between revisions of "Template:Plant Info"

From RimWorld Wiki
Jump to navigation Jump to search
 
(18 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: [[File:{{{Name|{{PAGENAME}}}}}.png]]|{{#set:Image = [[File:{{{Name|{{PAGENAME}}}}}.png]] }} }}
+
{{#set:Image = [[File:{{{Name|{{PAGENAME}}}}}.png]]}}
 
<div style="padding: 10px 10px;">
 
<div style="padding: 10px 10px;">
 
<hr />
 
<hr />
Line 23: Line 24:
 
<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