Jump to content

Wikipedia:Table dos and don'ts

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Novarupta (talk | contribs) at 17:31, 11 February 2017 (fix broken link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Tables are a great way to present data.
When you work with tables:
DO:
Use wikitables, not HTML tables.
Use short, self-explanatory captions and headers.
Use class="wikitable" to apply standard style.
Use CSS classes, not inline attributes, to set style.
Make columns sortable as appropriate.
DON'T:
Don't use tables for visual layout.
Don't use color alone to convey information.
Don't use nested tables if avoidable.
Don't use scrolling tables in articles.
Don't split up sortable tables.

See also