Template:Table/Cell
< Template:TableIntroduction[edit]
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[edit]
Usage[edit]
Syntax[edit]
{{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[edit]
- 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[edit]
Not visible. This template creates a table cell. For an example, refer to the talk page.
This article uses material from the "Template:Table/Cell" article on FFXIclopedia and is licensed under the CC-BY-SA License.