Search results
Results from the WOW.Com Content Network
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. Template parameters [Edit template data] Parameter Description Type Status Content 1 Content to be centered Content required Custom CSS style ...
The purpose is of this template is for generating simple tables in locations where standard table markup is either not possible, without significant use of the {{!}} magic word (e.g., with a {{}} template), or cumbersome (due to the repetitive use of specification of the same style statement in each row).
Align all table cells left by default defaultcenter: Align all table cells center by default defaultright: Align all table cells right by default colNleft: Align the cells in column N left, where N is a number colNcenter: Align the cells in column N center, where N is a number colNright: Align the cells in column N right, where N is a number
Align all table cells left by default defaultcenter: Align all table cells center by default defaultright: Align all table cells right by default colNleft: Align the cells in column N left, where N is a number colNcenter: Align the cells in column N center, where N is a number colNright: Align the cells in column N right, where N is a number
Note: If you trying to align a table column (left, center, or right) use Template:Table alignment. This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:
Tables Generator, a WYSIWYG table generator for Mediawiki markup; Wikitable Editor, a table editor of wiki code that outputs visual preview quickly; HTML2Wiki Converter at toolforge.org; HTML-WikiConverter, various versions and languages; pywikipediabot, can convert HTML tables to wiki; Table of CSS color names and HEX codes
text alignment inside the cell, either 'left', 'right', 'center' or 'justified' Suggested values left center right justified Default center: String: optional: style: style: a semicolon-separated list of additional CSS rules to be applied to the table cell. Default (template dependent) String: optional: background color: color
Recall that, outside an image-table, the parameter "right|" causes an image to align (either) above or below an infobox, but would not float alongside the infobox. For that reason, many images beside an infobox are typically set as "left|" to align along the left-margin, rather than floated into the center of the page.