Bản mẫu:Weather box/concise F

Bách khoa toàn thư mở Wikipedia


Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Usage[sửa mã nguồn]

The Template:Weather box/concise_F (Fahrenheit) uses {{IWeather box}} to generate a climate table, by passing 36 positional parameters. Other parameters are:  location=, source= and optional "accessdate=" or sctemp=t. The 36 parameters are: 12 monthly highs (F), 12 lows (total 24) plus an optional 12 monthly rain/precipitation (in inches).

Examples[sửa mã nguồn]

{{Weather box/concise_F
| location=Marrakech, Morocco (1961-1990)
| source=Hong Kong Observatory<ref name="HKO">
  "Climatological Information for Marrakech, Morocco",
  Hong Kong Observatory, 2003. Web: [http://www.hko.gov.hk/wxinfo/climat/world/eng/africa/mor_al/marrakech_e.htm HKO-Marrakech].</ref>
| 64| 67| 72| 74| 80| 87| 97| 97| 90| 80| 72| 66 <!--highs-->
| 43| 47| 50| 53| 57| 62| 69| 69| 66| 59| 52| 45 <!--lows-->
|1.1|1.2|1.4|1.3|0.7|0.3|0.1|0.1|0.3|0.8|1.5|1.1 <!--rain-->
}}
                     (Spaces are optional)

The example will generate a climate-table for "Marrakech, Morocco" listing the Fahrenheit temperatures first (then Celsius below each), followed by precipitation in inches (and in millimeters). Example result:

Dữ liệu khí hậu của Marrakech, Morocco (1961-1990)
Tháng 1 2 3 4 5 6 7 8 9 10 11 12 Năm
Trung bình cao °F (°C) 53
(12)
56
(13)
59
(15)
64
(18)
68
(20)
75
(24)
82
(28)
83
(28)
75
(24)
66
(19)
59
(15)
54
(12)
66,2
Trung bình thấp, °F (°C) 40
(4)
43
(6)
50
(10)
56
(13)
59
(15)
65
(18)
66
(19)
64
(18)
58
(14)
50
(10)
46
(8)
42
(6)
53
Giáng thủy inch (mm) 2.1
(53)
2.5
(64)
4.3
(109)
5.5
(140)
4.2
(107)
3.4
(86)
1.5
(38)
0.7
(18)
0.8
(20)
0.9
(23)
1.3
(33)
1.9
(48)
29,1
(739)
Nguồn: Hong Kong Observatory[1]


Colors are set by Template:Weather box/colpastel, to set the temperature background colors when parameter "sctemp=pastel". The colder temperatures appear as purple-shades, the cool appear as gray/beige, the warm are yellow-shades, and the hot are orange-browns.

Again, the 12 rain/precipitation parameters can be omitted.

See also[sửa mã nguồn]

  • - for using Celsius temperature parameters.
  • - for using expanded full template.

References[sửa mã nguồn]

  1. ^ "Climatological Information for Foxville, Pennsylvania", Hong Kong Observatory, 2003. Web: HKO-Marrakech.