Jump to content

Template:Note: Difference between revisions

From pool
[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
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-20 fc3.svg|18px|Note|link=]]&nbsp;'''Note:''' }}
| [[File:OOjs UI icon lightbulb-yellow.svg|18px|Note|link=]]&nbsp;'''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 Note: Loose test

  • Text
    Foo

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

no description

Contentrequired
Type2

'reminder', 'error', 'gotcha' or nothing. Will affect formatting.

Lineoptional
Inline formattinginline

Show the template without line breaks before and after it

Lineoptional