Template:Convert/LoffAoffDxSoff2

0

The Template:Convert/LoffAoffDxSoff2 is a subtemplate of Template:Convert to show custom output for a 2-unit conversion, such as feet-inches into metres. Compare the examples:
 * {&#123;convert|6|ft|3|in|cm|1}}      &rarr; 6 ft
 * {&#123;convert|6|ft|3|in|cm|disp=x| high [|]|1}} &rarr; 6 ft

This template handles the option "disp=x" to pass parameters 6 and 7 as the custom text to show around the output amount. Parameter 8 can be the rounding level, such as "1" to show 1 decimal digit.