Шаблон:Living preferences

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

This template may be inserted into the page of any NPC; it will generate and fill a table with the NPC's corresponding biome and neighbor preferences.

Alternatively, if used on a page of a biome which affects NPC happiness, it will display a table with the NPCs that are affected by it.

Usage

All parameters are optional.

{{ living preferences | <NPC/biome name> | npc = <NPC name> | id = <NPC ID> | biome = <biome name> }}

By default, the template will not need any parameters if used on a page that is a valid NPC or biome name. If not used on such a page, or in case of unexpected behavior, the set of parameters allows manually specifying the NPC or biome name. No more than one of the available parameters should be used.

First unnamed parameter

Name of the NPC or biome. The template will automatically detect whether the parameter value is the name of a biome that it has data for; if that is not the case, it will assert that the value is an NPC name.

npc

Name of the NPC.

id

ID of the NPC.

biome

Name of the biome.

See also

  • {{living preferences/check}}, a template used for displaying information about a specific NPC-to-NPC or NPC-to-biome relation