Template:Number table sorting hidden
From TechInfoDepot
Jump to navigationJump to searchUses Lua: |
The {{number table sorting}} template now also creates sort keys that are hidden, so please use that template instead. This template should be used for numbers only! |
Usage
{{ntsh|some number}}
This template is not intended for use with non numeric input. Doing so will result in an error message.
Output
No output is displayed when using almost all browsers. If a text browser is used the result is undefined. See Wikipedia:Accessibility#Users with limited CSS/JavaScript support.
{{ntsh|123456789.00123}}
generates<span data-sort-value="7008123456789001230♠" style="display:none"></span>
{{ntsh|-123456789.00123}}
generates<span data-sort-value="2991876543210998770♠" style="display:none"></span>
See also
- {{Number table sorting}}
- {{val}} - displays numbers and quantities with various formatting options
- {{sort}} – used to generate any sort key with visible text
- {{hidden sort key}} – used to generate any hidden sort key
The above documentation is transcluded from Template:Number table sorting hidden/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |