Template:Prettytable/Documentation

Template to put at the top of table declarations to standardise and prettify their appearance. By default it will make the table occupy all the page's width. If you want to turn it off, call the template as follows:. Additionally, you can mark the table as sortable (i.e. if it's a table of sortable values, such as yes or no), by using the "sortable" parameter:. Text can be centred in the table using. Finally, extra styling can be added using the "style" parameter.

Parameters

 * notwide: If a value is given (1, 0 or anything) it will make the table not stretch to fit the area it is contained in.
 * sortable: If a value is given, it allows columns to be sorted by clicking on the little icon within the header cell at the top of the column.
 * text center: If a value is given, text will be center aligned.
 * float: A side on which to float the table ("left" and "right" are the allowed values). Setting "float" automatically sets the "notwide" parameter too.
 * style: Additional style values are allowed; usage is simply the CSS values not surrounded by quotes.