Template:Nicetable Presentation
Jump to navigation
Jump to search
A workaround for lack of wikitable
border="2" cellpadding="4" cellspacing="0" style="background:#F7F7F7; border:1px #A0A0A0 solid; border-collapse:collapse" role="presentation"
The ARIA role defaults to presentation to tell CSS3 and HTML 5 aware browsers that this table is layout and not tabular data. To use a different role specify as {{Nicetable Presentation|name_of_role}}. The set of permitted roles is buried in this document and really needs a handy list in a readily findable location.
To use Nicetable with the defaults that assume tabular data, which can't really be specified manually this way, use regular {{Nicetable}}
To use:
{| {{Nicetable Presentation}}
|-
|A
|B
|C
|-
|1
|2
|3
|-
|a
|b
|c
|}
Result:
| A | B | C |
| 1 | 2 | 3 |
| a | b | c |