Template:Center/doc

Usage
This template center-aligns text. For example,

style
Where there is a need to specify the style of text for the whole ...  item, an optional  parameter can be used.

This can be useful when the body of the template is not a single inline item but a multi-paragraph structure. If the formatting in question has a "block" template, you can also nest that inside or outside the  template:

The following solutions are then applicable.

Redirects

 * c

Tracking categories

 * Category:Pages using center with no text argument—Pages where the template is called with no text or first argument, typically because the content contains an = or otherwise confuses the parser

Template data
{	"description": "Align text to the center", "params": { "style": { "label": "style", "description": "Additional CSS styles to apply to the block", "type": "content", "required": false },		"text": { "aliases": [ "1"			],			"label": "text", "description": "The text to center, this can be more than one paragraph.", "type": "content", "required": true },		"nomargin": { "label": "nomargin", "type": "string", "suggestedvalues": [ "yes, no" ]		},		"nocat": {}, "class": { "description": "Additional CSS classes to apply." }	},	"paramOrder": [ "style", "text", "nomargin", "nocat", "class" ],	"format": "inline" }