Jump to content

සැකිල්ල:Weather box/concise F/doc

විකිපීඩියා වෙතින්

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).

{{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:

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.

  1. ^ "Climatological Information for Foxville, Pennsylvania", Hong Kong Observatory, 2003. Web: HKO-Marrakech.
"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Weather_box/concise_F/doc&oldid=713884" වෙතින් සම්ප්‍රවේශනය කෙරිණි