Template:Circa/doc/sortable

From Vigyanwiki
< Template:Circa‎ | doc
Revision as of 16:43, 9 January 2021 by wikipedia>Adam37 (Preciously repetitive and didactic - being vague then too detailed - style breaching WP:TL;DR fixed.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If the parameter "sortable=yes" is specified, the template generates invisible text that will cause the output to work in sortable tables, at the cost of adding those words (read-out, audibly) by many screen readers. The benefit is effective, clickable arrows as in "Col 2" below:

Title Col 1 Col 2
Foo 1066 1066
Bar c. 1510 1510 c. 1510
Baz 1956 1956
Jaz c. 410 0410 c. 410