- Description
- This template is used to display a prominent warning banner.
- Dependencies
-
- Uses
- Wiki Table
- Syntax
- {{Warning|<text>|<warninglabel=no>}}
- Parameters
-
- text
- The text to include in the warning banner
- warninglabel
- "no" if you want the WARNING label text hidden
- omit if you want the WARNING label text
- Sample
{{Warning|This is a warning}}- gives...
| WARNING: This is a warning |
{{Warning|This is a warning|warninglabel=no}}- gives...
| This is a warning |
- Template data
- This is the TemplateData documentation for this template used by VisualEditor and other tools.
Warning banner to prominently display important warning text
Template parameters
This template prefers block formatting of parameters.
Parameter Description Type Status text 1The text to display in the warning box
String required label? warninglabelLeave empty if you want the WARNING label text before your own text
- Suggested values
no
String optional