Template:Box/doc

Usage
text to display.
 * Text (required)

Optional named parameters (the values of which are all css style):
 * top, right, bottom, left = margin settings; defaults are 0em,auto,1em,auto (respectively)
 * boxwidth = width of the box; default is 98%
 * radius = border radius; default is no radius
 * bordercolor = border color; default is #6699CC
 * borderwidth = width of the border line; default is 2px
 * borderstyle = style of border line; default is solid
 * background = background color; default is clear
 * padding, paddingtop, paddingleft = padding between border and text; default is 4px
 * textalign = alignment of text; default is center
 * contentwidth = width of the text displayed; default is 100% of the box (minus any padding)
 * lineheight = height of each line of text; default is about 1.5

Example
{	"params": { "1": {			"label": "Content", "description": "Contents of the box", "type": "content", "required": true },		"top": { "label": "Top margin", "default": "0em" },		"right": { "label": "Right margin", "default": "auto" },		"bottom": { "label": "Bottom margin", "default": "1em" },		"left": { "label": "Left margin", "default": "auto" },		"boxwidth": { "label": "Box width", "default": "98%" },		"radius": { "label": "Border radius", "default": "0px" },		"borderwidth": { "label": "Border width", "default": "2px" },		"borderstyle": { "label": "Border style", "default": "solid" },		"bordercolor": { "label": "Border color", "default": "#448e43" },		"paddingtop": { "label": "Top/bottom padding", "description": "Overwrites the padding parameter" },		"padding": { "label": "Padding", "default": "4px" },		"paddingleft": { "label": "Left/right padding", "description": "Overwrites the padding parameter" },		"background": { "label": "Background color" },		"contentwidth": { "label": "Content width", "description": "Width of the content, minus padding", "default": "100%" },		"textalign": { "label": "Text alignment", "default": "center" },		"lineheight": { "label": "Line height" }	},	"format": "block", "description": "Creates a box around content", "paramOrder": [ "1",		"top", "right", "bottom", "left", "boxwidth", "radius", "borderwidth", "borderstyle", "bordercolor", "padding", "paddingtop", "paddingleft", "background", "contentwidth", "textalign", "lineheight" ] }