Template:Item infobox/doc

This template mostly deals with data setup and processing. The actual infobox layout is maintained separately at Item infobox/layout.

Parameters

 * name
 * This is the name of the item. By default it will use . Setting this parameter will affect which data page is used, if any.


 * datapage
 * This is the data page that should be used for the item if looking it up by name would not work or produces and incorrect result, such as in the case of two items having the same name.


 * icon
 * The item's icon


 * rarity
 * The item's rarity. See rarity icon for a list of rarities with their associated colors and icon borders. The numeric values are only intended for use in the Data namespace, please use the text values when manually filling in infoboxes (i.e. use "basic" instead of "1").


 * type
 * The item's type (referred to internally as 'category').

to insert new lines. Many descriptions contain yellow text where they refer to other items, such as the word "barely" in the description of Ground Grain. For this yellow text you can use the following code:
 * desc/description
 * The item's description. Use

text


 * coin cost
 * This is the cost of the item in coins when it is purchased from a merchant. See coin for formatting.


 * shop value
 * This is the value of the item in coins when it is sold to a merchant. See coin for formatting.