Template:Boss music

From Terraria Wiki
Jump to navigation Jump to search
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 Template:Boss music/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Template:Boss music/doc. (edit | history)

This template is used to print a standardized piece of information about the music track that plays while a boss is alive.

Usage

{{ boss music | t = <custom name for the boss> | plural = 1 | exclusive = 1 | pronoun = <grammar adjustment> | <name of the music track> | <name of the Otherworldly music track> }}

t

Defaults to page name. Can be used to make grammatical adjustments, e.g. |t=the Eye of Cthulhu to change the output from "While Eye of Cthulhu is alive, [...]" to "While the Eye of Cthulhu is alive, [...]".

plural

Causes a minor grammatical adjustment for subjects in plural: "While The Twins is alive, [...]" → "While The Twins are alive, [...]".

exclusive

Indicates that the music is exclusive to this boss.

pronoun

Only has an effect if $exclusive is set. Defaults to its. Can be used to make grammatical adjustments, e.g. |pronoun=her to change the output from "While Plantera is alive, its exclusive music [...]" to "While Plantera is alive, her exclusive music [...]".

First unnamed parameter

Name of the music track; defaults to page name.

Second unnamed parameter or ow

Name of the Otherworldly music track.

ParameterDescriptionTypeStatus
Boss namet
Used to make grammatical adjustments, e.g. adding an article in front of the boss name
Default:
(page name)
Example:
the Eye of Cthulhu
Line
optional
Plural boss nameplural
Makes a grammatical adjustment that is necessary when the boss name is in plural, e.g. with "The Twins".
Default:
False (0)
Auto value:
True (1/y/yes)
Boolean
optional
Exclusive musicexclusive
Indicates that the music is exclusive to the boss and does not play anywhere else.
Default:
False (0)
Auto value:
True (1/y/yes)
Boolean
optional
Pronounpronoun
Used to make grammatical adjustments to the "its exclusive music" part. Only has an effect if the $exclusive parameter is set.
Default:
its
Example:
her
Line
optional
Music track1
Name of the music track.
Default:
(page name)
Example:
Boss 1
Line
suggested
Otherworldly music track2
ow
Name of the Otherworldly music track.
Example:
Boss 1 (Otherworld)
Line
optional

This template prefers inline formatting of parameters.