Mbox
Talk0
15,661pages on
this wiki
this wiki
Template page
| |
header?
content?
|
|---|
Meta-template for building message boxes (used for article management templates, for example).
Usage
Edit
{{Mbox
|color =gray
|image =Mbox_default.png
|header =Example header
|content =Example text
}}
Parameters
Edit
content
Text content of the box.
header
Bold text to be displayed as the box header.
(default: "gray")
colorColor of left border. Accepts standard HTML color names or RGB hex triplets. For the wiki's color conventions see "Colors" below.
(default: "Mbox default.png")
imageImage to be displayed in the box.
note
Small text to be displayed below
content.(default: "60x55px")
pxSize of
image.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
Edit
| Color | Should be used for | Examples |
|---|---|---|
| red | serious issues | {{Delete}} |
| orange | content issues | {{Cleanup}}, {{Wikify}}, {{Upcoming}} |
| blue | template issues | {{Infobox incomplete}}, {{Infobox needed}}, {{Missing data}} |
| purple | organization issues | {{Merge}}, {{Split}} |
| yellow | image issues | {{Badimage}}, {{Image needed}}, {{Unused}} |
| green | stub color | {{Stub}}, {{Section}} |
| gray | default color |
Examples
Edit
Example 1
Edit
{{Mbox
|color =black
|header =Example notice
|content =Example notices serve example purposes.
}}
results in:
| |
Example notice
Example notices serve example purposes.
|
|---|
Example 2
Edit
{{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.
|
|---|