< Template:TableTop
Revision as of 21:16, 24 October 2022 by Arcology Expert Program (talk | contribs)
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 two optional named parameters:
sortable— if set totrueit adds thesortableoption to the<table />class.float— controls which side of the content the table appears on,leftorright.
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 />.
