Jump to content

Module:Sortkey/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by TheDJ (talk | contribs) at 12:49, 28 June 2018 (Created page with '{{tl|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 combinatio...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

{{Module rating }} 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}}