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:  results in:

Name or ID of the item. If it is the ID of the item,  can be used.
 * First unnamed parameter / id

Specific stat to be displayed; see the tables below for valid values.
 * Second unnamed parameter / field

See below for how to output all stats.

Use this parameter to wrap the output in the magic word. 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, for instance for further calculations with the  parser function. 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: