Module:Sortkey/doc

From IxWiki
Jump to navigation Jump to search

This is the documentation page for Module: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 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}}