Vault-Tec Labs
Advertisement
Mbox default
header?
content?
[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
|color   =gray
|image   =Mbox_default.png
|header  =Example header
|content =Example text
}}

Parameters[]

R
content
Text content of the box.
R
header
Bold text to be displayed as the box header.
N
(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.
N
(default: "Mbox default.png")
image
Image to be displayed in the box.
N
note
Small text to be displayed below content.
N
(default: "60x55px")
px
Size of image.
N
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.

Colors[]

color should be used for
red serious issues
orange content issues
blue template issues
purple technical issues
yellow image issues
green stub color
black notices
gray default color

Examples[]

Example 1[]

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

results in:

Mbox default
Example notice
Example notices serve example purposes.

Example 2[]

{{Mbox
|color   =#F1B82F
|image   =Mbox delete.png
|header  =Example notice
|content =Example notices serve example purposes.
|note    =Example notices are not really useful.
}}

results in:

Mbox delete
Example notice
Example notices serve example purposes.
Example notices are not really useful.
Documentation transcluded from Template:Mbox/doc.
Advertisement