Difference between revisions of "Template:Number table sorting"

From blackwiki
Jump to navigation Jump to search
test>PeterSymonds
({{pp-template|small=yes}})
test>Plastikspork
(Blank if first parameter is missing)
Line 1: Line 1:
<includeonly><span style="{{#ifeq:{{{debug|}}}|yes|border:1px solid|display:none}}">&{{#expr:(({{{1}}}/1e15-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e14-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e13-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e12-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e11-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e10-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e9-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e8-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e7-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e6-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e5-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e4-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e3-.5) round 0) mod 10}}{{#expr:(({{{1}}}/100-.5) round 0) mod 10}}{{#expr:(({{{1}}}/10-.5) round 0) mod 10}}{{#expr:(({{{1}}}-.5) round 0) mod 10}}.{{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|0}}</span>{{formatnum:{{{1}}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{{1|}}}|<span style="{{#ifeq:{{{debug|}}}|yes|border:1px solid|display:none}}">&{{#expr:(({{{1}}}/1e15-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e14-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e13-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e12-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e11-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e10-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e9-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e8-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e7-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e6-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e5-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e4-.5) round 0) mod 10}}{{#expr:(({{{1}}}/1e3-.5) round 0) mod 10}}{{#expr:(({{{1}}}/100-.5) round 0) mod 10}}{{#expr:(({{{1}}}/10-.5) round 0) mod 10}}{{#expr:(({{{1}}}-.5) round 0) mod 10}}.{{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|0}}</span>{{formatnum:{{{1}}}}}}}</includeonly><noinclude>
{{pp-template|small=yes}}
+
{{documentation}}
{{template doc}}
 
 
<!-- 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 16:06, 23 July 2010

Template documentation[create]