Template:Note: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 16: | Line 16: | ||
{{Note|Foo|warn}} |
{{Note|Foo|warn}} |
||
{{Note|Foo|error}} |
{{Note|Foo|error}} |
||
| − | {{Note}} |
+ | {{Note}} Loose test |
* Text {{Note|Foo|inline=1}} |
* Text {{Note|Foo|inline=1}} |
||
| Line 25: | Line 25: | ||
{{Note|Foo|warn}} |
{{Note|Foo|warn}} |
||
{{Note|Foo|error}} |
{{Note|Foo|error}} |
||
| − | {{Note}} |
+ | {{Note}} Loose test |
* Text {{Note|Foo|inline=1}} |
* Text {{Note|Foo|inline=1}} |
||
Revision as of 22:04, 28 February 2021
{{{text}}}
Usage
{{Note|Foo}}
{{Note|Foo|info}}
{{Note|Foo|reminder}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note}} Loose test
* Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Foo
<translate> Note:</translate> Loose test
- Text Foo
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 |