Template:Note/Documentation

Template page

Show a note in a box (e.g. a top-of-the-page warning).

Usage[edit source]

{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=reminder|text=Multiple<br>lines<br>of<br>text}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>

* Text {{Note|inline=1|text=Foo}}
Foo
Foo
Foo
Multiple
lines
of
text
Foo
Foo

<translate> Note</translate> Note:

  • Text
    Foo

Parameters[edit source]

{{Note
|inline = 1 <!-- If 1 show the template without line breaks before and after it. Optional deaults to 0. -->
|type = <!-- One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon. OPtional deffaults to info. -->
|text = <!-- Informative note -->
}}

See also[edit source]

  • {{warn}}, shortcut for this template with type=warning.
  • {{mbox}}, and in particular the namespace-agnostic {{ombox}}, which by default resembles a typical "info" template.