Template:Note: Difference between revisions

From CCDirectLink
Inline icons within the note
m Use Doc template instead of manual inclusion
 
Line 29: Line 29:
== Parameters ==
== Parameters ==


{{Note/doc}}
<noinclude>{{doc}}</noinclude>


}}
}}
[[Category:Templates:{{PAGENAME}}]]
[[Category:Templates:{{PAGENAME}}]]

Latest revision as of 17:30, 29 May 2023

{{{text}}}
Template documentation

Usage

{{Note|Foo}}
{{Note|Foo|info}}
{{Note|Foo|reminder}}
{{Note|Foo|alert}}
{{Note|Foo|error}}
{{Note}} Loose test

* Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Foo

Note Note: Loose test

  • Text
    Foo

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools.

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 inline 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
Text1 text

Informative note.

Contentrequired