More actions
Technofied (talk | contribs) Move to mediawiki notes |
Technofied (talk | contribs) 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=]] '''<translate><!--T:2--> Note:</translate>''' }}<!-- | | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }}<!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
<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
lines
of
text
Foo
Foo
<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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Inline formatting | inline | Show the template without line breaks before and after it.
| Boolean | optional |
Type | type 2 | One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon.
| String | optional |
Text | text 1 content | Informative note. | Content | required |
[[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]]