FANDOM


[view · edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)

Meta-template for building message boxes (used for article management templates, for example).

Usage

{{Mbox
|bordercolor =gray
|image       =Mbox_default.png
|header      =Example header
|text        =Example text
|content     =
}}

Parameters

Icon required
text
Text content of the box.
Icon required
header
Bold text to be displayed as the box header.
Icon optional
(default: "gray")
color
Color of left border. Accepts standard HTML color names or RGB hex triplets. For the wiki's color conventions see "Colors" below.
Icon optional
image
Image to be displayed in the box.
Icon optional
comment
Small content to be displayed below content.
Icon optional
style
Additional CSS to be applied to the box. To ensure a standardized and professional look across all {{mbox}}-based templates, this should only be used very sparingly.

Examples

Example 1

{{Mbox
|bordercolor =black
|header      =Example notice
|content     =Example notices serve example purposes.
}}

results in:

Example notice
Example notices serve example purposes.

Example 2

{{Mbox
|bordercolor =#F1B82F
|header      =Example notice
|text        =Example notices serve example purposes.
|comment     =Example notices are not really useful.
}}

results in:

Example notice
Example notices serve example purposes.
Example notices are not really useful.
Documentation transcluded from Template:Mbox/doc.
Community content is available under CC-BY-SA unless otherwise noted.