Template:WarnAlt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<!--This template is just selection logic. The actual dialogs are all stored in subpages.--><!--Check input validity-->{{#switch: {{{severity| {{{1|}}} }}} | <!--This template is just selection logic. The actual dialogs are all stored in subpages.--><!--Check input validity-->{{#switch: {{{severity| {{{1|}}} }}} | ||
| #default = | | #default = {{Error|The severity argument is required.}} | ||
| note|1 = {{WarnAlt/note| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | | note|1 = {{WarnAlt/note| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | ||
| caution|2 = {{WarnAlt/caution| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | | caution|2 = {{WarnAlt/caution| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} |
Revision as of 05:04, 17 February 2022
Error: The severity argument is required.
Create a warning box to get the users attention
Parameter | Description | Type | Status | |
---|---|---|---|---|
Severity and Color | severity 1 | The severity of the warning that will also determine the color of the warning.
| String | required |
Warning Box Size | size 2 | The size or type of the warning to be created.
| String | deprecated |
Displayed Text | message 3 | The text to be displayed in the warning box.
| String | required |