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.


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

First unnamed parameter

ID of the NPC.


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

See also