Difference between revisions of "Template:Note"
From Polyphasic Sleep Wiki
m (1 revision imported) |
|||
Line 1: | Line 1: | ||
− | <languages/> | + | <noinclude> <languages/> </noinclude> |
<onlyinclude>{{#switch:<translate></translate> | <onlyinclude>{{#switch:<translate></translate> | ||
| = | | = |
Latest revision as of 03:56, 5 December 2020
{{{text}}}
50px Template documentation
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
Note Note: 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.
| Line | optional |
Text | text 1 | no description | Content | required |
Inline formatting | inline | Show the template without line breaks before and after it | Boolean | optional |