Template:Note: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Usage examples: | Usage examples: | ||
* <nowiki>{{Note|text=This is an info note}}</nowiki> | |||
* <nowiki>{{Note|type=error|text=This is an error note}}</nowiki> | |||
* <nowiki>{{Note|type=warn|text=Warning note!}}</nowiki> | |||
* <nowiki>{{Note|type=reminder|text=Reminder note}}</nowiki> | |||
* <nowiki>{{Note|inline=note-inline|text=Inline note}}</nowiki> | |||
Example output: | |||
{{ | {{Note|text=This is an info note}} | ||
{{Note|type=error|text=This is an error note}} | |||
{{Note|type=warn|text=Warning note!}} | |||
{{Note|type=reminder|text=Reminder note}} | |||
{{Note|inline=note-inline|text=Inline note}} | |||
</noinclude> | |||
<div role="note" class="note note-{{{type|info}}} {{{inline|}}}"> | |||
{{{text|Note: No content provided.}}} | |||
</div> |
Latest revision as of 01:39, 7 July 2025
Usage examples:
- {{Note|text=This is an info note}}
- {{Note|type=error|text=This is an error note}}
- {{Note|type=warn|text=Warning note!}}
- {{Note|type=reminder|text=Reminder note}}
- {{Note|inline=note-inline|text=Inline note}}
Example output:
This is an info note
This is an error note
Warning note!
Reminder note
Inline note
Note: No content provided.