Template:Mbox/doc

Mbox is a template for creating message boxes.

It is highly customizable with classes, inline styles, and provided CSS selectors. Optional features such as an image, left border, right-side text (for e.g. shortcuts), and a dismiss function.

It uses the Lua templating language, and more information can be found on the Global Lua Module page. This version is modified to produce a starter style, based on the basic style from the module. To use the full capabilities of this module and remove the default styling, remove the indicated portions of Module:Mbox.

For a traditional wikitext version of this template, see Ambox on Templates Wiki.

Parameters
For examples of how to use these parameters, see.

Design
Some communities may wish to customize the appearance of the mboxes. The most common styling options are provided illustrated in CSS.


 * Technical notes
 * Additional inline styles to the root  element can be achieved via the   parameter in the template.

Basic MessageBox
Produces:

Using types
To use types, CSS variables must be added, such as:

If added:

Produces:

Depending on your styling, there may not be a visual difference in the above example.

With an image
Produces:

With an aside
Produces:

Standard/default style
Produces: