Plantilla:Bestiary

De Terraria Wiki
Ir a la navegación Ir a la búsqueda
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for templates to learn more.
See Plantilla:Bestiary/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Plantilla:Bestiary/doc. (edit | history)

Displays the Bestiary entry of a character using the name of the page. Should be transcluded at the end of the Trivia section on every page that deals with a character included in the Bestiary.

Usage

The template has two modes: one for a single bestiary entry, which will display a single bullet point, and one for multiple entries at once, which will display an entire subsection with a list of entries.

"Single" mode

All parameters are optional.

{{ bestiary | <name of the character> | alias = <name replacement> | article = <custom article> }}

First unnamed parameter

Name of the character whose Bestiary entry is to be displayed. Defaults to the name of the page.

alias

Replacement of the character's name in the output text.

article

Article to use in front of the character's name. Defaults to "the". Set it to nothing to suppress display of an article altogether.

"Multiple" mode

{{ bestiary | <name of character 1> | <name of character 2> | <name of character 3> (optional) | ... | <name of character n> (optional) | <name>-alias = <name replacement> }}

Unnamed parameters

Names of the characters whose entries are to be displayed. The order of the parameters determines the order in the output.

<name>-alias

Replacement of the character's name in the output text. <name> must be equal to the respective character's name as entered into the template.

Examples

Code Result Note
"Single" mode
{{bestiary}}
  • The BestiarioBestiario entry for the Slime azul: "¡Una sencilla criatura gelatinosa que se traga cualquier cosa entera! Le lleva un buen rato digerir cualquier cosas."
Basic usage on the Blue Slime page.
{{bestiary|Skeleton}}
  • The BestiarioBestiario entry for the Esqueleto: "¿Quién necesita músculos, piel o incluso globos oculares? Los esqueletos se las arreglan con solo los huesos. Aun así, son tan letales como otros enemigos más carnosos."
Display the entry of the Skeleton on any page.
{{bestiary|Plantera|article=}}
  • The BestiarioBestiario entry for Plantera: "Un guardián floral dormido pero poderoso, que se vio despertado por las maquinaciones destruidas de Cthulhu. Su poder se expande por toda la jungla."
Remove the article in front of the name of the NPC.
{{bestiary|Doctor Zombie|alias=Halloween Zombies}}
  • The BestiarioBestiario entry for the Halloween Zombies: "Por mucho que se disfracen, estos zombis no engañan a nadie. Es evidente que son demasiado viejos para ir de truco o trato."
Display a name that is different from the actual quoted NPC.
{{bestiary|Xmas Zombie|alias=Christmas Zombies|article=}}
  • The BestiarioBestiario entry for Christmas Zombies: "Incluso los zombis pueden celebrar las fiestas. Sus trajes festivos son buenos, pero les vendría bien trabajar en su espíritu navideño."
Display a name that is different from the actual quoted NPC and remove the article.
"Multiple" mode
{{bestiary|Blue Slime|Skeleton|Plantera}}

BestiarioBestiario entries

  • Slime azul: "¡Una sencilla criatura gelatinosa que se traga cualquier cosa entera! Le lleva un buen rato digerir cualquier cosas."
  • Esqueleto: "¿Quién necesita músculos, piel o incluso globos oculares? Los esqueletos se las arreglan con solo los huesos. Aun así, son tan letales como otros enemigos más carnosos."
  • Plantera: "Un guardián floral dormido pero poderoso, que se vio despertado por las maquinaciones destruidas de Cthulhu. Su poder se expande por toda la jungla."
Basic usage of multiple parameters. The table of contents proves that this is a separate subsection.
{{bestiary|Skeleton|Doctor Zombie|Doctor Zombie-alias=Halloween Zombies}}

BestiarioBestiario entries

  • Esqueleto: "¿Quién necesita músculos, piel o incluso globos oculares? Los esqueletos se las arreglan con solo los huesos. Aun así, son tan letales como otros enemigos más carnosos."
  • Halloween Zombies: "Por mucho que se disfracen, estos zombis no engañan a nadie. Es evidente que son demasiado viejos para ir de truco o trato."
Show a name that is different from the actual quoted NPC.
{{bestiary|Xmas Zombie|Blue Slime|Xmas Zombie-alias=Christmas Zombies}}

BestiarioBestiario entries

  • Christmas Zombies: "Incluso los zombis pueden celebrar las fiestas. Sus trajes festivos son buenos, pero les vendría bien trabajar en su espíritu navideño."
  • Slime azul: "¡Una sencilla criatura gelatinosa que se traga cualquier cosa entera! Le lleva un buen rato digerir cualquier cosas."
Display a name that is different from the actual quoted NPC. The position of the -alias parameter within the template call does not matter.