Template:CWbox/doc

The template is used to display a box of a specific color and width. The color can be given as a code (r for red, b for blue…), as a named color (lightgray, purple…), or as a hex color #000 – #fff. The width is measured in units of em, and when not specified, 2 em is assumed. Parameter  sets the text color (w for white, b for black, or any named/hex color).

Usage
Syntax: &#123;&#123;CWbox|text|width|color&#125;&#125; or &#123;&#123;CWbox|text|width|c= |tc= |styles= &#125;&#125; c is for background color, tc is for text color


 * Color codes:


 * Arbitrary box color, text color:


 * Gradients






 * Missing parameters:




 * Any additional CSS styles:


 * Primitive horizontal bar chart