Toggle menu
211
352
1
4.1K
DemocracyCraft Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Note: Difference between revisions

Template page
Move to mediawiki notes
m Get rid of Documentation Module
Tag: Reverted
Line 9: Line 9:
   | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
   | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
--></onlyinclude>
--></onlyinclude>
{{documentation|content=
 
<translate>
== Usage == <!--T:3-->
</translate>
<pre>
<pre>
{{Note|text=Foo}}
{{Note|text=Foo}}

Revision as of 10:32, 8 February 2025

<languages/>

{{{text}}}
{{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> <translate> Note:</translate> <translate> Loose test</translate>

  • Text
    Foo

Parameters

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Note in articles based on its TemplateData.

TemplateData for Note

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

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Inline formattinginline

Show the template without line breaks before and after it.

Default
0
Auto value
1
Booleanoptional
Typetype 2

One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon.

Suggested values
info reminder warn error
Default
info
Stringoptional
Texttext 1 content

Informative note.

Contentrequired

[[Category:Notice templates{{#translation:}}]]

See also

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

}} [[Category:Templates{{#translation:}}|Note]]