Help:Tables

This page explains the use of wikitables.

If you are still stuck, Wikipedia has a large help page on tables.

Standard table examples


This code produces the following table:

-



This code produces the following table:

-



This code produces the following table:

-



This code produces the following table:

Collapsible tables
Adding mw-collapsible to the table's class will make it collapsible. A further parameter of mw-collapsed will set it collapsed by default and omitting it keeps the table shown by default.



This code produces the following table:

Styling
Tables can be styled by using the CSS classes shown here.



Alternating row colors
Add zebra to alternate the color of each (non-header) row.