Template:Center/doc

Usage
{	"params": { "1": {			"label": "Content", "type": "content", "required": true },		"style": { "label": "Custom CSS" }	},	"description": "A simple template to center-align content in tables and other places. Be aware that the center class is applied to this template, which means every element within the template has its left and right margins set to auto. This may harm some templates." }

Example
To do this without a template, simply use the following code:

To center a table, see Help:TABLECENTER.

Table
Using /  / Using /  /