Template:WarnAlt: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Undo revision 1499 by DigitalIceAge (talk) Needed) Tag: Undo |
||
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 = {{Error|The severity argument is required.}} | | #default = {{Error|The severity argument is required.}} | ||
| note|1 = {{/note| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | | note|1 = {{WarnAlt/note| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | ||
| caution|2 = {{/caution| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | | caution|2 = {{WarnAlt/caution| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | ||
| warning|3 = {{/warning| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | | warning|3 = {{WarnAlt/warning| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | ||
| danger|4 = {{/danger| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | | danger|4 = {{WarnAlt/danger| {{{size| {{{2|}}} }}} | {{{message| {{{3|}}} }}} }} | ||
}}<noinclude><templatedata> | }}<noinclude><templatedata> | ||
{ | { |
Revision as of 05:24, 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 |