Template:Convert/LoffAonSoff

From UmbraXenu
< Template:Convert
Revision as of 23:11, 6 March 2014 by Abbie Normal (talk | contribs) (Created page with "{{convert/outsep<noinclude>{{{?}}}</noinclude> | 1={{convert/{{#if:{{{4|}}}|s}}{{#if:{{{3|}}}|p}}round<noinclude>{{{?}}}</noinclude>|{{{1}}}|{{#expr:( {{{2|1}}} )/{{{b|4}}}}}|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{convert/outsep{{{?}}} | 1={{convert/round{{{?}}}|{{{1}}}|0.25|{{{3}}}|{{{4}}}|{{{j}}} }}| sep= | 2={{{n}}}| 3={{{n}}}s}} This Template:Convert/LoffAonSoff invokes Template:Convert/outsep to display the converted result and unit symbol (if any), with {sep} to control wrapping. With unit symbols, numbers over 4 digits can wrap, else over 3 digits can wrap. If the unit symbol {{{u}}} is not set (such as with "acre"), then it passes both the singular unit name {{{n}}} and plural, {{{l}}}, or "{{{n}}}s" when no specific plural name has been defined.