Template:Weather box/concise F/doc
![]() | This is a documentation subpage for Template:Weather box/concise F. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
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
<syntaxhighlight lang="wikitext">
Climate data for Marrakech, Morocco (1961-1990) | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Year |
Mean daily maximum °F (°C) | 64 (18) |
67 (19) |
72 (22) |
74 (23) |
80 (27) |
87 (31) |
97 (36) |
97 (36) |
90 (32) |
80 (27) |
72 (22) |
66 (19) |
79 (26) |
Mean daily minimum °F (°C) | 43 (6) |
47 (8) |
50 (10) |
53 (12) |
57 (14) |
62 (17) |
69 (21) |
69 (21) |
66 (19) |
59 (15) |
52 (11) |
45 (7) |
56 (13) |
Average precipitation inches (mm) | 1.1 (28) |
1.2 (30) |
1.4 (36) |
1.3 (33) |
0.7 (18) |
0.3 (7.6) |
0.1 (2.5) |
0.1 (2.5) |
0.3 (7.6) |
0.8 (20) |
1.5 (38) |
1.1 (28) |
9.9 (251.2) |
Source: Hong Kong Observatory[1] |
(Spaces are optional)</syntaxhighlight>
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:
Climate data for Marrakech, Morocco (1961-1990) | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Year |
Mean daily maximum °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 (19) |
Mean daily minimum °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 (12) |
Average precipitation inches (mm) | 2.1 (53) |
2.5 (64) |
4.3 (110) |
5.5 (140) |
4.2 (110) |
3.4 (86) |
1.5 (38) |
0.7 (18) |
0.8 (20) |
0.9 (23) |
1.3 (33) |
1.9 (48) |
29.1 (743) |
Source: 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
- Template:Weather box/concise_C - for using Celsius temperature parameters.
- Template:Weather box - for using expanded full template.
References
- ^ 1.0 1.1
"Climatological Information for Marrakech, Morocco",
Hong Kong Observatory, 2003. Web: HKO-Marrakech. Cite error: Invalid
<ref>
tag; name "HKO" defined multiple times with different content