Difference between revisions of "Template:Number table sorting"

From blackwiki
Jump to navigation Jump to search
test>Van helsing
m (Random832's sortkey code)
test>Van helsing
m (mistake, wrong test window)
Line 1: Line 1:
<includeonly><span style="{{#ifeq:{{{debug|}}}|yes|border:1px dotted|display:none}}">
+
<includeonly><span style="display:none">{{padleft:{{#expr:(({{{1}}} - .5) round 0)}}|16|&}}.{{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}}</span>{{formatnum:{{{1}}}}}</includeonly><noinclude>
{{#ifexpr:{{{1}}}>0
 
|P{{padleft:{{#expr:{{{1}}} round 0}}|16|0}}
 
|{{#ifexpr:{{{1}}}=0|O0ZERO
 
|N{{#expr:(1000000000000-{{{1}}})}}.{{#expr:(1+({{{1}}}round0)-{{{1}}})*1000000}}
 
}}}}</span>{{formatnum:{{{1}}}}}</includeonly>
 
<noinclude>
 
 
{{template doc}}
 
{{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 07:22, 10 April 2007

Template documentation[create]