Terraria Wiki

Miss the old Hydra Skin? Try out our Hydralize gadget! Visit the preferences page while logged in and turn on the gadget.

READ MORE

Terraria Wiki
Advertisement
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:Note/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Template:Note/doc. (edit | history)

This template formats an input text in a standardized "note" style.

Usage

All parameters are optional, except the first.

{{ note | <note text> | small = y/yes | paren = y/yes | block = y/yes | before = <text in front of the note> }}

First unnamed parameter

Text to format.

small

Reduces the size of the text, useful where space is an issue, e.g. in infobox templates.

paren

Encloses the text in parentheses. The same result can be achieved by simply adding the parentheses to the first unnamed parameter, but this is to be avoided, as some languages may use different characters for parenthesis, and the template will automatically pick the correct ones.

block

Displays the text in a <div> instead of in a <span>, so the text will be in its own paragraph rather than inline.

before

Text to display directly in front of the note text. It will be formatted as well, but will not be included in the parentheses from $paren.

Notes

  • The template supports localizing commonly used note texts ($1s); these can be added to the localization database. To prevent this automatic translation, add something like <nowiki/> in the text (see below for examples).
    • This also works for texts that are enclosed in parentheses.

Examples

Code Result
{{note|some note}} some note
{{note|some note|paren=y}} (some note)
item {{note|note|paren=y|before=some&#32;}} item some (note)
some {{note|some block note|paren=y|block=y}} text some
(some block note)
text
some {{note|some small note|paren=y|small=y}} text some (some small note) text
{{note|(really hidden content)}} (really hidden content)
Automatic translation
{{note|some note}} some note
{{note|ranged attack}} ranged attack
{{lang/set|fr}} set language to French
{{note|some note}} some note
{{note|ranged attack}} ranged attack
{{note|<nowiki/>ranged attack}} ranged attack
{{note|ranged attack|tr=no}} ranged attack
{{note|(ranged attack)}} (ranged attack)

Options

This template supports options through {{options}} template. All valid options are listed below, see {{options}} for usage and other infomation.

See Template:note/initOptions for the initial options setting of this template.

NameAliasInitial ValueValue Mapping[1]Note
small(empty)yesy
ony
n(empty)
no(empty)
off(empty)
paren(empty)yesy
ony
n(empty)
no(empty)
off(empty)
block(empty)yesy
ony
n(empty)
no(empty)
off(empty)
trautotr
translate
auto_translate
autoTranslate
(empty)y(empty)
yes(empty)
on(empty)
non
offn
  1. Values with mapping will be stored and loaded as mapped value. Other values without mapping will be stored and loaded as-is.
Advertisement