Template:WarnAlt/doc
Jump to navigation
Jump to search
Documentation
This template is an intended replacement for the {{warn}}
template. It has four different severity levels and three different sizes, which are demonstrated here.
Syntax
For the source editor, the syntax is {{WarnAlt|<note|caution|warning|danger>|<large|medium/med|small>|<message>}}
.
The visual editor provides a nice popup box where you can fill in all the data, but the same arguments apply.
Add warnings about possible dangers
Parameter | Description | Type | Status | |
---|---|---|---|---|
severity | severity 1 | Severity of the warning. Can be note, caution, warning or danger. | String | required |
size | size 2 | Size of the warning. Can be large, medium, med or small | String | required |
message | message 3 | The message to show in the warning box. | String | required |