Peppermint (talk | contribs) m 1 revision imported |
w>Arlolra No edit summary |
||
Line 5: | Line 5: | ||
|#default={{{2|{{{type|}}}}}} | |#default={{{2|{{{type|}}}}}} | ||
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | ||
| [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }}<!-- | | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }}<!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
{{documentation|content= | {{documentation|content= |
Revision as of 16:46, 12 January 2022
<languages/>
{{{text}}}
File:Test Template Info-Icon - Version (2).svg Template documentation
<translate>
Usage
</translate>
{{Note|Foo}} {{Note|Foo|info}} {{Note|Foo|reminder}} {{Note|Foo|warn}} {{Note|Foo|error}} {{Note}} <translate nowrap><!--T:6--> Loose test</translate> * Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Foo
<translate> Note</translate> <translate> Note:</translate> <translate> Loose test</translate>
- Text Foo
Parameters
Show a note in a box (e.g. a top-of-the-page warning).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type 2 | One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon.
| Line | optional |
Text | text 1 | Informative note. | Content | required |
Inline formatting | inline | Show the template without line breaks before and after it. | Boolean | optional |
[[Category:Template documentation pages{{#translation:}}]]
[[Category:Templates{{#translation:}}|Note]]