This template uses TemplateStyles: |
As of now, only precipitation, snowfall and low/high air temperatures are shown in the graph. Both imperial and metric units are supported. If precipitation is too high and mangles the graph, add 'maxprecip' argument to clamp it down.
Quick how-to
[edit]At a minimum, this template should be used to display average high and low temperatures. There's really no place where travellers wouldn't want to know the average temperatures. Here's what the climate chart for Dallol, Ethiopia, the hottest inhabited place on Earth, would look like:
Climate | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Climate chart (explanation) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
If they're relevant, precipitation (which is technically defined as all forms of water: rain, snow, etc.) and snowfall can be shown too.
Of those, precipitation is often nice to have, and snowfall is useful in places with a lot of snow, especially in ski resorts and other places where people go to find snow.
Usage
[edit]Autogenerating
[edit]For U.S. destinations, http://mountaininterval.org/wikivoyage/climate.html can be used to automatically generate {{climate}} templates populated with data from the NOAA monthly normal dataset (1981-2010) that can then be copied into Wikivoyage articles.
Manual entry
[edit]Template parameters:
- title
- Table title. If the parameter is omitted, the article name will be displayed as the table title. If the parameter is included, but with no value, no title will be displayed.
- units
- Either "metric" or "imperial". Set units = Metric if the table is using Metric units (Celsius and centimeters) or to units = Imperial for Imperial units (Fahrenheit and inches). Please use units of measure appropriate to the location the page describes (Imperial in USA but Metric almost everywhere else) per Project:Measurements.
- align
- Either "right", "left", "center" or "none". Default is "right". A value of "none" will display the table inline.
- xxxhigh
- The average high temperature for the month, in °C (metric) or °F (imperial).
- xxxlow
- The average low temperature for the month, in °C (metric) or °F (imperial).
- xxxprecip
- The average rainfall amount for the month, in millimeters (metric) or inches (imperial).
- description
- maxprecip
- Maximum rainfall of any months - used to clamp the graph in case of extreme values that don't fit.
- Optional text that will be displayed at the bottom of the climate table. This field is often used to include the {{forecastNOAA}} daily forecast or other information related to the climate data.
Temperatures should be populated for every month, but for the other values (precipitation, snowfall), instead of 0 you can put a hyphen (-) to make it visually clearer that "there is no precipitation/snowfall this month". (See the example for McMurdo Station, Antarctica, above.)
Copy and paste the below wiki markup into a page and give values to as many of the parameters as you wish to use (empty parameters will be gracefully ignored by the template).
{{Climate| units = Metric
| janhigh =
| febhigh =
| marhigh =
| aprhigh =
| mayhigh =
| junhigh =
| julhigh =
| aughigh =
| sephigh =
| octhigh =
| novhigh =
| dechigh =
| janlow =
| feblow =
| marlow =
| aprlow =
| maylow =
| junlow =
| jullow =
| auglow =
| seplow =
| octlow =
| novlow =
| declow =
| janprecip =
| febprecip =
| marprecip =
| aprprecip =
| mayprecip =
| junprecip =
| julprecip =
| augprecip =
| sepprecip =
| octprecip =
| novprecip =
| decprecip =
| jansnow =
| febsnow =
| marsnow =
| aprsnow =
| maysnow =
| junsnow =
| julsnow =
| augsnow =
| sepsnow =
| octsnow =
| novsnow =
| decsnow =
| description = '''Here''' type some descriptive text about the location's climate. No literal line breaks are permitted in this text but <br/> and other correctly formatted HTML is okay. See [[Template talk:ClimateDev1#Note]] if an '''equal sign''' is needed in the text.
}}
Related templates
[edit]- {{forecast/US}} - Given a latitude and longitude, this template will provide a link to a National Weather Service website that provides an up-to-date weather forecast for the specified locale. This feature is only available for U.S. locales.
- {{forecast/AU}} - the same as {{forecast/US}}, but works for Australian locales instead.
- {{forecastNOAA}} - the same as {{forecast/US}}, but it is for inline use and only generates the link to the NOAA forecast.
Template data
[edit]This template formats simple climate info. Give it Metric or Imperial units of measure depending which is appropriate for the location you describe. Note: For US destinations http://mountaininterval.org/wikivoyage/climate.html can be used to automatically generate {{climate}} templates populated with data from the NOAA monthly normal dataset (1981-2010) that can then be copied into Wikivoyage articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Location title | title | Optional field. By default, the article name will be displayed location of where the information in this template pertains to. If this field is set, it will replace the the article name with what is specified in this field.
| Unknown | optional |
Template alignment | align | Alignment of where the template will be displayed relative the text of of the article. Either "right", "left", "center" or "none". Default is "right". A value of "none" will display the table inline.
| String | optional |
Units of measurement | units | Specify "metric" or "imperial". If set to "metric" the template will indicate the temperature units of measure are in Celsius (C), and rain and snow units of measurement are in millimeters (mm). If set to "imperial" the template will indicate the temperature units of measure are in Fahrenheit (F), and rain and snow units of measurement are in inches.
| String | required |
Description | description | For identifying the source of the data in this template and for linking to forecasts. This field is often used to include the {{forecastNOAA}} daily forecast or other information related to the climate data.
| String | required |
Jan average high temp | janhigh | Average daily high temperature during January. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Feb average high temp | febhigh | Average daily high temperature during February. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Mar average high temp | marhigh | Average daily high temperature during March. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Apr average high temp | aprhigh | Average daily high temperature during April. Average daily high temperature during April. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
May average high temp | mayhigh | Average daily high temperature during May. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Jun average high temp | junhigh | Average daily high temperature during June. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Jul average high temp | julhigh | Average daily high temperature during July. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Aug average high temp | aughigh | Average daily high temperature during August. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Sep average high temp | sephigh | Average daily high temperature during September. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Oct average high temp | octhigh | Average daily high temperature during October. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Nov average high temp | novhigh | Average daily high temperature during November. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Dec average high temp | dechigh | Average daily high temperature during December. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Jan average low temp | janlow | Average daily low temperature during January. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Feb average low temp | feblow | Average daily low temperature during February. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Mar average low temp | marlow | Average daily low temperature during Marh. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Apr average low temp | aprlow | Average daily low temperature during April. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
May average low temp | maylow | Average daily low temperature during May. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Jun average low temp | junlow | Average daily low temperature during June. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Jul average low temp | jullow | Average daily low temperature during July. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Aug average low temp | auglow | Average daily low temperature during August. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Sep average low temp | seplow | Average daily low temperature during September. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Oct average low temp | octlow | Average daily low temperature during October. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Nov average low temp | novlow | Average daily low temperature during November. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Dec average low temp | declow | Average daily low temperature during December. If the units of measurement are metric, this value is in Celcius (C). If the units of measurement are imperial, this value is in Fahrenheit (F).
| Number | suggested |
Jan average rain | janprecip | Average total rain for January. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Feb average rain | febprecip | Average total rain for February. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Mar average rain | marprecip | Average total rain for March. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Apr average rain | aprprecip | Average total rain for April. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
May average rain | mayprecip | Average total rain for May. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Jun average rain | junprecip | Average total rain for June. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Jul average rain | julprecip | Average total rain for July. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Aug average rain | augprecip | Average total rain for August. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Sep average rain | sepprecip | Average total rain for September. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Oct average rain | octprecip | Average total rain for October. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Nov average rain | novprecip | Average total rain for November. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Dec average rain | decprecip | Average total rain for December. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | suggested |
Jan average snowfall | jansnow | Average total snowfall for January. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Feb average snowfall | febsnow | Average total snowfall for February. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Mar average snowfall | marsnow | Average total snowfall for March. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Apr average snowfall | aprsnow | Average total snowfall for April. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
May average snowfall | maysnow | Average total snowfall for May. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Jun average snowfall | junsnow | Average total snowfall for June. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Jul average snowfall | julsnow | Average total snowfall for July. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Aug average snowfall | augsnow | Average total snowfall for August. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Sep average snowfall | sepsnow | Average total snowfall for September. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Oct average snowfall | octsnow | Average total snowfall for October. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Nov average snowfall | novsnow | Average total snowfall for November. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Dec average snowfall | decsnow | Average total snowfall for December. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |
Maximum Monthly Precipitation | maxprecip | Useful in case the graph is mangled, to clamp down the bars. If the units of measurement are metric, this value is in millimetres (mm). If the units of measurement are imperial, this value is in inches (in).
| Number | optional |