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
{{#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'>{{#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
+
{{#if: {{#var:nutrition}} |><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
+
{{#if: {{#var:hitpoints}} |><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>lasts '''{{#var:lasts}}''' outside</span></li}}
 
></ul
 
></ul
 
></div
 
></div
 
>
 
>

Revision as of 14:56, 7 April 2015

[[|none|32px|link= Packaged Survival Meal ]]
Packaged Survival Meal
  • Silver
  • /stack