Template:Bestiary/doc
This template can be used for a standardized display of a character's Bestiary entry. It 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
{{ bestiary | <name of the character> | <entry text> | article = <custom article> }}
- First unnamed parameter
Name of the character whose Bestiary entry is to be displayed. Defaults to the name of the page.
- 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> | <entry text of character 1> | <name of character 2> | <entry text of character 2> | ... }}
- Unnamed parameters
Names of the characters whose entries are to be displayed. The order of the parameters determines the order in the output. The 1st, 3rd, 5th, ... parameters are the character names; the 2nd, 4th, 6th, ... parameters the respective entry texts.
Examples
Code | Result | Note |
---|---|---|
"Single" mode | ||
{{bestiary||A jellyfish that took an odd evolutionary turn. Her affinity for building synergizes with her devotion to a forgotten goddess.}}
|
|
Standard usage on the page Calamity's Vanities/Jelly Priestess. |
{{bestiary|Prism Bat|Lorem ipsum dolor sit amet.}}
|
|
Standard usage on any page. |
{{bestiary|article=|Plantera|A dormant, yet powerful floral guardian awoken by the fallout of Cthulhu's destroyed machinations.}}
|
|
Remove the article in front of the name of the NPC. |
"Multiple" mode | ||
{{bestiary |Goblin Beast|Always comes in packs of three. |Goblin Trainer|The trainer of the Goblin Beasts. }} |
Bestiary entries
|
Basic usage of multiple parameters. The table of contents proves that this is a separate subsection. |