Template:WarnAlt/doc: Difference between revisions
Jump to navigation
Jump to search
(new template data at Template:WarnAlt) |
(spsd by new td block on main template page) |
||
Line 5: | Line 5: | ||
For the source editor, the syntax is <code><nowiki>{{WarnAlt|<note|caution|warning|danger>|<large|medium/med|small>|<message>}}</nowiki></code>.<br> | For the source editor, the syntax is <code><nowiki>{{WarnAlt|<note|caution|warning|danger>|<large|medium/med|small>|<message>}}</nowiki></code>.<br> | ||
The visual editor provides a nice popup box where you can fill in all the data, but the same arguments apply. | The visual editor provides a nice popup box where you can fill in all the data, but the same arguments apply. | ||
Revision as of 15:34, 13 February 2022
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.