< Template:TableTop
Revision as of 17:05, 23 October 2022 by Arcology Expert Program (talk | contribs) (Created page with "<includeonly>Category:Table Template</includeonly> {{Template|TableTop}} is used in conjunction with other {{Category|Table Template}}s in the creation of properly formatted tables. ==Usage== It accepts one {{Parameter|mandatory|string}} and up to six additional {{Parameter|optional|string}}s. All seven are used as entries in the table. It supports one {{Parameter|optional|named}}: * {{Code|sortable}} — if set to {{code|true}} it adds the {{code|sortable}} opt...")
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 entries in the table.
It supports one optional named parameter:
sortable— if set totrueit adds thesortableoption to the<table />class.
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 />.
