Help:使用維基標記式語言增修表格/2/表格2
外观
< Help:使用維基標記式語言增修表格 | 2
{|
|
開頭 | Besides beginning the table, this is also where table class is defined – for example, class="wikitable" . A table's "class" applies a standard set of Wikipedia formatting to that table. The two most commonly used classes are "wikitable" and "wikitable sortable".
|
---|---|---|
|+
|
標題 | 選填。僅能放在表格開頭與表格第一列之間。 |
!
|
表頭列 | 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 between double exclamation marks (!! ).
|
|-
|
新的一列 | To begin a new row of cells use a single vertical bar (| ) and a hyphen (- ).
|
|
|
某列內新的一格 | 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 between double vertical bars (|| ).
|
|}
|
結尾 | 要終止表格格式,需另換新行使用一個水管符號(| )以及左花括號(} )。
|