Template:Item infobox

From Little-Known Galaxy Wiki
Jump to navigation Jump to search

This template adds rows to the table "Items", which is declared by the template Item infobox/Cargo declare. View table.

Template-info.svg Documentation Edit this documentation at Template:Item_infobox/doc.

Infobox for items in the game

Related Modules, Templates, or Tables:

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

Bag o' marbles.png
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 Credits.png
{{Item infobox
|sellValue   = 30
|itemCategory = Artifact
|subCategory = 
|itemType    = 2
|planet      = Iceladus
|museum      = Yes }}

Decorations

Ocean armchair.png
A seashell inspired armchair.
Item Information
Category Decoration
Sub-category Chair
Merchant Information
Sell 150 Credits.png
{{Item infobox
|sellValue   = 150
|itemCategory = Decoration
|subCategory = Chair
|itemType    = 6
|itemSet     = [[:Category:Ocean decoration set]] }}

Machine

Battery generator.png
A machine designed to collect solar energy and regularly produce a fully charged battery.
Item Information
Category Machine
Merchant Information
Sell 200 Credits.png
{{Item infobox
|sellValue   = 200
|itemCategory = Machine
|subCategory = 
|itemType = 10 }}