Parameter
|
Description
|
Examples
|
Default
|
fullwidth
|
Set to anything ("on", "yes", "true", ...) 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
|
Class for the table
|
|class=wikitable |class=infobox |class=sidebar etc.
|
none
|
style
|
CSS styling for the table
|
|style=width:80%;background:transparent;
|
none
|
cols
|
Number of columns in the table
|
|cols=4
|
2
|
colwidth
|
Width of each column
|
|colwidth=6.0em |colwidth=25% etc.
|
not set
|
|
|
|
|
rowstyle
|
CSS styling for each row
|
|rowstyle=text-align:center;
|
not set
|
col[C]width
|
Width of column number [C]
|
|col2width=6.0em |col3width=25% etc.
|
not set
|
col[C]class
|
Class for the cells in column number [C]
|
|col1class=navbox-group
|
none
|
col[C]align
|
Alignment (left, right, center) for column [C]'s cell contents.
|
|col4align=right
|
not set
|
|
- CSS styling for column [C]'s cells.
Set to anything ("on", "yes", "true", ...) to add white-space:nowrap to column [C]'s cell styling (i.e. prevent lines within its cells from wrapping).
|
|col3style=background:lavender; -
|col1nowrap=on
|
|
row[R]class
|
Class for the cells in row [R]
|
|row10class=navbox-abovebelow
|
none
|
row[R]style
|
CSS styling for cells in row [R]
|
|row1style=font-weight:bold;
|
none
|
class[R].[C]
|
Class for the cell in row [R], column [C]. Overrides any other class attribution (col[C]class, row[R]class ).
|
none
|
style[R].[C]
|
CSS styling for the cell in row [R], column [C]. Overrides any more generalized styling (leftright, col[C]align, row[R]style , etc).
|
none
|
Unnamed parameters
|
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.
|