Difference between revisions of "Template:Item/Resource"
Jump to navigation
Jump to search
Packaged Survival Meal
Line 5: | Line 5: | ||
}}{{#vardefine: deterioration | {{Q| {{#var:name}} | Deterioration Rate Base }} | }}{{#vardefine: deterioration | {{Q| {{#var:name}} | Deterioration Rate Base }} | ||
}}{{#vardefine: hitpoints | {{Q| {{#var:name}} | Max Health Base }} | }}{{#vardefine: hitpoints | {{Q| {{#var:name}} | Max Health Base }} | ||
− | }}{{#vardefine: lasts | {{#ifexpr: {{#var:deterioration}} > 0 | {{#expr: {{#var:hitpoints}} / {{#var:deterioration}} }} | forever }} | + | }}{{#vardefine: lasts | {{#ifexpr: {{#var:deterioration}} > 0 | {{#expr: {{#var:hitpoints}} / {{#var:deterioration}} }} days | forever }} |
}}<div style='float: left; width: 15em; margin: 1em; padding: 0.25em' | }}<div style='float: left; width: 15em; margin: 1em; padding: 0.25em' | ||
><div style='border-bottom: 3px solid #080' | ><div style='border-bottom: 3px solid #080' | ||
Line 12: | Line 12: | ||
>[[{{#var:name}}]]</div | >[[{{#var:name}}]]</div | ||
><ul style='height: 5em; list-style: inside square !important; margin-right: 1.25em; font-size: 80%; color: #080; border-right: 3px solid #080' | ><ul style='height: 5em; list-style: inside square !important; margin-right: 1.25em; font-size: 80%; color: #080; border-right: 3px solid #080' | ||
− | ><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'> | + | ><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'> | + | ><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: | + | ><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}}''' | + | ><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:48, 7 April 2015
[[|none|32px|link= Packaged Survival Meal ]]
- /stack
- has nutrition
- lasts Expression error: Unexpected > operator. outside