Template:Consumable infobox
Jump to navigation
Jump to search
Infobox for consumables in the game.
Related Modules, Templates, or Tables:
- Module:Infobox
- Basic information from this infobox is stored in the items cargo table
- Template:Items restoration - Declares and stores information for the items restoration cargo table
Syntax
{{Consumable infobox
<!-- These items are only needed if override from default is appropriate. -->
|name = Item name (default is PAGENAME)
|image = Image name.png (default is PAGENAME.png)
|description = Description (default uses the description template and PAGENAME)
<!-- Merchant Data -->
|sellValue = Sell value of the item. (integer)
|sellSuper = Sell value of the super version of the item. (integer)
<!-- Item Data -->
|itemCategory = Category of item. (plain text string)
|subCategory = Sub-category of item. (plain text string)
|itemType = Type of item. (integer)
|seed = Name of the seed that grows this item. Only needed for crops. (plain text string)
|energyGain = Amount of energy the player restores from eating this item. (integer)
|healthGain = Amount of health the player restores from eating this item. (integer)
|energyGainS = Amount of energy the player restores from eating the super vierson of item. (integer)
|healthGainS = Amount of health the player restores from eating the super vierson of item. (integer)
}}
Examples
Blueberries
These little blue berries are rare and pack quite a flavorful punch. | |
Item Information | |
---|---|
Category | Food |
Sub-category | Crop |
Seed | |
Health Gain |
+12 | +9
Merchant Information | |
Sell |
17 24 |
{{Consumable infobox |sellValue = 17 |sellSuper = 24 <!-- Item Data --> |itemCategory = Food |subCategory = Crop |itemType = 4 |seed = Blueberry seeds |energyGain = 17 |healthGain = 9 |energyGainS = 24 |healthGainS = 12 }}
Blueberry Muffin
A fluffy sweet bread baked with blueberries. | |
Item Information | |
---|---|
Category | Food |
Health Gain | +38 |
Merchant Information | |
Sell | 135 |
{{Consumable infobox |sellValue = 135 |sellSuper = <!-- Item Data --> |itemCategory = Food |subCategory = |itemType = 13 |energyGain = 75 |healthGain = 38 |energyGainS = |healthGainS = }}
This template adds rows to the table "Items", which is declared by the template Item infobox/Cargo declare. View table.