Difference between revisions of "Template:Convert temp"
From Wikishire
(Created page with ''''''Temperature convert not complete yet'''''<!-- C to K: {{#expr:{{{1}}}+273.15|round{{{4}}}}} F to K: {{#expr:{{{1}}}/1.8+255.32282|round{{{4}}}}} K to C: {{#expr:{{{1}}}-273.…') |
|||
Line 1: | Line 1: | ||
− | + | {{#vardefine:fig mid|{{#switch:{{{2|}}} | |
− | + | |degC={{#expr:{{{1}}}+273.15}} | |
− | + | |degF={{#expr:{{{1}}}/1.8+255.32282}} | |
− | + | |K={{{1}}} | |
− | + | }}{{#expr:{{#switch:{{{3|}}} | |
− | + | |degC={{#var:fig mid}}-273.15 | |
+ | |degF={{#var:fig mid}}*1.8+459.67 | ||
+ | }} }}<noinclude>[[Category:Convert templates|Temp]] |
Revision as of 12:44, 11 October 2012
{{#vardefine:fig mid|