Community Archive
Template:Table/Cell
Introduction
This template creates a Wikitext table cell (TD).
It is meant for use within other Templates where the Wikitext cannot be used directly.
See Also
- Template:Table
Usage
Syntax
{{Table/Cell
|w=<width>
|cs=<colspan>
|rs=<rowspan>
|bg=<color>
|a=<align>
|v=<valign>
|p=<padding>
|pl=<padleft>
|s=<style>
|c=<class>
}}
{{Table/Cell|w=|cs=|rs=|bg=|a=|v=|p=|pl=|s=|c=}}
Parameters
- w: The width of the cell in pixels or percent. Examples: 100px or 10%.
- cs: The value for colspan.
- rs: The value for rowspan.
- bg: The background color for the cell.
- a: The text-align value.
Valid Values: (empty), l, left, c, center, r, right, j, justify. - v: The vertical-align value.
Valid CSS values: baseline, sub, super, top, text-top, middle, bottom, text-bottom, inherit. - p: The cell padding in any valid CSS format. Examples: 3px, 1em
- pl: The amount of padding for the left side of the cell. It uses the same format as padding.
- s: Any custom CSS you want to be included in the style attribute.
Each style must be properly formatted:<name>:<value>; - c: Any class names you want applied to the cell.
Default Output
Not visible. This template creates a table cell. For an example, refer to the talk page.
Source entry: Template:Table/Cell. Cached on this server on 5 November 2026.