Jump to content

Module:Sortkey/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
dep
 
Line 1: Line 1:
{{Module rating |release}}
{{Module rating |release}}
{{Lua|Module:Arguments}}
This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with [[Help:sorting|table sorting]]. Use it when you cannot be certain that the provided sortkey input is a correct sortkey.
This module sanitizes and escapes sortkeys so that they can be used inside the data-sort-value attribute of HTML tags in combination with [[Help:sorting|table sorting]]. Use it when you cannot be certain that the provided sortkey input is a correct sortkey.



Latest revision as of 00:57, 26 May 2024

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]

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