19,577
edits
m (→Decimal precision: oops) |
m (linked to Dist, the other conversion template) |
||
Line 3: | Line 3: | ||
{{#ifeq:{{{2|}}}| | {{#ifeq:{{{2|}}}| | ||
F|{{{1}}}° F ({{#expr:({{{1|}}} - {{#ifeq:{{{4|0}}}|0|32|0}}) / 1.8 round {{{3|0}}} }}° C)| | F|{{{1}}}° F ({{#expr:({{{1|}}} - {{#ifeq:{{{4|0}}}|0|32|0}}) / 1.8 round {{{3|0}}} }}° C)| | ||
'''<span style="color:red">(error from Template:Temp: the unit was not given as 'C' or 'F')</span>'''}} }}</includeonly><noinclude>Call this template to convert a temperature between Celsius and Fahrenheit. Both will be displayed, with the unit you supplied coming first. | '''<span style="color:red">(error from Template:Temp: the unit was not given as 'C' or 'F')</span>'''}} }}</includeonly><noinclude>Call this template to convert a temperature between Celsius and Fahrenheit. Both will be displayed, with the unit you supplied coming first. See [[Template:Dist]] for a length unit conversion template. | ||
==Simplest use case== | ==Simplest use case== |