Template:Note: Difference between revisions
Appearance
| [unchecked revision] | [unchecked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
|#default={{{2|}}} |
|#default={{{2|}}} |
||
}} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div> |
}} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div> |
||
| [[File:OOjs UI icon lightbulb- |
| [[File:OOjs UI icon lightbulb-yellow.svg|18px|Note|link=]] '''Note:''' }} |
||
| #default= |
| #default= |
||
{{Template:Note|noshift=1}} |
{{Template:Note|noshift=1}} |
||
Revision as of 16:34, 2 March 2020
{{{1}}}
Usage
{{Note|Foo}}
{{Note|Foo|reminder}}
{{Note|Foo|error}}
{{Note|Foo|gotcha}}
{{Note}} Loose test
* Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Note: Loose test
- Text Foo
Show a note in a box (e.g. a top-of-the-page warning).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | no description | Content | required |
| Type | 2 | 'reminder', 'error', 'gotcha' or nothing. Will affect formatting. | Line | optional |
| Inline formatting | inline | Show the template without line breaks before and after it | Line | optional |