Template:Weather box/concise F/doc

From Minecart Rapid Transit Wiki
Jump to navigation Jump to search

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

{{Weather box/concise_F
| location=Marrakech, Morocco (1961-1990)
| source=Hong Kong Observatory
| 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:

Climate data for Marrakech, Morocco (1961-1990)
Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Year
Average high °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)
Average low °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


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