Template:Convert/LoffAonSoff

From quasar
Revision as of 20:22, 20 September 2012 by Jimp (Talk) (don't wrap unit symbols no matter how big the number)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{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. 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.