Editing Template:Item/Resource
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | {{ #vardefine: name | {{{?Name | Packaged Survival Meal}}} | |
− | {{ #vardefine: name | {{{?Name | Packaged | ||
− | |||
}}{{#vardefine: value | {{Q| {{#var:name}} | Market Value Base }} | }}{{#vardefine: value | {{Q| {{#var:name}} | Market Value Base }} | ||
}}{{#vardefine: nutrition | {{Q| {{#var:name}} | Nutrition }} | }}{{#vardefine: nutrition | {{Q| {{#var:name}} | Nutrition }} | ||
Line 7: | 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}} }} | + | }}{{#vardefine: lasts | {{#ifexpr: {{#var:deterioration}} > 0 | {{#expr: {{#var:hitpoints}} / {{#var:deterioration}} }} | 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 | + | ><div style='border-bottom: 3px solid #080' |
><div style='float: right' | ><div style='float: right' | ||
− | >{{Icon | + | >{{Icon Medium| {{#var:name}} }}</div |
>[[{{#var:name}}]]</div | >[[{{#var:name}}]]</div | ||
− | ><ul style='height: 5em; list-style: inside square !important; margin-right: 1.25em; font-size: 80%; color: | + | ><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'>{{#var:value}} | + | ><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>'''{{#var:value}}''' silver</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'>'''{{#var:nutrition}}''' nutrition</span></li |
− | + | ><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>'''{{#var:stacks}}''' per stack</span></li | |
− | + | ><li style='float: left; white-space: nowrap; margin-right: 1em'><span style='color: #000'>lasts '''{{#var:lasts}}''' days outside</span></li | |
></ul | ></ul | ||
></div | ></div | ||
> | > |