Search results
Results from the WOW.Com Content Network
You can add a table using HTML rather than wiki markup, as described at HTML element#Tables. However, HTML tables are discouraged because wikitables are easier to customize and maintain, as described at manual of style on tables. Also, note that the <thead>, <tbody>, <tfoot>, <colgroup>, and <col> elements are not supported in wikitext.
If you use tables for two-dimensional graphics you might discover a "feature" in HTML that promotes grey hair. It can affect both rows and columns, depending on the use of either rowspan or colspan. In this 7-row table three cells are assigned a rowspan of 3, but the table totals 6 rows. Where is row 4? There is a row 5-4!
Wikitable Editor, a table editor of wiki code that outputs visual preview quickly; HTML2Wiki Converter at toolforge.org; HTML-WikiConverter, various versions and languages; pywikipediabot, can convert HTML tables to wiki; Table of CSS color names and HEX codes; Phabricator request for floating table headers
This also applies to other coding approaches, such as divs with CSS styling, or rowspan and colspan HTML cell attributes. Nesting data tables with header cells also makes it difficult for assistive readers to parse them sensibly, and should be avoided.
See also: Meta: Community Wishlist Survey 2022/Reading/floating table headers and meta:Community Wishlist Survey 2021/Reading/Enable sticky table headers. A scrolling table in the sense of the vertical scrollbar for the whole page. When you scroll the page the table headers stay visible when the table goes beyond the top of the screen.
There is an easy online wiki table editor here: wikitable.eu5.org; It makes it easy to edit the text and links in individual cells of a table. It is especially easy when there are no rowspans in the body of a table. See the previous section. Without rowspans it is easier to change the underlying framework of a table, and move stuff around.
And it will do it correctly for tables with row headers too (see also Help:Table#Row headers). Tab2wiki will not compress the wikitext at all if this is checked: "First element in a row is a header". Note: The visual editor will copy templates (as in a column of country/state/province names with flag templates), but it will not copy inline ...
When read by screen readers, headers are repeated in every corresponding cells. [WCAG-TECH 1] So headers must be closely related to their corresponding cells to produce a meaningful result. This is often an issue in row headers in Wikipedia. For example, the discography tables do not use any row headers as the first cell in the rows are dates.