Templat:Climate chart
![]() | Before making any changes to the template, please first try and compare your changes in the test template: Template:Infobox Climate chart/sandbox. Thank you. |
PurposeSunting
Used to create climate charts, with average monthly minimum and maximum temperatures. More information on the interpretation of the chart can be found here.
UnitsSunting
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.
UsageSunting
- 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
ExamplesSunting
Float: rightSunting
Carta iklim untuk Amsterdam | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | O | S | O | N | D | ||||||||||||||||||||||||||||||||||||
40
-1
-7
|
28
0
-6
|
29
5
-2
|
26
11
4
|
62
18
10
|
73
24
15
|
73
26
18
|
89
25
17
|
67
21
13
|
52
14
7
|
60
7
2
|
51
2
-4
|
||||||||||||||||||||||||||||||||||||
Suhu purata dalam °C Jumlah hujan dalam mm | |||||||||||||||||||||||||||||||||||||||||||||||
Penukaran imperial
|
{{climate chart|[[Amsterdam]] |-7|-1|40 |-6|0|28 |-2|5|29 |4|11|26 |10|18|62 |15|24|73 |18|26|73 |17|25|89 |13|21|67 |7|14|52 |2|7|60 |-4|2|51 |float=right |clear=both }}
Float: leftSunting
Carta iklim untuk Buenos Aires | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | O | 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
|
||||||||||||||||||||||||||||||||||||
Suhu purata dalam °C Jumlah hujan dalam mm Sumber: BBC Weather | |||||||||||||||||||||||||||||||||||||||||||||||
Penukaran imperial
|
{{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-floatSunting
Carta iklim untuk Coober Pedy | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | O | S | O | N | D | ||||||||||||||||||||||||||||||||||||
17
36
21
|
23
36
21
|
13
33
18
|
6.5
28
14
|
13
23
10
|
14
19
7
|
7.8
19
6
|
9.2
21
7
|
8.4
25
10
|
15
29
14
|
12
32
17
|
18
35
19
|
||||||||||||||||||||||||||||||||||||
Suhu purata dalam °C Jumlah hujan dalam mm | |||||||||||||||||||||||||||||||||||||||||||||||
Penukaran imperial
|
<nowiki> {{climate chart|[[Coober Pedy]] |20.7|36.4|17.4 |20.8|35.7|22.8 |18.2|32.8|12.9 |14|27.6|6.5 |10.1|23.3|13.1 |7.2|18.8|14.4 |6.3|18.7|7.8 |7.4|20.7|9.2 |10.1|24.5|8.4 |13.6|28.9|14.9 |16.6|32.1|11.6 |19.1|34.6|17.5 }}</nowiki>
Imperial unitsSunting
Carta iklim untuk Anchorage | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
J | F | M | A | M | J | J | O | 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
|
||||||||||||||||||||||||||||||||||||
Suhu purata dalam °F Jumlah hujan dalam inci | |||||||||||||||||||||||||||||||||||||||||||||||
Penukaran metrik
|
{{climate chart|[[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 }}
Pendokumenan di atas ditransklusikan daripada Templat:Climate chart/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |