Шаблон:Npc names

Матеріал з Terraria Wiki
Перейти до навігації Перейти до пошуку
Цей шаблон i18n-ready, що означає, що його легко локалізувати для різних мов. Будь ласка, ознайомтеся з i18n та l10n для шаблонів, щоб дізнатися більше.
Див. «Шаблон:Npc names/l10n» для локалізації цього шаблону.
Template-info.svg Документація Наведена нижче документація запозичена з «Шаблон:Npc names/doc». (редагувати | історія)
Для більш повної чи актуальної інформації ви можете переглянути документацію англійською.

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.