User Tools

Site Tools


wiki:table_syntax

Table Syntax

* means that the markup must be on a new line

* {| start table
* {| para start table with parameters
* |+ caption table caption; only one per table and between table start and first row1)
* |+ para | caption table caption with parameters
* |- table row
* |- para table row with parameters
* ! header table header cell
* ! para | header table header cell with parameters
!! header consecutive table headers
!! para | header consecutive table headers with parameters
* | cell table data cell; Cell content may follow on same line or on following lines
* | para | cell table data cell with parameters
|| cell consecutive table data cell
|| para | cell consecutive table data cell with parameters
* |} end table; please add an additional empty line to end the whole table2)

please see http://meta.wikimedia.org/wiki/Help:Table for more detail.

1)
caption appears in other place will be echo out directly
2)
no need for nested table
wiki/table_syntax.txt · Last modified: 2019/01/01 17:41 (external edit)