Jump to content

မေႃႇၵျူး:Storm categories/colors

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး
Documentation icon ၽိုၼ်ၵႅမ်မိုဝ်းမေႃႇၵျူး[တူၺ်း] [မႄးထတ်း] [ပိုၼ်း] [ၸၢင်း]

လွင်ႈၸႂ်ႉတိုဝ်း

[မႄးထတ်းငဝ်ႈငႃႇ]

This template contains color overrides for Module:Storm categories. These color overrides can either add an extra color to the template without adding a category, or override the color of an existing category or category alias for backwards compatibility. Make sure that added colors are compatible with black at a bare minimum, or else Module:Storm categories/demo will display errors as a check. As much as possible, also make the colors comply with at least the for contrast with links and visited links. Additional warnings are shown by the demo template for these.

Overrides are defined in the following format:

    -- For overrides that include the color of an existing category.
    ["override_id"] = cats["actual_category"].color,
    -- For overrides that introduce a new color.
    ["override_id"] = "ff80ff",

ႁုပ်ႈတူၺ်း

[မႄးထတ်းငဝ်ႈငႃႇ]
Beaufort
scale
1-minute sustained winds
(NHC/CPHC/JTWC)
10-minute sustained winds
(WMO/JMA/MF/BOM/FMS)
NE Pacific &
N Atlantic
NHC/CPHC
NW Pacific
JTWC
NW Pacific
JMA
N Indian Ocean
IMD
SW Indian Ocean
MF
Australia & S Pacific
BOM/FMS
0–7 <32 knot (37 miles per hour; 59 kilometres per hour) <28 knot (32 miles per hour; 52 kilometres per hour) Tropical Depression Tropical Depression Tropical Depression Depression Zone of Disturbed Weather Tropical Disturbance
7 33 knot (38 miles per hour; 61 kilometres per hour) 28–29 knot (32–33 miles per hour; 52–54 kilometres per hour) Deep Depression Tropical Disturbance Tropical Depression
8 34–37 knot (39–43 miles per hour; 63–69 kilometres per hour) 30–33 knot (35–38 miles per hour; 56–61 kilometres per hour) Tropical Storm Tropical Storm Tropical Depression Tropical Low
9–10 38–54 knot (44–62 miles per hour; 70–100 kilometres per hour) 34–47 knot (39–54 miles per hour; 63–87 kilometres per hour) Tropical Storm Cyclonic Storm Moderate
Tropical Storm
Category 1
Tropical Cyclone
11 55–63 knot (63–72 miles per hour; 102–117 kilometres per hour) 48–55 knot (55–63 miles per hour; 89–102 kilometres per hour) Severe
Tropical Storm
Severe
Cyclonic Storm
Severe
Tropical Storm
Category 2
Tropical Cyclone
12+ 64–71 knot (74–82 miles per hour; 119–131 kilometres per hour) 56–63 knot (64–72 miles per hour; 104–117 kilometres per hour) Category 1
Hurricane
Typhoon
72–82 knot (83–94 miles per hour; 133–152 kilometres per hour) 64–72 knot (74–83 miles per hour; 119–133 kilometres per hour) Strong Typhoon Very Severe
Cyclonic Storm
Tropical Cyclone Category 3
Severe Tropical Cyclone
83–95 knot (96–109 miles per hour; 154–176 kilometres per hour) 73–83 knot (84–96 miles per hour; 135–154 kilometres per hour) Category 2
Hurricane
96–97 knot (110–112 miles per hour; 178–180 kilometres per hour) 84–85 knot (97–98 miles per hour; 156–157 kilometres per hour) Category 3
Major Hurricane
Very Strong Typhoon
98–112 knot (113–129 miles per hour; 181–207 kilometres per hour) 86–98 knot (99–113 miles per hour; 159–181 kilometres per hour) Extremely Severe
Cyclonic Storm
Intense
Tropical Cyclone
Category 4
Severe Tropical Cyclone
113–122 knot (130–140 miles per hour; 209–226 kilometres per hour) 99–107 knot (114–123 miles per hour; 183–198 kilometres per hour) Category 4
Major Hurricane
123–129 knot (142–148 miles per hour; 228–239 kilometres per hour) 108–113 knot (124–130 miles per hour; 200–209 kilometres per hour) Violent Typhoon Category 5
Severe Tropical Cyclone
130–136 knot (150–157 miles per hour; 241–252 kilometres per hour) 114–119 knot (131–137 miles per hour; 211–220 kilometres per hour) Super
Typhoon
Super
Cyclonic Storm
Very Intense
Tropical Cyclone
>136 knot (157 miles per hour; 252 kilometres per hour) >120 knot (138 miles per hour; 222 kilometres per hour) Category 5
Major Hurricane

local p = {}
local cats = require("Module:Storm categories/categories").cats

-- Ambiguous color names. This is because the old {[storm colour}} itself is 
-- extremely ambiguous. This is also used to override the output of some codes.
local colors = {
	-- Basin colors
	["5"] = cats["cat5"].color,
	["4"] = cats["cat4"].color,
	["3"] = cats["cat3"].color,
	["2"] = cats["cat2"].color,
	["1"] = cats["cat1"].color,
	-- Depression
	["d"] = "1591de",
	-- FMS scale
	["a5"] = cats["aus5"].color,
	["a4"] = cats["aus4"].color,
	["a3"] = cats["aus3"].color,
	["a2"] = cats["aus2"].color,
	["a1"] = cats["aus1"].color
}

p.colors = colors
return p