Template:GetNpcInfo/doc

This template is used to dynamically and reliably display an NPC's stats. It is based on Module:Npcinfo, 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.

An example usage can be found on the Bosses page, where the health of almost every boss is presented using this template.

Usage
ID of the NPC or name of the NPC, as used in the database: Template:NpcIdFromName.
 * First unnamed parameter

Specific stat to be displayed; see the tables below for valid values. If it is omitted or empty, a box with all stats 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:Npcinfo 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

Examples

 * The Eye of Cthulhu has  /   health and deals   damage. It is immune to the   debuff.
 * results in:
 * The Eye of Cthulhu has /  health and deals  damage. It is immune to the  debuff.


 * results in:
 * results in:
 * results in:
 * results in:
 * results in:
 * results in: