Difference between revisions of "Template:Item/Resource"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{  #vardefine: name          | {{{?Name          | Packaged Survival Meal}}}
+
{{Obsolete|reason=unused}}
 +
{{  #vardefine: name          | {{{?Name          | Packaged survival meal}}}
 
}}{{#vardefine: color        | {{{userparam|#080}}}
 
}}{{#vardefine: color        | {{{userparam|#080}}}
 
}}{{#vardefine: value        | {{Q| {{#var:name}} | Market Value Base }}
 
}}{{#vardefine: value        | {{Q| {{#var:name}} | Market Value Base }}
Line 10: Line 11:
 
><div style='border-bottom: 3px solid {{#var:color}}'
 
><div style='border-bottom: 3px solid {{#var:color}}'
 
><div style='float: right'
 
><div style='float: right'
>{{Icon Medium| {{#var:name}} }}</div
+
>{{Icon Big| {{#var:name}} |size=32}}</div
 
>[[{{#var:name}}]]</div
 
>[[{{#var:name}}]]</div
 
><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 Small|silver}}</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'>{{#var:stacks}}/stack</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}}
 
{{#if: {{#var:nutrition}} |><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>has '''{{#var:nutrition}} nutrition'''</span></li}}

Latest revision as of 12:19, 31 July 2023

  • 24 Silver
  • 10/stack
  • has 0.9 nutrition