Template:NpcNameFromId

From Terraria Wiki
Revision as of 23:48, 13 October 2020 by Dinoxel (talk | contribs) (1.4.1 update)
Jump to: navigation, search
Template-info.svg Documentation The documentation below is transcluded from Template:NpcNameFromId/doc. (edit | history)

This template returns the name of an NPC based on its NPC ID.

Usage

{{NpcNameFromId | <NPC id> (optional) }}

First unnamed parameter

ID of the NPC.

Examples

Code result
{{NpcNameFromId|-59}} Big Honey Hornet
{{NpcNameFromId|342}} Gingerbread Man
{{NpcNameFromId| 342 }} Gingerbread Man
{{NpcNameFromId|}}
{{NpcNameFromId|1380}}

See also