Module:Sortkey/doc: Difference between revisions

From IDU Wiki
Jump to navigation Jump to search
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 09:37, 23 December 2021

This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with table sorting. Use it when you cannot be certain that the provided sortkey input is a correct sortkey.

Usage[edit source]

{{#invoke:Sortkey|escape|sortkey to sanitize}}