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.

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 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
 
Daily highs (°C) 36 36 39 41 44 47 46 45 43 42 39 37
Nightly lows (°C) 25 25 26 27 28 30 32 31 32 30 27 26

In summary, it's really hot, all the time.

Several other statistics can be displayed, if they're relevant. These are precipitation (which is technically defined as all forms of water: rain, snow, etc.), snowfall, sunlight, and sea temperatures. It's hard to think of a place where all of these would be relevant, but one example might be McMurdo Station, the largest community on Antarctica:

 Climate Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
 
Daily highs (°F) 31 19 3 1 -6 -5 -7 -9 -5 6 20 31
Nightly lows (°F) 24 12 -6 -10 -16 -16 -19 -21 -18 -4 12 24
Precipitation (in) 0.6 1.1 0.6 0.7 0.8 1.1 0.7 0.5 0.4 0.8 0.5 0.6
Snowfall (in) 3 9 4 5 7 7 6 3 3 5 3 4
Sunshine (hrs/day) 24 24 14 6 - - - 3 11 19 24 24
Sea (°F) 28.4 28.4 28.4 28.4 28.4 28.4 28.4 28.4 28.4 28.4 28.4 28.4

Even in the mildest places, Antarctica is a very difficult place to live.

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:

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
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.

The additional parameters that this template accepts are:

xxxsnow
The average snowfall for the month, in centimeters (metric) or inches (imperial).
xxxsun
The average hours/day of sunlight for the month.
xxxh2o
The average sea temperature for the month, in °C (metric) or °F (imperial).

Temperatures should be populated for every month, but for the other values (precipitation, snowfall, and sunlight), instead of 0 you can put a hyphen (-) to make it visually clearer that "there is no precipitation/snowfall/sunlight 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 =
| 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.

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.

Template parameters

ParameterDescriptionTypeStatus
Alignalign

Either "right", "left", "center" or "none". Default is "right". A value of "none" will display the table inline.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Janhighjanhigh

The average high temperature for January

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Febhighfebhigh

The average high temperature for February

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Marhighmarhigh

The average high temperature for March

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Aprhighaprhigh

The average high temperature for April

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Mayhighmayhigh

The average high temperature for May

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Junhighjunhigh

The average high temperature for June

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Julhighjulhigh

The average high temperature for July

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Aughighaughigh

The average high temperature for August

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Sephighsephigh

The average high temperature for September

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Octhighocthigh

The average high temperature for October

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Novhighnovhigh

The average high temperature for November

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Dechighdechigh

The average high temperature for December

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Unitsunits

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.

Default
empty
Example
empty
Auto value
empty
Stringrequired
Janlowjanlow

The average low temperature for January

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Feblowfeblow

The average low temperature for February

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Marlowmarlow

The average low temperature for March

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Aprlowaprlow

The average low temperature for April

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Maylowmaylow

The average low temperature for May

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Junlowjunlow

The average low temperature for June

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Jullowjullow

The average low temperature for July

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Auglowauglow

The average low temperature for August

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Seplowseplow

The average low temperature for September

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Octlowoctlow

The average low temperature for October

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Novlownovlow

The average low temperature for November

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Declowdeclow

The average low temperature for December

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Janprecipjanprecip

The average rainfall amount for January

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Febprecipfebprecip

The average rainfall amount for February

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Marprecipmarprecip

The average rainfall amount for March

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Aprprecipaprprecip

The average rainfall amount for April

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Mayprecipmayprecip

The average rainfall amount for May

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Junprecipjunprecip

The average rainfall amount for June

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Julprecipjulprecip

The average rainfall amount for July

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Augprecipaugprecip

The average rainfall amount for August

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Sepprecipsepprecip

The average rainfall amount for September

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Octprecipoctprecip

The average rainfall amount for October

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Novprecipnovprecip

The average rainfall amount for November

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Decprecipdecprecip

The average rainfall amount for December

Default
empty
Example
empty
Auto value
empty
Numbersuggested
Jansnowjansnow

The average snowfall amount for January

Default
empty
Example
empty
Auto value
empty
Numberoptional
Febsnowfebsnow

The average snowfall amount for February

Default
empty
Example
empty
Auto value
empty
Numberoptional
Marsnowmarsnow

The average snowfall amount for March

