Template:Ntsh/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
Created page with "{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{lua|Module:Number table sorting}} {{deprecated|ntsh|number table sorting|date=March 2019}} {{m..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10:
 
{{Format TemplateData|TOC=1|JSON={
"description": "'''Ntsh''' ('''<u>N</u>'''umber '''<u>T</u>'''able '''<u>S</u>'''orting, '''<u>H</u>'''idden) generates a hidden sort key that allows numbers to sort correctly when a column of a sortable table needs to be sorted alphabetically. This template is a hidden version of {{tl|Number table sorting}}. See [[Wikipedia:Help:Sorting#Sorting with a hidden key]]. It can be used to prefix non-numeric entries; for example, using <code>&#123;&#123;ntsh&#124;0&#125;&#125;None</code> will cause \"None\" to be sorted as if it had a numeric value of zero.<p>This template has the same limitation as {{tl|Number table sorting}}. Please read [[Template:Number table sorting#Limitations]].</p>", "params": {
"1": {
"label": "Sort value",
Line 35:
 
==See also==
For documentation see wikipedia page [[wikipedia:Template:Ntsh]]
* {{tl|Number table sorting}}
* {{tl|val}} - displays numbers and quantities with various formatting options
* {{tl|sort}} – used to generate any sort key with visible text
* {{tl|hidden sort key}} – used to generate <u>any</u> hidden sort key
 
<includeonly>{{sandbox other||