Template:Table

Introduction[edit]

This template opens a Wikitext table.

It is meant for use within other Templates where the Wikitext cannot be used directly.

See Also[edit]

Usage[edit]

Syntax[edit]

{{Table
  |w=<width>
  |cs=<cellspacing>
  |cp=<cellpadding>
  |a=<align>
  |s=<style>
  |c=<class>
}}

{{Table|w=|cs=|cp=|a=|s=|c=}}

Full[edit]

This includes the other parts as listed in See Also.

{{Table|w=|cs=|cp=|a=|s=|c=}}
{{Table/Row|bg=|a=|s=|c=}}
{{Table/Header|w=|cs=|rs=|bg=|a=|v=|p=|pl=|s=|c=}}
{{Table/Row|bg=|a=|s=|c=}}
{{Table/Cell|w=|cs=|rs=|bg=|a=|v=|p=|pl=|s=|c=}}
{{Table/Close}}

Parameters[edit]

All parameters are optional.

  • w: The width of the table in pixels or percent. Examples: 600px or 80%
    Default value is auto.
  • cs: The value of the cellspacing attribute.
    Default value is 1.
  • cp: The value of the cellpadding attribute.
    Default value is 2.
  • a: The text-align value.
    Valid Values: l, left, c, center, r, right, j, justify.
    Default value is left.
  • 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 table, such as sortable.

Default Output[edit]

Not visible. This template opens a table. For an example, refer to the talk page.


This article uses material from the "Template:Table" article on FFXIclopedia and is licensed under the CC-BY-SA License.