Plantilla:Living preferences

De Terraria Wiki
Ir a la navegación Ir a la búsqueda
Esta plantilla tiene su i18n preparado, lo que significa que es fácil de localizar para diferentes lenguas. Por favor vea I18n & l10n para plantillas (en) para aprender más.
Véase Plantilla:Living preferences/l10n para la localización de esta plantilla.
Important.svg
CUIDADO: ¡¡¡El código de la Wiki Terraria es complejo!!!
Si quieres utilizar este código en otra wiki, el staff de wiki.gg no podrá brindarte asistencia.
Por favor considera otra wiki a la cual adaptar su código, ¡o crea tus propias plantillas!
Recuerda que el contenido de una wiki es más importante que el formato elegante.
Template-info.svg Documentación La siguiente documentación es transcluida de Plantilla:Living preferences/doc. (editar | historia)

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