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.

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

Parameter Description Type Status
Align align

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
String optional
Janhigh janhigh

The average high temperature for January

Default
empty
Example
empty
Auto value
empty
Number suggested
Febhigh febhigh

The average high temperature for February

Default
empty
Example
empty
Auto value
empty
Number suggested
Marhigh marhigh

The average high temperature for March

Default
empty
Example
empty
Auto value
empty
Number suggested
Aprhigh aprhigh

The average high temperature for April

Default
empty
Example
empty
Auto value
empty
Number suggested
Mayhigh mayhigh

The average high temperature for May

Default
empty
Example
empty
Auto value
empty
Number suggested
Junhigh junhigh

The average high temperature for June

Default
empty
Example
empty
Auto value
empty
Number suggested
Julhigh julhigh

The average high temperature for July

Default
empty
Example
empty
Auto value
empty
Number suggested
Aughigh aughigh

The average high temperature for August

Default
empty
Example
empty
Auto value
empty
Number suggested
Sephigh sephigh

The average high temperature for September

Default
empty
Example
empty
Auto value
empty
Number suggested
Octhigh octhigh

The average high temperature for October

Default
empty
Example
empty
Auto value
empty
Number suggested
Novhigh novhigh

The average high temperature for November

Default
empty
Example
empty
Auto value
empty
Number suggested
Dechigh dechigh

The average high temperature for December

Default
empty
Example
empty
Auto value
empty
Number suggested
Units 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.

Default
empty
Example
empty
Auto value
empty
String required
Janlow janlow

The average low temperature for January

Default
empty
Example
empty
Auto value
empty
Number suggested
Feblow feblow

The average low temperature for February

Default
empty
Example
empty
Auto value
empty
Number suggested
Marlow marlow

The average low temperature for March

Default
empty
Example
empty
Auto value
empty
Number suggested
Aprlow aprlow

The average low temperature for April

Default
empty
Example
empty
Auto value
empty
Number suggested
Maylow maylow

The average low temperature for May

Default
empty
Example
empty
Auto value
empty
Number suggested
Junlow junlow

The average low temperature for June

Default
empty
Example
empty
Auto value
empty
Number suggested
Jullow jullow

The average low temperature for July

Default
empty
Example
empty
Auto value
empty
Number suggested
Auglow auglow

The average low temperature for August

Default
empty
Example
empty
Auto value
empty
Number suggested
Seplow seplow

The average low temperature for September

Default
empty
Example
empty
Auto value
empty
Number suggested
Octlow octlow

The average low temperature for October

Default
empty
Example
empty
Auto value
empty
Number suggested
Novlow novlow

The average low temperature for November

Default
empty
Example
empty
Auto value
empty
Number suggested
Declow declow

The average low temperature for December

Default
empty
Example
empty
Auto value
empty
Number suggested
Janprecip janprecip

The average rainfall amount for January

Default
empty
Example
empty
Auto value
empty
Number suggested
Febprecip febprecip

The average rainfall amount for February

Default
empty
Example
empty
Auto value
empty
Number suggested
Marprecip marprecip

The average rainfall amount for March

Default
empty
Example
empty
Auto value
empty
Number suggested
Aprprecip aprprecip

The average rainfall amount for April

Default
empty
Example
empty
Auto value
empty
Number suggested
Mayprecip mayprecip

The average rainfall amount for May

Default
empty
Example
empty
Auto value
empty
Number suggested
Junprecip junprecip

The average rainfall amount for June

Default
empty
Example
empty
Auto value
empty
Number suggested
Julprecip julprecip

The average rainfall amount for July

Default
empty
Example
empty
Auto value
empty
Number suggested
Augprecip augprecip

The average rainfall amount for August

Default
empty
Example
empty
Auto value
empty
Number suggested
Sepprecip sepprecip

The average rainfall amount for September

Default
empty
Example
empty
Auto value
empty
Number suggested
Octprecip octprecip

The average rainfall amount for October

Default
empty
Example
empty
Auto value
empty
Number suggested
Novprecip novprecip

The average rainfall amount for November

Default
empty
Example
empty
Auto value
empty
Number suggested
Decprecip decprecip

The average rainfall amount for December

Default
empty
Example
empty
Auto value
empty
Number suggested
Jansnow jansnow

