Template:Infobox/doc

The Infobox template displays a generic infobox for a wide variety of items. Note that several categories of item have customized variants of the generic infobox; see Category:Infobox templates for a complete listing.

Parameters
All parameters are named and optional. Only parameters relevant to the current item should be provided (completely delete irrelevant ones to fully omit from the infobox). Default value for all arguments is empty, unless specified otherwise.


 * name = item_name
 * Name of item. Default is page name


 * image = image_name
 * Name of image(s) to display in infobox. Default is page_name.png
 * If more than one image should be displayed, multiple image names can be provided, separated by commas. For example, use image=Egg, Brown Egg to display Egg.pngBrown_Egg.png.
 * The image names should include the extension (.jpg, .gif, etc) if the images are not in .png format; otherwise the extension is optional and .png will automatically be appended


 * description = description
 * In-game description of the item. Populated by Template:Description if omitted.
 * Note that the description is expected to exactly match the in-game description -- if there are typos, errors, etc., they should be reproduced exactly.


 * location = values
 * Locations where the item can be found, in particular via foraging
 * If only a single location is provided, the value can be plain text and will be auto-converted into a link.
 * If multiple locations are provided, each should be formatted as a link, and the values separated by a bullet ( &bullet; )


 * source = values
 * How to obtain the item (other than foraging)
 * If only a single location is provided, the value can be plain text and will be auto-converted into a link.
 * If multiple locations are provided, each should be formatted as a link, and the values separated by a bullet ( &bullet; )


 * sellprice = sellprice
 * Base price of the item, as extracted from ObjectInformation.xnb


 * type = fruit, vegetable
 * Only recognized values are fruit and vegetable
 * Causes information on derived Wine, Jelly, Juice, and Pickles to be automatically added to the infobox


 * season = season
 * The name of the season(s) when this item is available; if multiple seasons are possible, they should be comma-separated
 * Possible values are: Spring, Summer, Fall, Winter, All Seasons
 * Values should be plain text (no links, no icons); template will automatically apply formatting
 * See Template:Season for details.
 * For items which are obviously not dependent upon the season (furniture, minerals, etc.), this line should be omitted entirely (to remove the section from the infobox).


 * growth = days
 * Only relevant for crops; number of days to grow (without any fertilizers, etc.)
 * The text should not just be a number, but should also include "days", e.g., growth=4 days


 * workstation = name
 * The name of the equipment necessary to produce this item.
 * Use the name template, e.g., workstation= 


 * ingredients = values
 * List of all ingredients / source items necessary to produce this item
 * The Name template should be used to format each item name and specify the quantity necessary


 * 'recipe = value''
 * Where the player obtains/learns the recipe necessary to produce this item


 * crafttime = value
 * Time necessary to produce this time


 * xp = values
 * XP points (and type of XP) gained when item is harvested/caught etc.e


 * price_ncols = ncols
 * Set to 1 to force prices to be displayed vertically, in all right-hand column; set to 2 or 3 to force prices to be displayed horizontally.

Examples
The code below generates the infobox shown to the right.

The code below generates the infobox shown to the right.