Template:Mbox
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Mbox/doc to edit this documentation. (How does this work?) |
Meta-template for building message boxes (used for article management templates, for example).
Usage
{{Mbox |bordercolor = gray |image = Mbox_default.png |imagewidth = 40px |header = Example header |text = Example text }}
Parameters
Text content of the box.
Bold text to be displayed as the box header.
Color 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.
Small text to be displayed below text
.
Text placed within a small allocation on the right side separated by a light gray border. Most commonly used to show shortcuts to the page in question (such as on policy pages). When the mbox is closed, this text will be hidden.
Additional inline styles to the root .mbox
element. 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 |text = Example notices serve example purposes. }}
results in:
Example 2
{{Mbox |bordercolor = #F1B82F |header = Example notice |text = Example notices serve example purposes. |comment = Example notices are not really useful. |aside = Example notices can help sometimes. }}
results in: