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.

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

Usage
Name of the NPC, as used in the database: Template:NpcIdFromName. You can also use the ID of the NPC directly using the  parameter, which overrides the first unnamed parameter.
 * First unnamed parameter

Specific stat to be displayed; see the table 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

Examples

 * The Eye of Cthulhu has  /   health and deals   damage.
 * results in:
 * The Eye of Cthulhu has /  health and deals  damage.


 * results in:
 * results in: