Template:Climate metrics

This is a helper template used by the Climate template to format temperature, rainfall, and snowfall data when the default units are used (℉ for temperature, inches for rain and snow). It uses three positional parameters which are expected to be the raw number, the units, and the type (either temp, rain, or snow), respectively. If the units are specified, then the template returns just the data concatenated with a thin space and the units. If no units are specified, it assumes the default units and formats them in a similar fashion and then adds a &lt;br /&gt; tag and the metric conversion of the data (℃ for temperature, millimeters for rain, centimeters for snow). If no units are specified and the type is not recognized, it returns the raw data number.