Template:Weather box/concise F/doc: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{documentation subpage}} ==Usage== The '''Template:Weather box/concise_F''' (Fahrenheit) uses {{IWeather box}} to generate a climate table, by passing 36 positional para...")
 
No edit summary
 
Line 28: Line 28:
}}
}}


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.
<!-- 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.
--> Again, the 12 rain/precipitation parameters can be omitted.


==See also==
==See also==

Latest revision as of 21:11, 10 April 2022

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

A

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) 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)
Average low °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]


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

See also

References

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