Template:Average and record temperatures
From Wikipedia, the free encyclopedia
Monthly Normal and Record High and Low Temperatures | ||||||||||||
Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Record high | — | — | — | — | — | — | — | — | — | — | — | — |
Normal high | — | — | — | — | — | — | — | — | — | — | — | — |
Normal low | — | — | — | — | — | — | — | — | — | — | — | — |
Record low | — | — | — | — | — | — | — | — | — | — | — | — |
Precipitation | — | — | — | — | — | — | — | — | — | — | — | — |
Source: {{{source}}} |
[edit] Template documentation
This documentation is transcluded from Template:Average and record temperatures/doc. (edit | history)
[edit] Usage
This template takes temperature and precipitation values and generates a table. Input is automatically converted from degrees Fahrenheit and inches to degrees Celsius and centimeters. The parameters are as follows:
- The first twelve (unnamed) parameters are the record high temperatures, from January to December. Do not place a degree (°) symbol by the value, and use a simple hyphen (-) for negative values.
- The next twelve parameters are the average high temperatures.
- Then average low temperatures, and
- Record low temperatures.
- The next parameters are the average rainfall.
- The source parameter is used to cite the table information. You can use a {{cite …}} template in here directly, or you can use <ref>{{cite …}}</ref>.
Here's an example, from Richmond, Virginia:
{{Average and record temperatures | 81 | 83 | 94 | 96 | 100 | 104 | 105 | 107 | 103 | 99 | 86 | 81 | 45 | 49 | 58 | 69 | 76 | 84 | 88 | 86 | 70 | 69 | 60 | 50 | 28 | 30 | 37 | 45 | 55 | 63 | 68 | 67 | 60 | 47 | 38 | 31 | -12 | -10 | 11 | 19 | 31 | 40 | 51 | 39 | 35 | 21 | 10 | -2 | 3.55 | 2.98 | 4.09 | 3.18 | 3.96 | 3.54 | 4.67 | 4.18 | 3.98 | 3.60 | 3.06 | 3.12 | source = The Weather Channel }}
and the output:
Monthly Normal and Record High and Low Temperatures | ||||||||||||
Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Record high | 81°F (27°C) | 83° (28°) | 94° (34°) | 96° (36°) | 100° (38°) | 104° (40°) | 105° (41°) | 107° (42°) | 103° (39°) | 99° (37°) | 86° (30°) | 81° (27°) |
Normal high | 45° (7°) | 49° (9°) | 58° (14°) | 69° (21°) | 76° (24°) | 84° (29°) | 88° (31°) | 86° (30°) | 70° (21°) | 69° (21°) | 60° (16°) | 50° (10°) |
Normal low | 28° (-2°) | 30° (-1°) | 37° (3°) | 45° (7°) | 55° (13°) | 63° (17°) | 68° (20°) | 67° (19°) | 60° (16°) | 47° (8°) | 38° (3°) | 31° (-1°) |
Record low | -12° (-24°) | -10° (-23°) | 11° (-12°) | 19° (-7°) | 31° (-1°) | 40° (4°) | 51° (11°) | 39° (4°) | 35° (2°) | 21° (-6°) | 10° (-12°) | -2° (-19°) |
Precipitation | 3.6 in. (9 cm.) | 3 (7.6) | 4.1 (10.4) | 3.2 (8.1) | 4 (10.1) | 3.5 (9) | 4.7 (11.9) | 4.2 (10.6) | 4 (10.1) | 3.6 (9.1) | 3.1 (7.8) | 3.1 (7.9) |
Source: The Weather Channel |
Note that the vertical bars must come at the end of each line; otherwise, the template interprets the trailing newline character as part of the numerical value and the display is messed up.