The average snowfall amount for January

Default
empty
Example
empty
Auto value
empty
Number optional
Febsnow febsnow

The average snowfall amount for February

Default
empty
Example
empty
Auto value
empty
Number optional
Marsnow marsnow

The average snowfall amount for March

Default
empty
Example
empty
Auto value
empty
Number optional
Aprsnow aprsnow

The average snowfall amount for April

Default
empty
Example
empty
Auto value
empty
Number optional
Maysnow maysnow

The average snowfall amount for May

Default
empty
Example
empty
Auto value
empty
Number optional
Junsnow junsnow

The average snowfall amount for June

Default
empty
Example
empty
Auto value
empty
Number optional
Julsnow julsnow

The average snowfall amount for July

Default
empty
Example
empty
Auto value
empty
Number optional
Augsnow augsnow

The average snowfall amount for August

Default
empty
Example
empty
Auto value
empty
Number optional
Sepsnow sepsnow

The average snowfall amount for September

Default
empty
Example
empty
Auto value
empty
Number optional
Octsnow octsnow

The average snowfall amount for October

Default
empty
Example
empty
Auto value
empty
Number optional
Novsnow novsnow

The average snowfall amount for November

Default
empty
Example
empty
Auto value
empty
Number optional
Decsnow decsnow

The average snowfall amount for December

Default
empty
Example
empty
Auto value
empty
Number optional
Jansun jansun

The average amount of sunlight per day for January

Default
empty
Example
empty
Auto value
empty
Number optional
Febsun febsun

The average amount of sunlight per day for February

Default
empty
Example
empty
Auto value
empty
Number optional
Marsun marsun

The average amount of sunlight per day for March

Default
empty
Example
empty
Auto value
empty
Number optional
Aprsun aprsun

The average amount of sunlight per day for April

Default
empty
Example
empty
Auto value
empty
Number optional
Maysun maysun

The average amount of sunlight per day for May

Default
empty
Example
empty
Auto value
empty
Number optional
Junsun junsun

The average amount of sunlight per day for June

Default
empty
Example
empty
Auto value
empty
Number optional
Julsun julsun

The average amount of sunlight per day for July

Default
empty
Example
empty
Auto value
empty
Number optional
Augsun augsun

The average amount of sunlight per day for August

Default
empty
Example
empty
Auto value
empty
Number optional
Sepsun sepsun

The average amount of sunlight per day for September

Default
empty
Example
empty
Auto value
empty
Number optional
Octsun octsun

The average amount of sunlight per day for October

Default
empty
Example
empty
Auto value
empty
Number optional
Novsun novsun

The average amount of sunlight per day for November

Default
empty
Example
empty
Auto value
empty
Number optional
Decsun decsun

The average amount of sunlight per day for December

Default
empty
Example
empty
Auto value
empty
Number optional
Janh2o janh2o

The average sea temperature for January

Default
empty
Example
empty
Auto value
empty
Number optional
Febh2o febh2o

The average sea temperature for February

Default
empty
Example
empty
Auto value
empty
Number optional
Marh2o marh2o

The average sea temperature for March

Default
empty
Example
empty
Auto value
empty
Number optional
Aprh2o aprh2o

The average sea temperature for April

Default
empty
Example
empty
Auto value
empty
Number optional
Mayh2o mayh2o

The average sea temperature for May

Default
empty
Example
empty
Auto value
empty
Number optional
Junh2o junh2o

The average sea temperature for June

Default
empty
Example
empty
Auto value
empty
Number optional
Julh2o julh2o

The average sea temperature for July

Default
empty
Example
empty
Auto value
empty
Number optional
Augh2o augh2o

The average sea temperature for August

Default
empty
Example
empty
Auto value
empty
Number optional
Seph2o seph2o

The average sea temperature for September

Default
empty
Example
empty
Auto value
empty
Number optional
Octh2o octh2o

The average sea temperature for October

Default
empty
Example
empty
Auto value
empty
Number optional
Novh2o novh2o

The average sea temperature for November

Default
empty
Example
empty
Auto value
empty
Number optional
Dech2o dech2o

The average sea temperature for December

Default
empty
Example
empty
Auto value
empty
Number optional
Description 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.

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