Difference between revisions of "Template:Number table sorting"

From blackwiki
Jump to navigation Jump to search
test>TheDJ
(Switch to the module version, so we can get rid of hidden sortkeys)
test>BrownHairedGirl
(Undid revision 890069565 by TheDJ (talk) - - that broke Template:CatAutoTOC stats)
Line 1: Line 1:
<includeonly>{{#invoke:Nts|main}}</includeonly><noinclude>
+
{{number table sorting/{{#iferror:{{#expr:+{{formatnum:{{{1|}}}|R}}}}
 +
      |error
 +
      |Q{{{quiet|no/F{{{format|yes}}}/S{{{scinote|no}}}}}}/{{#expr:{{formatnum:{{{1}}}|R}}<0}}
 +
    }}
 +
  |{{formatnum:{{{1|}}}|R}}|style={{#ifeq:{{{debug}}}|yes
 +
      |border:1px solid;display:inline
 +
      |display:none
 +
    }}
 +
  |{{#expr:floor((ln(abs({{formatnum:{{{1}}}|R}}))/ln10)+1E-14)}}|prefix={{{prefix|}}}
 +
  |{{{hideerror|off}}}
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 11:18, 1 April 2019

Template:Number table sorting/error

Template documentation[create]