Template:Climate chart/doc
This is a documentation subpage for Template:Climate chart. It contains usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Purpose
Used to create climate charts, with average monthly minimum and maximum temperatures. Climate charts provide an overview of the climate in a particular place.
The letters in the top row stand for months: January, February, etc. The bars and numbers convey the following information: The blue bars represent the amount of precipitation (rain, snow etc.) that falls in each month. The blue numbers are the amount of precipitation in millimeters or liters per square meter. The red numbers are the average daily high and low temperatures for each month, and the red bars represent the average daily temperature span for each month. The thin red line is 0 °C, the point of freezing, for orientation.
Usage
- argument 1
- Appears in the heading
- arguments 2-37
- The data. Think of it as 12 rows, one for each month, with 3 columns for minimum temperature, maximum temperature and precipitation.
- float
- left, right or none.
- clear
- left, right, both or none.
- source
- Supply the source of your data
Examples
Weather chart for Tokyo | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | A | S | O | N | D | ||||||||||||||||||||||||||||||||||||
49
10
2
|
60
10
2
|
114
13
5
|
130
18
11
|
128
22
15
|
165
25
19
|
161
29
23
|
155
31
24
|
209
27
21
|
163
22
15
|
93
17
10
|
40
12
5
|
||||||||||||||||||||||||||||||||||||
temperatures in °C precipitation totals in mm source: [1] | |||||||||||||||||||||||||||||||||||||||||||||||
Imperial conversion
|
Weather chart for Labuan | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | A | S | O | N | D | ||||||||||||||||||||||||||||||||||||
112
30
24
|
117
30
24
|
150
31
24
|
297
32
24
|
345
32
24
|
351
31
24
|
318
31
25
|
297
31
24
|
417
31
24
|
465
31
24
|
419
31
24
|
285
30
24
|
||||||||||||||||||||||||||||||||||||
temperatures in °C precipitation totals in mm | |||||||||||||||||||||||||||||||||||||||||||||||
Imperial conversion
|
Weather chart for Cuzco | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | A | S | O | N | D | ||||||||||||||||||||||||||||||||||||
163
20
7
|
150
21
7
|
109
21
7
|
51
22
4
|
15
21
2
|
5
21
1
|
5
21
-1
|
10
21
1
|
25
22
4
|
66
22
6
|
76
23
6
|
137
22
7
|
||||||||||||||||||||||||||||||||||||
temperatures in °C precipitation totals in mm | |||||||||||||||||||||||||||||||||||||||||||||||
Imperial conversion
|
As we can see from the chart, Tokyo has a temperate climate with warm summers and fairly cold winters. It lies in the northern hemisphere, so the temperatures peak in July and August. The temperature in Labuan, which lies in the tropics, hardly changes through the year. Instead of summers and winters, there is a dry season in the beginning of the year, followed by a wet season with a lot of rain. Cuzco, which also lies near the equator, but at high altitude, is much dryer. Like in Labuan, the daily high temperature barely changes through the year, but because of the altitude, nights are much colder than days, especially in the dry months from May to August.
Units
In articles where SI units (°C, mm) are preferred, input the data in those units. This is the default state - no further parameters are needed. In articles where imperial units (°F, inches) are preferred, input data in those units and specify the parameter units=imperial (see below). This parameter must be used so that the units are labeled correctly and so the conversion is done properly.
Imperial units
Weather chart for Anchorage | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | A | S | O | N | D | ||||||||||||||||||||||||||||||||||||
0.7
22
9
|
0.7
26
12
|
0.7
34
18
|
0.5
44
29
|
0.7
55
39
|
1.1
62
47
|
1.7
65
52
|
2.9
63
49
|
2.9
55
41
|
2.1
40
28
|
1.1
28
16
|
1.1
24
11
|
||||||||||||||||||||||||||||||||||||
temperatures in °F precipitation totals in inches | |||||||||||||||||||||||||||||||||||||||||||||||
Metric conversion
|
{{climate chart|[[Anchorage, Alaska|Anchorage]] |9|22|.68 |12|26|.74 |18|34|.65 |29|44|.52 |39|55|.7 |47|62|1.06 |52|65|1.7 |49|63|2.93 |41|55|2.87 |28|40|2.09 |16|28|1.09 |11|24|1.05 |float=right |clear=both |units=imperial }}
Position
Float: right
Weather chart for Amsterdam | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | A | S | O | N | D | ||||||||||||||||||||||||||||||||||||
63
5
1
|
43
6
0
|
59
9
2
|
41
12
4
|
48
17
8
|
68
20
10
|
66
21
13
|
61
22
12
|
82
18
10
|
85
14
7
|
89
9
4
|
75
7
2
|
||||||||||||||||||||||||||||||||||||
temperatures in °C precipitation totals in mm | |||||||||||||||||||||||||||||||||||||||||||||||
Imperial conversion
|
{{climate chart|[[Amsterdam]] |1|5|62 |0|6|43 |2|9|59 |4|12|41 |8|17|48 |10|20|68 |13|21|66 |12|22|61 |10|18|82 |7|14|85 |4|9|89 |2|7|75 |float=right |clear=both }}
Float: left
Weather chart for Buenos Aires | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | A | S | O | N | D | ||||||||||||||||||||||||||||||||||||
79
29
17
|
71
28
17
|
109
26
16
|
89
22
12
|
76
18
8
|
61
14
5
|
56
14
6
|
61
16
6
|
79
18
8
|
86
21
10
|
84
24
13
|
99
28
16
|
||||||||||||||||||||||||||||||||||||
temperatures in °C precipitation totals in mm source: BBC Weather | |||||||||||||||||||||||||||||||||||||||||||||||
Imperial conversion
|
{{climate chart|[[Buenos Aires]] |17|29|79 |17|28|71 |16|26|109 |12|22|89 |8|18|76 |5|14|61 |6|14|56 |6|16|61 |8|18|79 |10|21|86 |13|24|84 |16|28|99 |float=left |source=[http://www.bbc.co.uk/weather/ BBC Weather] }}
Non-float
Weather chart for Cuzco | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | A | S | O | N | D | ||||||||||||||||||||||||||||||||||||
163
20
7
|
150
21
7
|
109
21
7
|
51
22
4
|
15
21
2
|
5
21
1
|
5
21
-1
|
10
21
1
|
25
22
4
|
66
22
6
|
76
23
6
|
137
22
7
|
||||||||||||||||||||||||||||||||||||
temperatures in °C precipitation totals in mm | |||||||||||||||||||||||||||||||||||||||||||||||
Imperial conversion
|
{{climate chart|[[Cuzco]] |7|20|163 |7|21|150 |7|21|109 |4|22|51 |2|21|15 |1|21|5 |-1|21|5 |1|21|10 |4|22|25 |6|22|66 |6|23|76 |7|22|137 }}
References
- ↑ (Japanese)| 平年値(年・月ごとの値)