Template:Divbox/doc
This template can be used to create simple, flexible coloured text background.
Please note that this is intended to be a decorative template and not for use on the general encyclopedia: alternatives should be used for common tasks such as information panels ({{infobox}}), quotations {{quotebox}}) or navigation boxes ({{navbox}}) in articles. This template will automatically add inappropriate uses to category:articles using divbox template for cleanup.
Usage
{{divbox|color of box|Headtitle|Message}}
The parameter radius may be added for rounded corners using standard units, for example radius=8px.
Available styles
- Notes
- The color names are case-dependent; they will not work if upper-case letters are used.
- plain, double, tt and none inherit the page background colour whilst white forces a pure white background.
Examples
- Code
{{divbox|orange|Orange example|This is only an example of how this template works.}}
- Result
- Code
{{divbox|navy|radius=4em|Navy example|This is only an example of how this template works.}}
- Result
See also
- {{divhide}} (for hiding things)
Template:Mbox templates see also