Template:TempF

From KayakWiki


This is the TempF Template.

For more information on templates - see About Templates

This template uses unnamed parameters

This template converts temperatures from Farenheit to Celsius and displays them in a standard format with degree symbols and F/C symbols. The parameters include a rounding value to specify how many decimal places are to be used - default is rounded to the nearest degree. This means you can input some text with a temperature in °F and have it display converted to °C without doing the math yourself.

For example, entering
This occurs at a temperature of {{TempF|55|1}}.
results in
This occurs at a temperature of 55°F (12.8°C).

See also: Template:TempC

Copy the template text between the lines below (no need to edit, just mark and copy) and paste it into the edit page. Then fill in the parameters. If a parameter does not apply, you can delete the parameter and its associated pipe (|).

Copy below this line:


{{TempF|temp in degrees F|number of decimal digits}}


Copy above this line.


[edit] Parameter definitions

Parameter Description Mandatory or Default value
First parameter Temperature in degrees Farenheit 0
Second parameter number of digits to the right of the decimal place. 0

The template follows (you won't see the whole thing if null defaults exist in the template):


0°F (-18°C)