跳转到内容

Help:使用維基標記式語言增修表格/2/表格2

维基百科,自由的百科全书

这是本页的一个历史版本,由Taiwania Justo留言 | 贡献2018年12月26日 (三) 15:18 建立内容为“{| class="wikitable" | <code>{{nowrap|<nowiki>{|</nowiki>}}</code> ! start | Besides beginning the table, this is also where table class is defined{…”的新页面)编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
{| start 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".
|+ caption Optional, and placed only between table start and the first table row.
! header 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 between double exclamation marks (!!).
|- new row To begin a new row of cells use a single vertical bar (|) and a hyphen (-).
| new cell
in 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 between double vertical bars (||).
|} end To end the table use a single vertical bar (|) and a left facing curly brace (}) alone on a new line.