Template:Plain column headers/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. This template adds non-bolded and left-aligned column headers to tables, similar to the plainrowheaders class defined in common.css, which it can be used alongside.

Markup Renders as
{{plain column headers}}
{| class="wikitable plain-column-headers"
! scope="col" | Foo
! scope="col" | Bar
|-
! scope="row" | Baz
| Qux
|}
Foo Bar
Baz Qux
{{plain column headers}}
{| class="wikitable plain-column-headers plainrowheaders"
! scope="col" | Foo
! scope="col" | Bar
|-
! scope="row" | Baz
| Qux
|}
Foo Bar
Baz Qux