Template:Cmbox
Appearance
| File:Information icon4.svg |
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| Message box meta-templates | |
|---|---|
| template | context |
| {{Ambox}} | article |
| {{Cmbox}} | category |
| {{Imbox}} | image |
| {{Tmbox}} | talk |
| {{Fmbox}} | footer / header |
| {{Ombox}} | other pages |
| {{Mbox}} | auto-detect |
| {{Asbox}} | article stub |
| {{Dmbox}} | disambiguation |
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[change]
Simple usage example:
{{cmbox | text = Some text.}}
| File:Information icon4.svg | 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.
}}
| File:Emblem-question-yellow.svg | The message body text. |