Template:Note: Difference between revisions
Template page
More actions
Initial draft |
m Improved examples |
||
| Line 11: | Line 11: | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Note|text= | {{Note|text=Note without type}} | ||
{{Note|type=info|text= | {{Note|type=info|text=Note with type 'info'}} | ||
{{Note|type=reminder|text= | {{Note|type=reminder|text=Note with type 'reminder'}} | ||
{{Note|type=warn|text= | {{Note|type=warn|text=Note with type 'warn'}} | ||
{{Note|type=error|text= | {{Note|type=error|text=Note with type 'error'}} | ||
{{Note}} | {{Note}} Text with a note prefix | ||
* Text {{Note|inline=1|text= | * Text {{Note|inline=1|text=with an inline note}} | ||
</pre> | </pre> | ||
{{Note|text= | {{Note|text=Note without type}} | ||
{{Note|type=info|text= | {{Note|type=info|text=Note with type 'info'}} | ||
{{Note|type=reminder|text= | {{Note|type=reminder|text=Note with type 'reminder'}} | ||
{{Note|type=reminder|text= | {{Note|type=reminder|text=Add<br>br tags<br>to add<br>a line break}} | ||
{{Note|type=reminder|text= | {{Note|type=reminder|text= | ||
* Multiple paragraphs. | * Multiple paragraphs. | ||
Of text.}} | Of text.}} | ||
{{Note|type=warn|text= | {{Note|type=warn|text=Note with type 'warn'}} | ||
{{Note|type=error|text= | {{Note|type=error|text=Note with type 'error'}} | ||
{{Note}} | {{Note}} Text with a note prefix | ||
* Text {{Note|inline=1|text= | * Text {{Note|inline=1|text=with an inline note}} | ||
== Template Parameters == | == Template Parameters == | ||
Revision as of 07:53, 26 April 2026
{{{text}}}
Usage
{{Note|text=Note without type}}
{{Note|type=info|text=Note with type 'info'}}
{{Note|type=reminder|text=Note with type 'reminder'}}
{{Note|type=warn|text=Note with type 'warn'}}
{{Note|type=error|text=Note with type 'error'}}
{{Note}} Text with a note prefix
* Text {{Note|inline=1|text=with an inline note}}
Note without type
Note with type 'info'
Note with type 'reminder'
Add
br tags
to add
a line break
br tags
to add
a line break
- Multiple paragraphs.
Note with type 'warn'
Note with type 'error'
Note: Text with a note prefix
- Text with an inline note
Template Parameters
| 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. info reminder warn error |
String | Optional |
| Text | text 1 content |
Informative note | Content | Optional |