Template:Note/doc
Appearance
| Documentation subpage |
|---|
| View this documentation's related template: Template:Note (edit). |
| (create). |
Creates a variety of notes or notices depending on parameters set.
Usage
[edit source]{{note}} Some stuff
{{note|Some info}}
{{note|A reminder|reminder}}
{{note|Warn me|warn|inline=any value}}
{{note|This causes an error|error}}
Preformatted examples
[edit source]{{note|namespace|warn}}gives:
{{note|main|warn}}gives:
See Also
[edit source]{{slow}}, for slow function warning.{{tempnote}}, for non-working function warning.- Category:Note or Notice templates, for similar templates.
Creates a pre-formatted notebox (using built-in MediaWiki note styles) whose content {1} is entered or set, and appearance styled {2} based on given parmeter values.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 text | Enter text to display, or a suggested value from the list for predefined message text.
| String | required |
| 2 | 2 type | Enter a suggested value to override appearance type.
| String | optional |
| inline | inline | Overrides "display:block; width:auto;" if any value is set, and thus displays the results inline. | Boolean | optional |