MyWiki:Table dos and don'ts

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Tables are a great way to present data.
When you work with tables:
DO:
File:Green check.png Use wikitables, not HTML tables.
File:Green check.png Use class="wikitable" to apply standard style.
File:Green check.png Use short, self-explanatory captions and headers.
File:Green check.png Use CSS classes, not inline attributes, to set table style.
File:Green check.png Make columns sortable as appropriate.
DON'T:
File:Red x.svg Don't use tables for visual layout.
File:Red x.svg Don't use color alone to convey information.
File:Red x.svg Don't nest tables if avoidable.
File:Red x.svg Don't use scrolling tables in articles.
File:Red x.svg Don't split up sortable tables.

See also

[edit source]