Template:GetEquipInfo/doc

This template is used to dynamically display the effects of one or several equipped armor items or accessories, or a list of items which have a certain effect when equipped. It takes its data from the database which is based on the source code of Terraria.

List effects of item
Specify the item(s) in question; defaults to page name. Only one out of these should be used. Multiple items are to be separated with a slash (/).
 * First unnamed parameter, item, and id

Set the first unnamed parameter to statlist and omit all other parameters to print a list of all available stats.

Specify a stat to query; may only be a value from those in the list to the right. May be omitted if $list is set. See Template:GetEquipInfo/l10n for hints on the meaning of the stat names.
 * Second unnamed parameter

Set this parameter to display all stats of an accessory. The second unnamed parameter will be ignored.
 * list

By default, a stat's value will be displayed with some basic formatting to improve readability. Set this parameter to display the raw value as it is in the source code. If used with $list, will display the effects in a  format.
 * raw

List items with effect
This functionality is handled by equipinfo/list.

Specify a stat to look for. The template will fetch all items that have this stat set to any value. $where takes precedence over this parameter.
 * First unnamed parameter

Specify a custom query string in ; the queried database is the Equipinfo cargo table. Using the first unnamed parameter is equivalent to.
 * where

By default, the template will merely display a list of item IDs which match the queried effect. There are some predefined formatting options to convert this list into a more usable one: itemname replaces the IDs by the respective item names, and,  , and   produce a list of the respective type with all IDs replaced by items. Use the respective /options subtemplates to take control of the list templates' parameters. Specifying any other format option will result in an error.
 * format

Custom formatting may be applied by simply passing the output of this template to, for instance, one of the list handling functions of the ParserPower extension, like.

Specify the list separator of the result list, ;&#32; by default. Only has an effect when using the itemname or default $format option.
 * sep

Specify the stat by which the result list should be ordered; defaults to item ID. The parameter accepts SQL syntax.
 * orderby