Template:Mbox/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
This is | This is used to create message boxes. | ||
==Parameters== | ==Parameters== | ||
*text - The text to be displayed | *text - The text to be displayed. | ||
*type - Changes the color depending on the message needed. Each has its own preset image | *type - Changes the color depending on the message needed. Each has its own preset image. | ||
*image - Override the image | *image - Override the image. | ||
*imageright - Show an image on the right side | *imageright - Show an image on the right side. | ||
*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. | ||
| Line 59: | Line 59: | ||
|type=move | |type=move | ||
}} | }} | ||
The style is different on categories. It uses {{tl|cmbox}} instead.<includeonly> | |||
}}<includeonly> | |||
[[Category:Message box templates|{{PAGENAME}}]] | [[Category:Message box templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 06:02, 29 August 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.
Examples
The style is different on categories. It uses {{Cmbox}} instead.