Template:Cmbox/doc
This is a documentation subpage for Template:Cmbox. It contains usage information, categories and other content that is not part of the original template page. |
This is the {{cmbox}} or category message box meta-template.
It is used to build message box templates for category pages, such as {{CatDiffuse}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.
This template works almost exactly like {{ambox}} and uses the same parameters.
Usage
Simple usage example:
{{cmbox | text = Some text.}}
Some text. |
Complex example:
{{cmbox | type = style | image = [[Image:Emblem-question-yellow.svg|40px]] | style = width: 400px; | textstyle = color: red; font-weight: bold; font-style: italic; | text = The message body text. }}
The message body text. |