Πρότυπο:Weather box/concise F

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια


Χρήση[επεξεργασία κώδικα]

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:

Κλιματικά δεδομένα Marrakech, Morocco (1961-1990)
Μήνας Ιαν Φεβ Μάρ Απρ Μάι Ιούν Ιούλ Αύγ Σεπ Οκτ Νοε Δεκ Έτος
Μέση Μέγιστη °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)
78,8
Μέση Ελάχιστη °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,0
Υετός ίντσες (mm) 1,1
(28)
1,2
(30)
1,4
(36)
1,3
(33)
0,7
(18)
0,3
(8)
0,1
(3)
0,1
(3)
0,3
(8)
0,8
(20)
1,5
(38)
1,1
(28)
9,9
Πηγή: 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[επεξεργασία κώδικα]

References[επεξεργασία κώδικα]

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