Help:Table

Tables can be used for displaying data and for creating box-type designs for pages on this wiki.

Markup
There are many ways to create a table. Below shows the most basic example of creating a table, but users are asked to add either  (for black borders) or   (a predetermined format by the MediaWiki software that gives it gray borders and headers) after the.

{| ! !XHTML !Wiki syntax !Table
 * ) to add arrows, allowing you to sort certain table columns.

Sample tables
{| !XHTML !Wiki syntax


 * }

With the "table" class applied:

With the "wikitable" class applied:

{| !Table !Wikitable
 * }

Complex layout (made simple)
This advanced example shows some of the options available for making tables. Users are advised to not add this in articles, as several of these options are already incorporated in the "table" class (which is has been defined in Common.css). You can play with these settings in your own table to see what effect they have. Not all of these techniques may be appropriate in all cases; just because you can add colored backgrounds, for example, doesn't mean it's always a good idea. Try to keep the markup in your tables relatively simple &mdash; remember, other people are going to be editing the page too.

Your table code reflect the table structure. Although it is possible to compose complex layout as one table, it is generally not advisable. For simplicity, it is best to split the layout into small units.

Split it up
While you can nest table

It may be better to split the tables up:

Don't use table for simple box
Table code should be used for tables only. For simple boxes, use  instead. For example, instead of:

You may use

Attribution
The original policy page was from Wikia Central.