Template:Color box/doc

Usage

 * 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 in either black or white, depending upon whichever has the greater contrast.
 * 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": "#FF0" }	},	"description": "Adds a rectangular color box.", "format": "inline" }