维基百科 :格式 手 冊 /表 格
此條 |
|
此維 |
格式 [编辑]
It is recommended that Help:class="wikitable"
to the top row of the table. The powerful and useful Help:class="sortable"
to the top row. Extreme caution should be applied if rowspan or colspan is used. It is also possible to combine class, as in class="wikitable sortable"
.
上 標 與 欄 位 標 [编辑]
Table captions and column/row headings should be succinct and self-explanatory. In most cases, individual words or sentence fragments should be used, and
外觀 [编辑]
In general, styles for tables and other block-level elements should be set using CSS classes, not with inline style attributes. This is because the site-wide CSS is more carefully tested to ensure compatibility with a wide range of browsers; it also creates a greater degree of professionalism by ensuring a consistent appearance between articles. Deviations from standard conventions are acceptable where they create a semantic distinction (for instance, the infoboxes and navigational templates relating to
See WP:Deviations and Wikipedia talk:Consensus/RfC for guidance on use of coloring or non-standard formatting, and for when MoS and WikiProjects guidance is at variance.
Consideration may be given to collapsing tables which Wikipedia:
Wikipedia tables are set flush-left, and allowed to grow rightward, not centered on the page.
親和力 [编辑]
Screen readers and other web browsing tools make use of specific table tags to help users navigate the data contained within tables. Use the correct wikitable pipe syntax to take advantage of all the features available.
See Wikipedia:
Do not separate items by leaving blank lines between them, even when using unordered or definition lists. The Wikipedia list templates explicitly identify lists for readers, rather than relying on visual formatting to indirectly imply the presence of a list.
大小 [编辑]
Splitting lists and tables per summary style is Wikipedia:
On the other hand, overloading tables with too much detailed statistical data is against policy. Careful thought should be given to how a reader would use a table, and what level of detail is appropriate.
適用 性 [编辑]
適當 使用 [编辑]
Tables are a way of presenting links, data, or information in rows and columns. They are a complex form of list, formatted into a systematic grid pattern. Tables might be useful for presenting mathematical data such as multiplication tables, comparative figures, or sporting results. They may also be useful for presenting equivalent words in two or more languages; for awards by type and year; complex discographies; etc.
The sortability of multiple columns in a table is a powerful tool that helps the reader to understand relationships and find patterns in large lists. The sortability of tables makes them very useful for "List of..." articles in Wikipedia, which are intended to give an overview of the subject area, and to allow easy comparisons among many similar items. Avoid cramming too much detailed information into individual table entries; if appropriate, the reader should be able to click a Wikilink to read a full, detailed article corresponding to a concise table entry.
Often a list is best left as a list. Before reformatting a list into table form, consider whether the information will be more clearly conveyed by virtue of having rows and columns. If so, then a table is probably a good choice. If there is no obvious benefit to having rows and columns, then a table is probably not the best choice.
Tables should not be misused to resolve visual layout problems. If the information you are editing is not tabular in nature, it probably does not belong in a table: Do not misuse tables for putting a caption under a photograph, arranging a group of links, or other strictly visual features. These practices make the article harder for other Wikipedians to edit, and is likely to cause problems when viewed on different display sizes and aspect ratios. Also, when compared with tables, wikimarkup is more flexible, easier to use, and less arcane when used correctly for desktop publishing layout, page elements, and page orientation and positioning.
Examples:
標準 多 欄 排 序 表 格 [编辑]
|
標準 多 欄 表 格 含副欄 位 [编辑]
|
混用 排 序 多 欄 表 格 [编辑]
|
多 欄 定 序 表 格 [编辑]
獎項
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
多 欄 定 序 表 格 數字 靠 右 [编辑]
|
樹 狀 圖 (分 支 圖 )左側 起 始 [编辑]
|
彩色 甘 特 圖 (水平 條 狀 圖 )[编辑]
Flow data
|
---|
不當 使用 [编辑]
簡單 條 列 [编辑]
如果
* 1980: Ultra Wave * 1988: What's Bootsy Doin'? * 1994: Blasters of the Universe * 1994: Fresh Outta 'P' Uni
這樣
- 1980: Ultra Wave
- 1988: What's Bootsy Doin'?
- 1994: Blasters of the Universe
- 1994: Fresh Outta 'P' Uni
{| class="wikitable" |1980 |Ultra Wave |- |1988 |What's Bootsy Doin'? |- |1994 |Blasters of the Universe |- |1994 |Fresh Outta 'P' Uni |}
其
1980 | Ultra Wave |
1988 | What's Bootsy Doin'? |
1994 | Blasters of the Universe |
1994 | Fresh Outta 'P' Uni |
散文 體 [编辑]
Prose is preferred in articles as prose allows the presentation of detail and clarification of context, in a way that a table may not. Prose flows, like one person speaking to another, and is best suited to articles, because their purpose is to explain. Tables which are mainly Wikipedia:
頁 面 佈局[编辑]
Page layouts (using multiple columns, positioning elements, adding borders, etc.) should be done via 层叠样式
- Images and other embedded media should be positioned using standard image syntax.
- There are several templates available that will create preformatted multi-column layouts: see Help:Columns.
- Other elements can be positioned or given special formatting through the use of the HTML
Span
element and Help:层叠样式与 div表 .
參 見 [编辑]
- 关于
表 格 的 语法,参 见帮助:表 格 - Help:
使用 維基標記 式 語 言 增 修 表 格 /1, quick guide - Help:Collapsing (show/hide button)
- Wikipedia:Conditional tables
- Wikipedia:Table namespace, an inactive proposal
- HTML
元素
參考 資料 [编辑]
- ^ 1.0 1.1 1.2 1.3 1.4 Turner, Chris. World Professional Championship. cajt.pwp.blueyonder.co.uk. Chris Turner's Snooker Archive. [18 March 2011].
- ^ 2.0 2.1 Turner, Chris. International Open Goya, Matchroom Trophy. cajt.pwp.blueyonder.co.uk. Chris Turner's Snooker Archive. [18 March 2011].
- ^ Turner, Chris. Classic. cajt.pwp.blueyonder.co.uk. Chris Turner's Snooker Archive. [18 March 2011].
- ^ 4.0 4.1 Turner, Chris. UK Championship. cajt.pwp.blueyonder.co.uk. Chris Turner's Snooker Archive. [18 March 2011].
- ^ Top Albums/CDs – Volume 58, No. 25. RPM (
加 拿大国家 图书馆暨档案馆). January 10, 1994 [August 15, 2010]. - ^ IFPI Platinum Europe Awards: 2002 Awards.
國際 唱片業 協會 . [August 15, 2010].
|