Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown
Icon-documentation.svg

Template:TableTop is used in conjunction with other Table Templates in the creation of properly formatted tables.

Usage

It accepts one mandatory string parameter and up to six additional optional string parameters. All seven are used as headers in the table.

It supports four optional named parameters:

  • float — controls which side of the content the table appears on, left or right.
  • sortable — if set to true it adds the sortable option to the <table /> class.
  • caption — adds a table caption.
    • edit — If caption is set, this parameter can be set to the table article's name to invoke Template:Edit and add a quick-edit link to the caption.

Return

The table starts with <table class="wikitable">, then the supplied parameters are used to construct a <th /> with each parameter wrapped in a <td />. For example, {{TableTop|A|B|C|sortable=true|caption={{template|TableTop}} Sample|edit=true}} produces the header in:

Template:TableTop Sample
ABC
A1B1C1
A2B2C2

The documentation above was transcluded from Template:TableTop/Documentation.