Template:Climate

From Wikivoyage
Jump to: navigation, search
 Climate Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
 
[view] [edit] [history] [purge] Template-info.svg Template documentation

Template:Climate formats simple climate info. Give it Metric or Imperial units of measure depending which is appropriate for the location you describe.

Part of Project:Climate Expedition.

Usage[edit]

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.

Template parameters:

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.
xxxlow
The average low temperature for the month.
xxxprecip
The average rainfall amount for the month.
description
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.

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 =
| jansun =
| febsun =
| marsun =
| aprsun =
| maysun =
| junsun =
| julsun =
| augsun =
| sepsun =
| octsun =
| novsun =
| decsun =
| janh2o =
| febh2o =
| marh2o =
| aprh2o =
| mayh2o =
| junh2o =
| julh2o =
| augh2o =
| seph2o =
| octh2o =
| novh2o =
| dech2o =
| 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}} - 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.
  • {{forecastNOAA}} - The same as {{forecast}}, but it is for inline use and only generates the link to the NOAA forecast.