Template:Convert: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
en>WOSlinker
m (Changed protection level of Template:Convert: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)))
en>Trappist the monk
(Upgrade to Lua module;)
Line 1: Line 1:
<includeonly>{{{{{♥|safesubst:}}}#invoke:convert|convert}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{{sortable|}}}|on|{{ntsh|{{FORMATNUM:{{{1}}}|R}}}}}}{{#ifeq:{{{format}}}|off|{{formatnum:{{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{{#switch:{{{abbr}}}|off=none|def=off|{{{abbr|off}}}}}D{{{disp|b}}}S{{{adj|{{{sing|off}}}}}}|s={{{sigfig|}}}}}|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{{#switch:{{{abbr}}}|off=none|def=off|{{{abbr|off}}}}}D{{{disp|b}}}S{{{adj|{{{sing|off}}}}}}|s={{{sigfig|}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>{{convert/track/abbr/{{{abbr|}}}}}{{convert/track/disp/{{{disp|}}}}}{{#if:{{{sing|}}}|{{convert/track/sing}}|{{convert/track/adj/{{{adj|}}}}}}}
{{documentation}}
</noinclude>

Revision as of 21:15, 10 December 2013