Template:Convert/Dual/LoffAoffDxSoffT

<!--

=
================================================= --NOTES --  This template shows the input range and output range, --  converting the temperatures depending on units given --  in parameters:  input,  output C, F or K. --   It does not handle the Rankin scale. -- -- NOTE M2: This template shows unicode &minus sign by using --     the Template:Exprsign to calculate an expression and --     quickly prepend &minus when the number is negative. -- -- NOTE N3: The names of units follow the NIST names in --     the SI system (International System of Units), --     with: degree Celsius, degree Fahrenheit & kelvin. --     See: http://physics.nist.gov/cuu/Units/units.html --     for the names, symbols & derived units. -- -- --HISTORY: --21Oct09 Created for all temperature ranges & separators. --03Nov09 Changed to show ndash when {2}=hyphen else " {2} ". --16Nov09 Allow non-abbreviated: abbr=none, abbr=in, abbr=out. --17Nov09 Source: http://physics.nist.gov/cuu/Units/units.html --17Nov09 Set names: lowercase "kelvin", "degree Celsius" etc. --13Feb10 Fixed to handle sigfig=5 or round-parameter in {s}. --13Feb10 Confirmed "round" always chops trailing zeroes. --13Feb10 Fixed sigfig=n by subtracting default rounding of 0.5. --13Feb10 Fixed sigfig=n by using {ordomag} of calculated result. --14Feb10 Fixed sigfig=n for C-to-F by using "" in {ordomag}. --05Mar10 Fixed to allow output unit specified with &deg symbol. --05Mar10 Fixed to allow option abbr=on. --05Mar10 Fixed to display fractions not sums as "2+1/3" etc. --06Mar10 Fixed 6 unopened comments "<--" for option abbr=none. --06Mar10 Fixed to show "K" for kelvins by using parameter {4}. --06Mar10 Linked symbols to Celsius, Fahrenheit or kelvins. --06Mar10 Changed abbr=none to not abbreviate output units. --06Mar10 Added abbr=mos as same as abbr=on. --02Apr10 Fixed to handle range word "xx" as with "to" or "by". --02Apr10 Added midtext after input units. --28May10 Fixed to allow adj=mid (for midtext). --28May10 Omitted Convert/numdisp, now in Convert/to/AonSoff. --15Aug10 Added C-change to convert to F-change degrees. --15Aug10 Added F-change to convert to C-change degrees. --16Aug10 Shows "-change" on input unit for F/C-change degrees. --25Aug10 Fixed F-change to convert to C-change degrees. --14Feb11 Fixed plural as "degrees" (with "s") when lk=on. --14Feb13 Fixed K to convert 2nd amount from °F, not just °C. --14Feb13 Changed default format to show "°F". --08Sep13 Allowed output unit to default "def" (processed by {u}). --08Sep13 For {4} as "def" put 5 switches on {u}; debug shows {u}. --09Sep13 Allowed default "def" also for F-change or C-change. --09Sep13 Expanded x-change output with +"change" for clarity. --19Oct13 Added range word "to(-)" to show &ndash if symbol, else "to". --19Oct13 Changed to round convert of 100+ °F as 1-decimal C degrees. --19Oct13 Fixed to show unicode &minus sign in F-to-C conversion. --19Oct13 Corrected precision by using Template:numsense. --02Nov13 Fixed to show typical adj=mid text from parameter {6}. --25Dec13 Added range "+/-" for F/C degrees as unicode &plusmn. --25Dec13 Reset precision as +1 for < 10 or range < 2 units. -- -->