Predefinição:Bestiary/doc

Fonte: Terraria Wiki
Saltar para a navegação Saltar para a pesquisa

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> | plural = y (optional) }}

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 "o". Set it to nothing to suppress display of an article altogether.

plural

This parameter is used by specific languages. Set to y if name of the character is plural.

"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}}
  • O registro no BestiárioBestiário para o Geleia Azul é: "Uma criatura simples e gelatinosa que engole qualquer coisa de uma só vez! Ela demora muito para fazer a digestão."
Basic usage on the Blue Slime page.
{{bestiary|Skeleton}}
  • O registro no BestiárioBestiário para o Esqueleto é: "Quem precisa de músculos, pele ou mesmo globos oculares? Os Esqueletos resolvem tudo com apenas ossos e são tão mortais quanto qualquer inimigo de carne."
Display the entry of the Skeleton on any page.
{{bestiary|Plantera|article=}}
  • O registro no BestiárioBestiário para Plantera é: "Uma guardiã floral poderosa, apesar de dormente, despertada como consequência do plano destruído de Cthulhu. Seu alcance se estende por toda a selva."
Remove the article in front of the name of the NPC.
{{bestiary|Doctor Zombie|alias=Halloween Zombies}}
  • O registro no BestiárioBestiário para o Halloween Zombies é: "Usar fantasias não engana ninguém: estes zumbis são obviamente velhos demais para pedir doces."
Display a name that is different from the actual quoted NPC.
{{bestiary|Xmas Zombie|alias=Christmas Zombies|article=}}
  • O registro no BestiárioBestiário para Christmas Zombies é: "Mesmo os zumbis podem celebrar as festas. Estas roupas comemorativas são perfeitas, mas o espírito natalino não anda muito bom."
Display a name that is different from the actual quoted NPC and remove the article.
"Multiple" mode
{{bestiary|Blue Slime|Skeleton|Plantera}}

Registros do BestiárioBestiário

  • Geleia Azul: "Uma criatura simples e gelatinosa que engole qualquer coisa de uma só vez! Ela demora muito para fazer a digestão."
  • Esqueleto: "Quem precisa de músculos, pele ou mesmo globos oculares? Os Esqueletos resolvem tudo com apenas ossos e são tão mortais quanto qualquer inimigo de carne."
  • Plantera: "Uma guardiã floral poderosa, apesar de dormente, despertada como consequência do plano destruído de Cthulhu. Seu alcance se estende por toda a selva."
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}}

Registros do BestiárioBestiário

  • Esqueleto: "Quem precisa de músculos, pele ou mesmo globos oculares? Os Esqueletos resolvem tudo com apenas ossos e são tão mortais quanto qualquer inimigo de carne."
  • Halloween Zombies: "Usar fantasias não engana ninguém: estes zumbis são obviamente velhos demais para pedir doces."
Show a name that is different from the actual quoted NPC.
{{bestiary|Xmas Zombie|Blue Slime|Xmas Zombie-alias=Christmas Zombies}}

Registros do BestiárioBestiário

  • Christmas Zombies: "Mesmo os zumbis podem celebrar as festas. Estas roupas comemorativas são perfeitas, mas o espírito natalino não anda muito bom."
  • Geleia Azul: "Uma criatura simples e gelatinosa que engole qualquer coisa de uma só vez! Ela demora muito para fazer a digestão."
Display a name that is different from the actual quoted NPC. The position of the -alias parameter within the template call does not matter.