Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:18, 23 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} {{Uses TemplateStyles|Template:Plain column headers/styles.css}} This template adds non-bolded and left-aligned column headers to tables, similar to the <code>plainrowheaders</code> class defined in common.css, which it can be used alongside. {{Markup|<nowiki>{{plain column headers}} {| class="wikitable plain-column-headers" ! scope="col" | Foo ! scope="col" | Bar |- ! scope="row" | Baz | Qux |}</nowiki>|{{plain co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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