Template:Convert: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Plastikspork
Add a reverse number format before sort key generation per Droll's suggestion on the talk page.
meta>Jimp
replacing none with off
Line 1: Line 1:
<includeonly>{{#ifeq:{{{sortable|}}}|on|{{ntsh|{{FORMATNUM:{{{1}}}|R}}}}}}{{convert/{{#if:1|{{{2}}}}}|{{FORMATNUM:{{{1}}}|R}}|{{#ifeq:{{#expr:{{{3|0}}}*0}}|0|0}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|r={{#ifeq:{{{sp}}}|us|er|re}}|d=L{{{lk|off}}}A{{{abbr|off}}}D{{{disp|b}}}S{{{adj|{{{sing|off}}}}}}|s={{{sigfig|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude><!--testing code follows-->{{#ifeq:{{{disp}}}|/|{{convert/und}}}}{{convert/test/A{{{abbr|}}}}}
<includeonly>{{#ifeq:{{{sortable|}}}|on|{{ntsh|{{FORMATNUM:{{{1}}}|R}}}}}}{{convert/{{#if:1|{{{2}}}}}|{{FORMATNUM:{{{1}}}|R}}|{{#ifeq:{{#expr:{{{3|0}}}*0}}|0|0}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|r={{#ifeq:{{{sp}}}|us|er|re}}|d=L{{{lk|off}}}A{{#ifeq:{{{abbr}}}|off|none|{{{abbr|off}}}}}D{{{disp|b}}}S{{{adj|{{{sing|off}}}}}}|s={{{sigfig|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude><!--testing code follows-->{{#ifeq:{{{disp}}}|/|{{convert/und}}}}{{convert/test/A{{{abbr|}}}}}

Revision as of 23:39, 2 August 2011

Template:Convert/test/A