Template:Box/doc

&#x3c;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) --&#x3e;

Examples
&#x3c;pre&#x3e;

&#x3c;/pre&#x3e;

&#x3c;pre&#x3e;&#x3c;/pre&#x3e;

&#x3c;pre&#x3e;&#x3c;/pre&#x3e;

Data
&#x3c;templatedata&#x3e; {	"params": { "1": {			"description": "The contents of the box", "example": "Hello, world!", "suggested": true },		"header": { "description": "A heading for the box", "example": "Warning", "suggested": true },		"align": { "description": "The alignment of the box", "example": "center", "default": "left", "suggested": true },		"box type": { "description": "The type of box (css display) (block,inline-block or inline)", "example": "block", "autovalue": "inline-block" },		"wide": { "description": "If set to yes the box will be wide", "example": "yes", "type": "boolean", "default": "no", "autovalue": "" },		"inline": { "description": "Set to yes for the box type to be inline", "example": "yes", "type": "boolean", "default": "no" },		"style": { "description": "The style of the border", "default": "solid" },		"padding": { "description": "The padding of the box", "default": "3px" },		"top padding": { "description": "The top padding of the box" },		"bottom padding": { "description": "Thebottom padding of the box" },		"left padding": { "description": "The left padding of the box" },		"right padding": { "description": "The right padding of the box" },		"border color": { "description": "The color of the box border", "example": "red", "type": "string", "default": "black" },		"radius" : { "description": "Border corner radius", "example": "5em", "default": "0" },		"type": { "description": "The type of box (black,white,transparent)", "example": "black" },		"border size": { "description": "The size of the border", "default": "3px" },		"color": { "aliases": [ "background" ],			"description": "The color of background", "example": "black", "default": "white" },		"text color": { "description": "The color of the text", "example": "green", "default": "black" },		"text align": { "description": "The alignment of the text (css text-align)", "example": "center", "default": "left" },		"spacing": { "description": "The spacing of the letters" },		"font": { "description": "The font of the text" },		"font size": { "aliases": [ "text size" ],			"description": "The size of the text" },		"margin": { "description": "The size of the box's margin", "example": "30px", "default": "3px" },		"top margin": { "description": "The size of the box's top margin" },		"bottom margin": { "description": "The size of the box's bottom margin" },		"left margin": { "description": "The size of the box's left margin" },		"right margin": { "description": "The size of the box's right margin" },		"height": { "description": "The height of the box", "example": "400px", "default": "the height of the contents plus the margin" },		"width": { "description": "The width of the box", "default": "the width of the text plus the margin" },		"CSS": { "description": "Any additional CSS to use" }	},	"description": "This template produces a variety of boxes from preset options and from CSS.", "format": "inline" } &#x3c;/templatedata&#x3e;