Help:Table

This page is a tutorial on how to create tables.

Code
To create a table, you will first need to understand what the symbols mean:


 *  {|  - Signifies the start of a table.
 *  |}  - Signifies the end of a table.
 *  |+  - Signifies the caption of a table; what text will appear above it, labeling it.
 *  |-  - Signifies the start of a table row.
 *  |  - Signifies the start of a regular table cell.
 *  !  - Signifies the start of a header table cell. The text within a header cell is boldfaced.
 *  ||  - Signifies the switch to a new cell within a row.
 *  !!  - Signifies the switch to a new header cell within a row.

Usage
Here is how you would use these symbols appropriately:

Styling
To modify a specific cell, a row, or the entire table, you would use the style attribute:

Placing the style attribute after the {| symbol alters the entire table: {| style="font-family: (a font family);border: (a thickness)" Placing the style attribute after the |+ symbol alters the table's caption. Use the pipe symbol to divide it from the text: Placing the style attribute after the |- symbol alters the entire row that follows it: Placing the style attribute after the | symbol alters a single cell. Use the pipe symbol to divide it from the text: Please note that styling a single cell has the most precedence. This means that if you style the table's background red, and style a single cell black, the single cell will appear black, rather than red.
 * + style="font-family: (a font family);color: (# a color)" | This is the caption for my table.
 * - style="font-family: (a font family);color: (# a color)"
 * style="font-family: (a font family);color: (# a color)" | These || are || my || regular || cells

Source code
Here is the source code of the above table:

To use this coding successfully, just copy it, paste it on the article you need it for, and fill in the individual information.

The "table" or "wikitable" class can be used to easily create a template. The former class creates a table with black borders.