Template:Table/doc

Usage
Use at the beginning of a table to assign the  and other commonly used table CSS classes. With no parameters, the template outputs. The param1, param2, and param3 parameters can be any of the following options:


 * Collapse options
 * , ,  , or  : Uses the   class to show a [hide] link to collapse the table, but leaves the table uncollapsed by default
 * , ,  , or  : Uses the   classes to make the table collapsed with a [show] link to reveal the table.
 *  or  : Uses the   classes to make the table collapsible, but only collapse it if there are three or more collapsible tables on the page
 *  or  : Uses the   classes to make the table collapsible, but only collapse if the table is within a larger table with the   class.
 *  or  : Uses the   class to collapse any smaller tables within the table it that use the   class. Can be combined with the various collapse and sort options above.


 * Sort options
 *  or  : Uses the   class to add sorting buttons to each column of the table. Can be combined with the various collapse options above or with.


 * Other options
 * Any other Wikipedia class may be specified using the class parameter.

Up to three parameters can be used, plus the custom class parameter, and they can be specified in any order.

Examples
Uses  to produce
 * With no parameters

Uses  to produce
 * With parameters

Uses  to produce:
 * With custom parameters