Template:Misc item page: Difference between revisions

Jump to navigation Jump to search
Removed the old camp supplies table
mNo edit summary
(Removed the old camp supplies table)
(4 intermediate revisions by the same user not shown)
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 137: Line 132:
|uid={{{uid|}}}
|uid={{{uid|}}}
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}}
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}}
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
}}{{main namespace only|{{#cargo_store:
_table=camp_supplies
_table=misc_items
|is_drink = Boolean
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
|supplies = Integer
|uid = {{{uid|}}}
|price = Integer
|camp_supplies = {{{camp supplies|0}}}
|action_type = {{{usage cost|}}}
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
_table=misc_items
|name = String (mandatory)
|uid = String
|type = String(allowed values = Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Instruments, Containers, Misc, Notes, Alchemical Ingredients, Alchemical Extracts, Dyes)
|image = File
|controller_icon = File
|icon = File
|description = WikiText
|quote = String
|camp_supplies = Integer
|rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story)
|action_type = String
|effect = WikiText
|condition_duration = String
|condition_save = String
}}</noinclude>
}}</noinclude>

Navigation menu