Template:Convert: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>LinguistAtLarge
meta>Plastikspork
Adding fix to strip whitespace around first and second input as well as unformat numbers in first input (see talk page). Please revert if this causes a problem.
Line 1: Line 1:
<includeonly>{{#ifeq:{{{sortable|}}}|on|<span style="display:none">{{padleft:{{{1}}}|16|0}}</span>}}{{convert/{{{2}}}|{{{1}}}|{{#ifeq:{{#expr:{{{3|0}}}*0}}|0|0}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|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>
<includeonly>{{#ifeq:{{{sortable|}}}|on|<span style="display:none">{{padleft:{{FORMATNUM:{{{1}}}|R}}|16|0}}</span>}}{{convert/{{#if:1|{{{2}}}}}|{{FORMATNUM:{{{1}}}|R}}|{{#ifeq:{{#expr:{{{3|0}}}*0}}|0|0}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|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>

Revision as of 19:46, 13 February 2010