Parameter
| Description
| Examples
| Default
|
---|
cols
| Number of columns in the table.
| |cols=4
| 2
|
fullwidth
| Set to anything ("on", "true", "yes", etc) to ensure table spans entire width available. (Effect is to remove border-spacing and add width:100% to the table's styling.)
| |fullwidth=on
| not set
|
class
| CSS/HTML class/es applied to the table.
| |class=wikitable |class=infobox |class=sortable nowrap |class=sidebar
| none
|
style
| CSS styling applied to the table.
| |style=width:80%;background:transparent;
| none
|
colwidth
| Width of each column (or include "width:...;" in colstyle).
| |colwidth=6.0em |colwidth=25%
| not set
|
colstyle
| CSS styling applied to each column.
| |colstyle=background:transparent;
| "
|
rowstyle
| CSS styling applied to each row.
| |rowstyle=text-align:center;
| "
|
leftright
| Set to anything ("on", "true", "yes", etc) in place of |col1align=left and |col2align=right
| |leftright=on
| not set
|
colTemplate:Varwidth
| Width of column number Template:Var (or include "width:...;" in colTemplate:Varstyle).
| |col2width=9.0em |col3width=35%
| none set
|
colTemplate:Varclass
| Class/es applied to column number Template:Var.
| |col1class=navbox-group
| "
|
colTemplate:Varalign
| Alignment (left / right / center) for column Template:Var's cell contents (or include "text-align:...;" in colTemplate:Varstyle).
| |col4align=right
| none set
|
colTemplate:Varnowrap
| Set to anything ("on", "true", "yes", etc) to add "white-space:nowrap;" to column Template:Var's cell styling (i.e. to prevent lines within its cells from wrapping; or include "nowrap" in colTemplate:Varclass or "white-space:nowrap;" in colTemplate:Varstyle).
| |col5nowrap=on
| "
|
colTemplate:Varstyle
| CSS styling applied to column number Template:Var.
| |col4style=font-style:italic;
| "
|
colTemplate:Varheader
| Set to any value (e.g. Y ) to change col's cells from data cells to table headers (headings).
| |col1header=on
| not set
|
rowTemplate:Varclass
| Class/es applied to row number Template:Var.
| |row10class=navbox-abovebelow
| none set
|
rowTemplate:Varstyle
| CSS styling applied to row number Template:Var.
| |row2style=font-weight:bold;
| "
|
rowTemplate:Varheader
| Set to any value (e.g. Y ) to change row's cells from data cells to table headers (headings).
| |row1header=on
| not set
|
classTemplate:Var.Template:Var
| Class/es applied to cell in row Template:Var, column Template:Var. Overrides any other class attributions (rowTemplate:Varclass, colTemplate:Varclass).
| |class1.2=adr
| none set
|
styleTemplate:Var.Template:Var
| CSS styling applied to cell in row Template:Var, column Template:Var. Overrides any more general styling (leftright, colTemplate:Varalign, rowTemplate:Varstyle, etc).
| |style5.3=text-align:right;
| "
|
Template:Sans-serif
| Each unnamed parameter is taken to be the next cell in the table, starting at the table's top left corner and working left to right from top to bottom.
| | Azerbaijan | Malta | Zaire
| empty
|