Template:Cmbox

Documentation icon Template documentation[view] [edit] [history] [purge]

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.}}


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.
}}