Template:Color box/doc

Usage
Shortcuts/Redirects:
 * Colorbox
 * Colourbox
 * Colour box
 * Color square
 * Legend3


 * Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See web colors for details.
 * If specified, the  is centered within the box.
 * If no color is specified for the text, it is displayed using the default style foreground color as prescribed by CSS. For most users this is black.
 * The optional parameter  will change the color of the outline box. The default is black.

TemplateData
{	"params": { "1": {			"label": "Color", "description": "Color of the box.", "example": "Green", "type": "string", "required": true, "suggested": true },		"2": {			"label": "Text", "description": "The text in the box.", "example": "Hello, world!", "type": "string", "suggested": true },		"3": {			"label": "Text color", "description": "Sets the color of the text inside the box.", "example": "Yellow", "type": "string", "suggested": true },		"border": { "description": "Adds border outside the box.", "example": "border=#FF0" }	},	"description": "Adds a rectangular color box.", "format": "inline" }