Template:Mbox/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
*textalign - Override default centering of text with left or right. | *textalign - Override default centering of text with left or right. | ||
*style - Override in custom style overrides for the template using CSS. | *style - Override in custom style overrides for the template using CSS. | ||
*class - Apply a specified CSS class, | |||
==Examples== | ==Examples== | ||
{{mbox | {{mbox | ||
Revision as of 17:21, 10 September 2010
This is used to create message boxes.
Parameters
- text - The text to be displayed.
- type - Changes the color depending on the message needed. Each has its own preset image.
- image - Override the image.
- imageright - Show an image on the right side.
- textalign - Override default centering of text with left or right.
- style - Override in custom style overrides for the template using CSS.
- class - Apply a specified CSS class,
Examples
The style is different on categories. It uses {{Cmbox}} instead.