Template:Item consumable/doc
Jump to navigation
Jump to search
Infobox specifically to use with Consumable items like Food, Potions or Imbues.
Usage
{{Item consumable | name = Name, leave blank to default to pagename. | image = Image file name, try {{PAGENAME}}.png or leave blank | size = Leave blank to default to 84px. | type = One of: Food, Potion, Imbue | hunger = Hunger restoration, if any | thirst = Thirst restoration, if any | effects = Effects of item, if any | weight = [Mandatory] Weight of item | buy = [Mandatory] Cost to buy | sell = [Mandatory] Cost to sell | related = Related items or links. }}
Example
Alpha Jerky | |
---|---|
![]() | |
Consumable Details | |
Type |
Food |
10% | |
Impact Resistance Up Health Recovery 3 Rage | |
9 Days 4 Hours | |
Item Details | |
Weight |
??? |
Buy |
??? ![]() |
Modding | |
Object ID |
{{Item consumable | name = Alpha Jerky | image = Alpha Jerky.png | size = | durability = 9 Days 4 Hours | type = Food | hunger = 100 | thirst = | effects = [[Impact Resistance Up]]<br>[[Health Recovery]] 3<br>[[Rage]] | weight = | buy = | sell = | related = }}
Item Infoboxes
- Template:Item — Infobox for generic items
- Template:Item_weapon — Infobox for weapons
- Template:Item_armor — Infobox for armor and sets
- Template:Item_consumable — Infobox for consumable items
- Template:Item_equipment — Infobox for equipment items that are neither weapons or armor
- Category:Infobox_templates — other Infoboxes
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.