Template:Convert/LoffAonSoff
From RouteWiki
< Template:Convert(Redirected from Template:Convert/LoffAonSon)
{{convert/outsep{{{?}}} | 1={{convert/{{#if:|s}}{{#if:|p}}round{{{?}}}|{{{1}}}|{{#expr:( 1 )/4}}|{{{3}}}|{{{4}}}|{{{j}}} }}| sep={{#if:
|{{#ifexpr:abs( ( 1 )/4 ) < 20000 | | }}| }}|
2={{#if:
|{{{u}}}|{{{n}}}}}|
3={{#if:
||{{{n}}}s}}}}
Template:Pp-template This Template:Convert/LoffAonSoff invokes Template:Convert/outsep to display the converted result and unit symbol (if any), with {sep} to control wrapping. A number < 1,000 is not wrapped, or if the unit symbol is used, then only numbers above 20,000 can wrap at the unit symbol. 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.