Template:Misc item page: Difference between revisions

Jump to navigation Jump to search
(Usage cost -> action type)
(Removed the old camp supplies table)
Line 40: Line 40:
| #default = [[{{{type}}}]]
| #default = [[{{{type}}}]]
}} </li> {{#if: {{{camp supplies|}}} |
}} </li> {{#if: {{{camp supplies|}}} |
<li> {{Camp Supplies}}: {{{camp supplies}}} </li> {{main namespace only|{{#cargo_store:
<li> {{Camp Supplies}}: {{{camp supplies}}} </li> }} {{#if: {{{single use|}}} |
_table=camp_supplies
|supplies={{{camp supplies|0}}}
|price={{{price|1}}}
|is_drink={{#switch:{{{type|}}}|Drinks=yes|#default=no}}
}} }} }} {{#if: {{{single use|}}} |
<li> {{SmallIcon|Consumables Icon.png}} Single Use </li>
<li> {{SmallIcon|Consumables Icon.png}} Single Use </li>
}}
}}
Line 144: Line 139:
|action_type = {{{usage cost|}}}
|action_type = {{{usage cost|}}}
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
_table=camp_supplies
|is_drink = Boolean
|supplies = Integer
|price = Integer
}}{{#cargo_declare:
_table=misc_items
_table=misc_items
|name = String (mandatory)
|name = String (mandatory)