Open main menu

Gobblerpedia β

Changes

Template:Convert/LoffAonSoff

850 bytes added, 03:22, 21 September 2012
don't wrap unit symbols no matter how big the number
{{convert/outsep<noinclude>{{{?}}}</noinclude>
| 1={{convert/{{#if:{{{4|}}}|s}}{{#if:{{{3|}}}|p}}round<noinclude>{{{?}}}</noinclude>|{{{1}}}|{{#expr:( {{{2|1}}} )/{{{b|4}}}}}|{{{3}}}|{{{4}}}|{{{j}}}
}}| sep={{#if:{{{u|}}}
|&nbsp;<!--
-->|&#32;}}|
2={{#if:{{{u|}}}
|{{{u}}}|{{{n}}}}}|
3={{#if:{{{u|}}}
|{{{u|}}}|{{{l|{{{n}}}s}}}}}}}<noinclude>
{{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. Numbers less than 1,000 is not wrapped nor are unit symbols. 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.

[[Category:Subtemplates of Template Convert]]
</noinclude>
Anonymous user