Help:Style manual: Difference between revisions
Jump to navigation
Jump to search
(→Icons) |
|||
Line 572: | Line 572: | ||
* item 2}}}} | * item 2}}}} | ||
== Tables == | |||
Due to accessibility concerns, tables should generally only be used to list complex data that could not be listed in any other way. | Due to accessibility concerns, tables should generally only be used to list complex data that could not be listed in any other way. | ||
Line 579: | Line 579: | ||
Tables should be avoided for layout or presentation purposes, except when absolutely necessary (such as for navboxes, or infoboxes). | Tables should be avoided for layout or presentation purposes, except when absolutely necessary (such as for navboxes, or infoboxes). | ||
=== Headers === | |||
As with section headers, always use sentence case in table headers. | |||
For accessibility reasons, it's important to ensure that headers are properly formatted. Using wikitext, headers are defined with {{code|!}}: | |||
<pre> | |||
{| class="wikitable" | |||
! Header | |||
|- | |||
| Not header | |||
|} | |||
</pre> | |||
Which produces: | |||
{| class="wikitable" | |||
! Header | |||
|- | |||
| Not header | |||
|} | |||
== Icons == | == Icons == |