Template:Item infobox/doc

This template is used for displaying the infobox for an item. It is one of the most important and most powerful infobox templates.

Usage
While the template is extremely versatile, its main functionality is to display the standard infobox.

The data which is to be displayed can be manually entered when calling the template, but thanks to iteminfo, the vast majority of data is generated automatically. To enable automatic data, use the parameter auto and set it to the ID of the item (alternatively:  and either ,  , or nothing else – the latter two methods will cause the template to automatically generate the ID using itemNameFromId, with the last method using the page title for name reference). This way, all relevant item parameters are set automatically. See the table below for affected parameters. However, they can still be overridden and manually entered parameters always take precedence over the automatic ones.

Basic parameters

 * Notes&#58;
 * The dollar sign ($) is used to signify that the word after it is the name of a template parameter.
 * All parameters which have a default value listed can usually be omitted. Note that this does not mean that parameters which do not have a default value listed should always be filled in.

View-related parameters
By default, an item infobox is displayed in the standard infobox style, a boxed, table-like listing of stats on the right of the article text. It is possible to change the display format (called "view"), however – there are four other views available: custom, item, table, and void (additionally test). They can be selected via the $view (aliases: $mode, $output) parameter. Each view has an own subpage which contains the code for the respective output.

Subpages
There are numerous supplemental subpages which are mainly used for formatting certain data: