Шаблон:Npc names/doc

Матеріал з Terraria Wiki
Перейти до навігації Перейти до пошуку

This template displays the list of possible names of an NPC. The data is taken from Terraria's source code via the database template and {{gameText}}. Template:Npc names/db-en contains a few manual adjustments.

For displaying a list in the style of this template with completely manual input, see {{names list}}.

Usage

All parameters are optional.

{{ npc names | <name of the NPC> | id = <ID of the NPC> | notext = y/yes | article = <custom article> }}

First unnamed parameter

Name of the NPC of whom to display the names. Defaults to page name.

id

NPC ID of the NPC of whom to display the names. Will be filled in automatically as well, but can be used as an alternative to the first unnamed parameter for manually specifying the NPC, e.g. when using the ID instead of the name is more convenient.

notext

By default, the list of names will be preceded by a short sentence. Set this parameter to suppress display of that text.

article

Custom article for the NPC; only relevant for languages with different grammatical genders. Defaults to the default_article specified in the localization database ("The" for English). Has no effect if $text is set.