Template:Item infobox/doc
Jump to navigation
Jump to search
Infobox for items in the game
Related Modules, Templates, or Tables:
- Module:Infobox
- Template:Item infobox/Cargo declare - Declares the items cargo table
- Template:Items restoration - Declares and stores information for the items restoration cargo table
Syntax
{{Item 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)
<!-- These should be applicable to nearly every item -->
|sellValue = Sell value of the normal item. (integer)
|sellSuper = Sell value of the super version of the item. (integer)
|itemCategory = Category of item. (plain text string)
|subCategory = Sub-category of item. (plain text string)
|itemType = Type of item. (integer)
|planet = If this item comes from a specific planet, put the name of the planet. (planet text string)
<!-- Restoration information -->
|energyGain = Amount of energy the player restores from eating this item. (integer)
|healthGain = Amount of health the player restores from eating this item. (integer)
}}
List of current itemType
and subType
options: here.
Examples
Artifact
Someone has lost their marbles. This shiny stone game can be played inside or outside your igloo with friends and family. | |
Item Information | |
---|---|
Category | Artifact |
Planet |
|
Merchant Information | |
Sell | 30 |
{{Item infobox |sellValue = 30 |itemCategory = Artifact |subCategory = |itemType = 2 |planet = Iceladus |museum = Yes }}
Decorations
A seashell inspired armchair. | |
Item Information | |
---|---|
Category | Decoration |
Sub-category | Chair |
Merchant Information | |
Sell | 150 |
{{Item infobox |sellValue = 150 |itemCategory = Decoration |subCategory = Chair |itemType = 6 |itemSet = [[:Category:Ocean decoration set]] }}
Machine
A machine designed to collect solar energy and regularly produce a fully charged battery. | |
Item Information | |
---|---|
Category | Machine |
Merchant Information | |
Sell | 200 |
{{Item infobox |sellValue = 200 |itemCategory = Machine |subCategory = |itemType = 10 }}