Difference between revisions of "Template:Item/Resource"

From RimWorld Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
><ul style='height: 5em; list-style: inside square !important; margin-right: 1.25em; font-size: 80%; color: {{#var:color}}; border-right: 3px solid'
 
><ul style='height: 5em; list-style: inside square !important; margin-right: 1.25em; font-size: 80%; color: {{#var:color}}; border-right: 3px solid'
 
><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>{{#var:value}}{{Icon|silver}}</span></li
 
><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>{{#var:value}}{{Icon|silver}}</span></li
><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>{{#var:stacks}}/stack</span></li
+
{{#if: {{#var:nutrition}}|><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>{{#var:stacks}}/stack</span></li}}
 
><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>has '''{{#var:nutrition}} nutrition'''</span></li
 
><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>has '''{{#var:nutrition}} nutrition'''</span></li
 
><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>lasts '''{{#var:lasts}}''' outside</span></li
 
><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>lasts '''{{#var:lasts}}''' outside</span></li

Revision as of 14:55, 7 April 2015

[[|none|32px|link= Packaged Survival Meal ]]
Packaged Survival Meal
  • Silver
  • has nutrition
  • lasts Expression error: Unexpected > operator. outside