Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23760451dd424ce

Jump to content

Template:Weather box/concise F/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

[edit]
{{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]

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

[edit]

References

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