Template:WarnAlt/doc: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
(add headers and syntax section.)
(new template data at Template:WarnAlt)
Line 6: Line 6:
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.


<!--
<templatedata>
<templatedata>
{
{
Line 37: Line 38:
}
}
</templatedata>
</templatedata>
-->

Revision as of 15:08, 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.