Template:Note: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 33: | Line 33: | ||
[[Category:Templates]] |
[[Category:Templates]] |
||
| + | [[Category:Formatting]] |
||
Latest revision as of 03:56, 24 October 2025
{{{text}}}
Usage
{{Note|Foo (default)}}
{{Note|Foo ('info')|info}}
{{Note|Foo ('reminder')|reminder}}
{{Note|Foo ('warn')|warn}}
{{Note|Foo ('error')|error}}
{{Note}} Loose test
* Text {{Note|Foo (with inline=1)|inline=1}}
Foo (default)
Foo ('info')
Foo ('reminder')
Foo ('warn')
Foo ('error')
Note: Loose test
- Text
Note:
Parameters
Show a note in a box (e.g. a top-of-the-page warning).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type | type 2 | One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.
| String | optional |
| Text | text 1 | no description | Content | required |
| Inline formatting | inline | Show the template without line breaks before and after it | Boolean | optional |