Template:WarnAlt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Gets rid of errant line breaks) |
||
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|}}} }}} | ||
<!--Check input validity--> | |||
{{#switch: {{{severity| {{{1|}}} }}} | |||
| #default = The severity argument is required. | | #default = The severity argument is required. | ||
| note|1 = {{User:lyiriyah/sandbox/warn/note| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | | note|1 = {{User:lyiriyah/sandbox/warn/note| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} |
Revision as of 04:49, 17 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 |