Template:Circa/doc/sortable: Difference between revisions
< Template:Circa | doc
Template>1234qwer1234qwer4 m Disambiguating links to Help:Sorting (link changed to Help:Sortable tables) using DisamAssist. |
m 1 revision imported |
(No difference)
|
Latest revision as of 13:48, 20 January 2025
If the parameter "sortable=yes
" is specified, the template generates invisible text that will cause the column to sort correctly in sortable tables. However, it is at the cost of having that invisible text read out audibly by many screen readers. "Col 1" without the template does not sort correctly. "Col 2" with the template and sortable=yes
sorts correctly.
Title | Col 1 | Col 2 |
---|---|---|
Foo | 1066 | 1066 |
Bar | c. 1510 | 1510 | c.
Baz | 1956 | 1956 |
Jaz | c. 410 | 410 | c.
<syntaxhighlight lang=wikitext>
Title | Col 1 | Col 2 |
---|---|---|
Foo | 1066 | 1066 |
Bar | c. 1510 | 1510 | c.
Baz | 1956 | 1956 |
Jaz | c. 410 | 410 | c.
</syntaxhighlight>