Template:Mbox: Difference between revisions
Robertbaxter (talk | contribs) m (Robertbaxter moved page Template:Ambox to Template:Mbox without leaving a redirect) |
Robertbaxter (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
| {{{text}}} | | {{{text}}} | ||
|}<!-- | |}<!-- | ||
--></includeonly><templatestyles src=" | --></includeonly><templatestyles src="mbox/styles.css" /><!-- | ||
--><noinclude> | --><noinclude> | ||
<templatedata> | <templatedata> | ||
Line 49: | Line 49: | ||
} | } | ||
}, | }, | ||
"description": "A simple message box | "description": "A simple message box. This template is meant to implement specific message boxes, not to be invoked directly.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | "title", |
Revision as of 15:35, 14 December 2024
A simple message box. This template is meant to implement specific message boxes, not to be invoked directly.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Header text to be used at the top of the box—this will be displayed in bold. | String | suggested |
Text | text | The body text of the message box. | String | required |
Class (CSS) | class | Custom class to add to the table. | String | suggested |
Background | background | Background color for the box (neutral grey if not specified). Embedded in the "background" CSS property. | String | optional |
Border | border | Border style for the box. Embedded in the "border" CSS property. | String | optional |
Color bar | color_bar | The color used for the left side bar of the box—no bar is displayed if left blank. Embedded in the "border-left" CSS property. | String | optional |
Style | style | Additional CSS styles embedded at the end of the inline styles for the box | String | optional |