Template:Convert temp: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:fig mid|{{#switch:{{{2 | {{#vardefine:fig mid|{{#switch:{{{2}}} | ||
|degC={{#expr:{{{1}}}+273.15}} | |degC={{#expr:{{{1}}}+273.15}} | ||
|degF={{#expr:{{{1}}}/1.8+255.32282}} | |degF={{#expr:{{{1}}}/1.8+255.32282}} | ||
|K={{{1}}} | |K={{{1}}} | ||
}}}}{{#expr:{{#switch:{{{3 | }}}}{{#expr:{{#switch:{{{3}}} | ||
|degC={{#var:fig mid}}-273.15 | |degC={{#var:fig mid}}-273.15 | ||
|degF={{#var:fig mid}}*1.8+459.67 | |degF={{#var:fig mid}}*1.8+459.67 | ||
}} }}<noinclude>[[Category:Convert templates|Temp]] | }} }}<noinclude>[[Category:Convert templates|Temp]] |