Template:MainPage/doc

Description
{	"params": { "heading": { "aliases": [ "1"			],			"label": "Heading", "description": "The header at the top of this panel", "type": "line", "required": true },		"content": { "aliases": [ "2"			],			"label": "Content", "description": "The main body content of this panel", "type": "string", "required": true },		"class": { "label": "Additional classes", "description": "Any extra CSS classes to be applied to the quote", "type": "line" },		"padding": { "label": "Content padding", "description": "How much padding the content inside the box should have", "example": "0.5em", "type": "line", "default": "0.5em 1em" },		"align": { "label": "Text alignment", "description": "How the content should be aligned", "example": "left, right, center, justify", "type": "line", "default": "center" },		"style": { "label": "Additional styles", "description": "Any extra inline CSS styles to be applied to the quote", "example": "background: none;", "type": "line" }	},	"description": "A standard layout for blocks of content. Intended for usage on the main page.", "format": "block", "paramOrder": [ "heading", "content", "padding", "align", "class", "style" ] }

Basic usage
Only a heading and content are required for the template.

Produces:

These can also be used in positional order.

Produces:

Optional arguments
Special styling can also be applied through the use of the parameters  and , along with the more general   and. Note that these parameters cannot be used positionally, and must be labelled.

Avoid using excessive styles wherever possible, to maintain a consistent look for the main page.