User:Anon423/ClimateCommons/doc

The ClimateCommons module is an interface extending the Climate chart template. All features of that template are available, while adding the ability to retrieve weather data live from Wikimedia Commons.

Usage
This model can be used to easily generate a table containing historical climate data from data previously imported into Wikimedia Commons. This is particularly the case in Canada following the import of historical data from Environment and Climate Change Canada.


 * |Discussion of the ClimateCommons template.

Syntax
Copy the following code partially or entirely in the article where you want to insert the template.

Parameters
All parameters of Climate chart are accepted. This template only adds a single parameter:


 * data: list of resources present in the Wikimedia Commons Data namespace, separated by a space.

The data needed to fill in the following lines will be calculated automatically for all fields left empty:
 * Cold extreme (℃)
 * Heat extreme (℃)
 * Rain extreme in 24h (mm)
 * Snow extreme in 24h (cm)

If the automatic filling of one or more values is not desired, it is possible to pass the character "-" to the corresponding field: the template will leave it empty at the time of display.

Operation
This template passes directly to the module the parameters given to it.