Jump to content

Module:Sortkey/doc: Difference between revisions

From pool
Content deleted Content added
Created page with "{{Module rating |release}} 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:sor..."
 
No edit summary
 
Line 1: Line 1:
{{Module rating |release}}
{{Module rating |release}}
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 [[Wikipedia:Help:sorting|table sorting]]. Use it when you cannot be certain that the provided sortkey input is a correct sortkey.


<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->

Latest revision as of 18:08, 22 October 2020

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

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