header?
content?
|
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
contentText content of the box.
R
headerBold text to be displayed as the box header.
N
(default: "gray")
colorColor of left border. Accepts standard HTML color names or RGB hex triplets. For the wiki's color conventions see "Colors" below.
Image to be displayed in the box.
N
noteSmall text to be displayed below
content
.N
(default: "60x55px")
pxSize of
image
.N
styleAdditional 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:
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:
Example notice
Example notices serve example purposes.
Example notices are not really useful.
|
Documentation transcluded from Template:Mbox/doc.