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.
Copy the table to a wiki sandbox. In Calc select the table. Copy directly from it, and then paste into the visual editor, or if that does not work, into a blank visual editor table where the first header cell has been selected. It may take up to a minute. If there is a problem, then paste into Excel2Wiki first, and copy the wikitext.
Consecutive rows of column headers are top sticky, so avoid adding a row of headers right under the column headers that don't apply to the entire table such as a section header meant to visually separate the table. A solution might be to move each section to a column or separate tables, which also avoids accessibility issues per MOS:COLHEAD.
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.