Template:Sort under/testcases

Uses sort under/sandbox. Note that it's not possible to compare the live and sandbox versions of styles.css on the same page since they would compete with each other.

Test wikitable sort-under (right)
Wikitext:

Test wikitable sort-under-right
Wikitext:

Test wikitable sort-under-center
Wikitext:

Test plain table sort-under (right)
Wikitext:

Test plain table sort-under-right
Wikitext:

Test plain table sort-under-center
Wikitext:

Compare wikitable
Yellow uses this template. Border added around vertical group to aid comparison.

Compare plain table
Yellow uses this template. Border added around vertical group to aid comparison. Plain table border and top/bottom margin added to aid comparison.

Test template static row numbers
Uses static row numbers. Plain table border and top/bottom margin added to aid comparison.

This template aligns the number column header text with the other top-most header text. Yellow are misaligned after sorting, which alignment isn't possible if the table has exactly one header row followed by any  rows in the  element.

Wikitable using  class to display the "No." text.

Wikitable using  class to display the hash ("#") text.

Plain table using  class to display the "No." text.

Plain table using  class to display the hash ("#") text.