Module:Weather/doc

This module can be used to display temperatures in a table. It is under development and is intended to be efficient so a page can hold many tables.


 * Input numbers must use a hyphen if negative (Unicode minus "−" would give an error).
 * All displayed numbers (including inputs) use Unicode minus if negative.
 * The input consists of 13 values, separated by any number of spaces.
 * Each of the 13 values must be a number. Any invalid value results in the corresponding cell being blank with no error message or tracking category.

The following functions are available:

The following templates use the module:
 * Template:Avg temp row C/sandbox
 * Template:Avg temp row F/sandbox

An example using the above templates and the module is at:
 * sandbox permalink

The output can be examined by entering the following example at Special:ExpandTemplates. The output from each of the following lines is identical.

Optional parameter
 * name
 * Where name is the built-in name of a palette:
 * cool (default)
 * cool2 (modified)
 * cool2avg (modified and intended for average temperatures)

Testing
The function  provides a way to test the color schemes. It generates a graph of how the red, green, and blue portions of the color vary with temperature, and a table of the full range of temperatures in °C.

Optional parameters
 * Two unnamed parameters may be entered to specify the first and last Celsius temperatures ( by default).
 * The palette can be specified with name as above.

The following codes produce the same result:

Modified palette:

This modified palette is intended for average temperatures. It results in good colors between the extreme highest average monthly temperature of +39 C in Death Valley, California, and -68 C, the extreme lowest average monthly temperature at Vostok Station, at a high elevation on the Antarctic ice sheet. These are the highest and lowest known average temperatures recorded on Earth, not to be confused with the highest and lowest records, which are quite a bit hotter and colder.