Template:WarnAlt: Difference between revisions
Jump to navigation
Jump to search
m (Add templatedata on parameters) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<!--This template is just selection logic. The actual dialogs are all stored in subpages.--> | <!--This template is just selection logic. The actual dialogs are all stored in subpages.--> | ||
<!--Check input validity--> | |||
{{#switch: {{{severity| {{{1|}}} }}} | {{#switch: {{{severity| {{{1|}}} }}} | ||
| #default = The severity argument is required. | | #default = The severity argument is required. | ||
Line 8: | Line 11: | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 15:17, 13 February 2022
The severity argument is required.
Create a warning box to get the users attention
Parameter | Description | Type | Status | |
---|---|---|---|---|
Warning Box Size | Size | The size or type of the warning to be created
| String | deprecated |
Severity and Color | Severity | The severity of the warning that will also determine the color of the warning.
| String | required |
Displayed Text | Message | The text to be displayed in the warning box
| String | required |