Template:Convert/LoffAnoneDpreunitSoff



The Template:Convert/LoffAnoneDpreunitSoff, for "disp=preunit" and "abbr=off", invokes Template:Convert/ to display the converted result, with the first preunit text from parameter, and the 2nd pre-unit text from parameter (else ), and the unit name of the output unit.

If parameter 4 is a plus sign ("+"), then no space is inserted before the plus sign.


 * Examples
 * {&#123;convert|4|m|ft|disp=preunit|abbr=off|+ }} &rarr; 4 m
 * {&#123;convert|4|m|ft|disp=preunit|abbr=off|+ | or more }} &rarr; 4 m
 * {&#123;convert|9|m|ft|disp=preunit|abbr=off|+ |+ |1}} &rarr; 9 m
 * {&#123;convert|40|kg|lb|disp=preunit|abbr=off|exact | |3}} &rarr; 40 kg
 * {&#123;convert|40|kg|lb|disp=preunit|abbr=off|exact |&amp;#32;|3}} &rarr; 40 kg

Note that leaving parameter 5 as blank will repeat the preunit text from parameter 4, and allow parameter 6 to set the rounding (here 3 decimal digits). To omit the 2nd preunit text, then code parameter 5 as a space character, "&amp;#32;".


 * See also
 * Template:Convert/LoffAoffDpreunitSoff - for "abbr=out" (default)
 * Template:Convert/LoffAoffDxSoff - for "disp=x" with text after units