Template:Mbox/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
m Usage: it's more than 3 params now
Line 3: Line 3:


=== Usage ===
=== Usage ===
The template accepts three parameters:
The template accepts the following parameters:
* <code>class</code>: Defines the "class" of the message box ("mbox" for a standard message box, "alert" for alerts, etc.)
* <code>class</code>: Defines the "class" of the message box ("mbox" for a standard message box, "alert" for alerts, etc.)
* <code>type</code>: Defines the color of the left border; the type should be chosen according to context, not for aesthetic reasons. Types are described in the next section.
* <code>type</code>: Defines the color of the left border; the type should be chosen according to context, not for aesthetic reasons. Types are described in the next section.