[go: up one dir, main page]

Jump to content

Wikipedia:Table dos and don'ts

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Swpb (talk | contribs) at 20:02, 8 September 2023. The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Tables are a great way to present data.
When you work with tables:
DO:
Use wikitables, not HTML tables.
Use class="wikitable" to apply standard style.
Use short, self-explanatory captions and headers.
Use CSS classes, not inline attributes, to set table 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 nest tables if avoidable.
Don't use scrolling tables in articles.
Don't split up sortable tables.

See also[edit]