Help:Introduction to tables with Wiki Markup/2/table 2

class="wikitable"

| {{nowrap|{|}}

! start

| Besides beginning the table, this is also where the table's class is defined{{snds}}for example, class="wikitable". A table's "class" applies standard Wikipedia formatting to that table. The two most commonly used classes are "wikitable" and "wikitable sortable"; the latter allows the reader to sort the table by clicking on the header cell of any column.

{{nowrap||+}}

! caption

| Required for accessibility purposes on data tables, and placed only between the table start and the first table row.

{{nowrap|!}}

! header{{nbsp}}cell

| Optional. Each header cell starts with a new line and a single exclamation mark (!), or several header cells can be placed consecutively on the same line, separated by double exclamation marks (!!).

{{nowrap|
}}

! new{{nbsp}}row

| To begin a new row of cells, use a single vertical bar (|) and a hyphen (-).

{{nowrap||}}

! new{{nbsp}}cell
in{{nbsp}}row

| To add a new cell in a row, start each new cell with a new line and a single vertical bar (|), or several cells can be placed consecutively on the same line, separated by double vertical bars (

).
{{nowrap|
}}

! end

| To end the table, use a single vertical bar (|) and a left facing curly brace (}) alone on a new line.

|}