Help:Table

A table is an arrangement of columns and rows used to organize and position data. You create tables in wiki pages using special Wikitext syntax, and there are many different styles and tricks that you can use to customise them.

Bogleheads wiki specifics
Wikipedia's standard table format uses. You can generate a table automatically by using the Table button on the Edit toolbar. This creates: You can use Table in place of. This template gives you convenient ways to set other style options.

Centering the columns of a table
If you want to have columns centered in a table, add  after. This creates: An alternative is using the to make it simpler to align the columns in tables with less wikicode. Place  just before the table and then add some classes to the table.

Sortable tables
You can make tables columns sortable by using. For more, see Help:Sorting from Wikipedia. Because this can be very useful, keep the possibilities and limitations of this feature in mind when you design a table.

A table created with  looks like this:

Row highlighting
You can add row highlighting, by using. This makes it easier for readers to follow the information across a row, particularly in wide tables. Move your cursor over the table below to see the light blue banding in a table created with :

You need to add mw-datatable before the start of the table. You only need to do this once per page, as each subsequent table on that page containing  will then have its rows highlighted.

Create tables from a spreadsheet
Use Excel2Wiki to convert Excel spreadsheets to Wikitext tables.