Owl.png Wiki reading hard on the eyes? Try out our Dark Theme! Visit the preferences page while logged in and select Hydra Dark. Owl.png

Template:NpcNameFromId

From Terraria Wiki
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[edit source]

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

First unnamed parameter

ID of the NPC.

Examples[edit source]

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

See also[edit source]