Default
empty
Example
empty
Auto value
empty
Numberoptional
Aprsnowaprsnow

The average snowfall amount for April

Default
empty
Example
empty
Auto value
empty
Numberoptional
Maysnowmaysnow

The average snowfall amount for May

Default
empty
Example
empty
Auto value
empty
Numberoptional
Junsnowjunsnow

The average snowfall amount for June

Default
empty
Example
empty
Auto value
empty
Numberoptional
Julsnowjulsnow

The average snowfall amount for July

Default
empty
Example
empty
Auto value
empty
Numberoptional
Augsnowaugsnow

The average snowfall amount for August

Default
empty
Example
empty
Auto value
empty
Numberoptional
Sepsnowsepsnow

The average snowfall amount for September

Default
empty
Example
empty
Auto value
empty
Numberoptional
Octsnowoctsnow

The average snowfall amount for October

Default
empty
Example
empty
Auto value
empty
Numberoptional
Novsnownovsnow

The average snowfall amount for November

Default
empty
Example
empty
Auto value
empty
Numberoptional
Decsnowdecsnow

The average snowfall amount for December

Default
empty
Example
empty
Auto value
empty
Numberoptional
Jansunjansun

The average amount of sunlight per day for January

Default
empty
Example
empty
Auto value
empty
Numberoptional
Febsunfebsun

The average amount of sunlight per day for February

Default
empty
Example
empty
Auto value
empty
Numberoptional
Marsunmarsun

The average amount of sunlight per day for March

Default
empty
Example
empty
Auto value
empty
Numberoptional
Aprsunaprsun

The average amount of sunlight per day for April

Default
empty
Example
empty
Auto value
empty
Numberoptional
Maysunmaysun

The average amount of sunlight per day for May

Default
empty
Example
empty
Auto value
empty
Numberoptional
Junsunjunsun

The average amount of sunlight per day for June

Default
empty
Example
empty
Auto value
empty
Numberoptional
Julsunjulsun

The average amount of sunlight per day for July

Default
empty
Example
empty
Auto value
empty
Numberoptional
Augsunaugsun

The average amount of sunlight per day for August

Default
empty
Example
empty
Auto value
empty
Numberoptional
Sepsunsepsun

The average amount of sunlight per day for September

Default
empty
Example
empty
Auto value
empty
Numberoptional
Octsunoctsun

The average amount of sunlight per day for October

Default
empty
Example
empty
Auto value
empty
Numberoptional
Novsunnovsun

The average amount of sunlight per day for November

Default
empty
Example
empty
Auto value
empty
Numberoptional
Decsundecsun

The average amount of sunlight per day for December

Default
empty
Example
empty
Auto value
empty
Numberoptional
Janh2ojanh2o

The average sea temperature for January

Default
empty
Example
empty
Auto value
empty
Numberoptional
Febh2ofebh2o

The average sea temperature for February

Default
empty
Example
empty
Auto value
empty
Numberoptional
Marh2omarh2o

The average sea temperature for March

Default
empty
Example
empty
Auto value
empty
Numberoptional
Aprh2oaprh2o

The average sea temperature for April

Default
empty
Example
empty
Auto value
empty
Numberoptional
Mayh2omayh2o

The average sea temperature for May

Default
empty
Example
empty
Auto value
empty
Numberoptional
Junh2ojunh2o

The average sea temperature for June

Default
empty
Example
empty
Auto value
empty
Numberoptional
Julh2ojulh2o

The average sea temperature for July

Default
empty
Example
empty
Auto value
empty
Numberoptional
Augh2oaugh2o

The average sea temperature for August

Default
empty
Example
empty
Auto value
empty
Numberoptional
Seph2oseph2o

The average sea temperature for September

Default
empty
Example
empty
Auto value
empty
Numberoptional
Octh2oocth2o

The average sea temperature for October

Default
empty
Example
empty
Auto value
empty
Numberoptional
Novh2onovh2o

The average sea temperature for November

Default
empty
Example
empty
Auto value
empty
Numberoptional
Dech2odech2o

The average sea temperature for December

Default
empty
Example
empty
Auto value
empty
Numberoptional
Descriptiondescription

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.

Default
empty
Example
Source: Wikipedia. See a five day forecast for XXX here.
Auto value
empty
Stringrequired