Template:GetItemInfo/doc

This template is used to dynamically and reliably display an item's stats. It is based on Module:Iteminfo, which takes its data directly from the source code. This facilitates displaying stats without having to change them in case of updates. can be used as a shortcut for this template.

Usage
Special:  ->

Name or ID of the item
 * First unnamed parameter

Specific stat to be displayed; see the tables below for valid values. If it is omitted, a box with all stats (using iteminfo/all) will be output.
 * Second unnamed parameter

Use this parameter to wrap the variable in the magic word  (documentation). Only available when using a second unnamed parameter.
 * format = y/yes

Use this parameter to output the value exactly as it exists in the source code. See Module:Iteminfo for information about how to interpret the output values. Only available when using a second unnamed parameter. Requires the second unnamed parameter to constitute an original variable name, i.e. no aliases are allowed. is still applicable. Renders the second unnamed parameter case-sensitive.
 * raw = y/yes

Specific stats

 * The Regeneration Potion grants the  buff for   and can be sold for.
 * results in:
 * The Regeneration Potion grants the buff for  and can be sold for.


 * results in:
 * results in:

All stats
Use iteminfo/all or getItemInfo/all to display a box with all available stats of an item. Takes only one parameter – the ID or name of the item.
 * results in: