Template:Mbox
This template is a base message box.
Examples
Note:
Note
Warning:
Warning
Danger:
Danger
Doccan:
Doccan
Info:
Info
Tip:
Tip
Standard Box (No Type):
Notice
Inline Warning Box:
Warning
TemplateData
A message box to display notices, warnings, and tips.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Box Type | type | The type of notice. Automatically sets the icon and color (e.g., note, warning, danger, doccan, info, tip). Leave blank for a plain box without an icon.
| String | suggested |
| Heading Label | label | The title or label for the message box. | String | required |
| Message Text | text | The main content of the message box. | Content | required |
| Inline Mode | inline | Set to 'yes' to change the display to inline-block, allowing the box to sit alongside other elements. | Boolean | suggested |
| Additional CSS Classes | class | Any additional space-separated classes to apply to the outer box. | String | optional |
| HTML ID | id | An optional HTML id attribute for linking directly to this notice on a page. | String | optional |
| Outer Box Style | style | Additional inline CSS styling for the outer container.
| String | optional |
| Text Style | textstyle | Additional inline CSS styling for the text content area.
| String | optional |