Template:Infobox consumable/doc
Jump to navigation
Jump to search
Infobox specifically to use with consumable items like Food or Potions.
Usage
{{Infobox 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. | weight = [Mandatory] Weight of item | hunger = Hunger restored, if any | thirst = Thirst restored, if any | effects = Effects of item, if any | buy = [Mandatory] Cost to buy | sell = [Mandatory] Cost to sell | related = Related items or links. }}
Example
{{Infobox consumable | name = Alpha Jerky | image = Alpha Jerky.png | size = | weight = | hunger = 200 | thirst = | effects = [[Health Recovery]] 3<br>[[Rage]]<br>[[Impact Resistance Up]] | buy = | sell = | related = }}
Template:Infobox consumable is now obsolete. Please use Template:Item for generic items and Template:Item consumable for consumable items like Food, Potions or Imbues. New templates use Extension:Cargo which will be required for automation from now on.
Alpha Jerky | |
---|---|
![]() | |
Details | |
Weight |
??? |
200 | |
Effects |
Health Recovery 3 Rage Impact Resistance Up |
Buy |
??? ![]() |
Sell |
??? ![]() |
See Also
- Template:Infobox_weapon — Infobox for weapons
- Template:Infobox_armor — Infobox for armor
- Template:Infobox — Infobox for generic items
- 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.