Misplaced Pages

Module:Storm categories/categories: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Module:Storm categories Browse history interactively← Previous editNext edit →Content deleted Content added
Revision as of 02:31, 6 February 2023 view sourcePaine Ellsworth (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, New page reviewers, Pending changes reviewers, Rollbackers, Template editors255,852 edits per edit request on talk page - update to more general "storm"← Previous edit Revision as of 22:39, 24 February 2023 view source MSGJ (talk | contribs)Autopatrolled, Administrators130,916 edits update colours per RfCNext edit →
Line 10: Line 10:
-- --
severe = { severe = {
color = "ccffff", color = "C0FFC0",
name = "Severe tropical storm", name = "Severe tropical storm",
sortkey = 120, sortkey = 120,
Line 16: Line 16:
}, },
mtstorm = { mtstorm = {
color = "00faf4", -- Old {{storm colour}} did not support. Value guessed. color = "4DFFFF", -- Old {{storm colour}} did not support. Value guessed.
name = "Moderate tropical storm", name = "Moderate tropical storm",
sortkey = 105, sortkey = 105,
Line 22: Line 22:
}, },
storm = { storm = {
color = "00faf4", color = "4DFFFF",
name = "Tropical storm", name = "Tropical storm",
sortkey = 100, sortkey = 100,
Line 28: Line 28:
}, },
severedep = { severedep = {
color = "5ebaff", -- Old {{storm colour}} did not support. Value guessed. color = "6EC1EA", -- Old {{storm colour}} did not support. Value guessed.
name = "Severe tropical depression", name = "Severe tropical depression",
sortkey = 120 sortkey = 120
}, },
moddepression = { moddepression = {
color = "5ebaff", -- Old {{storm colour}} did not support. Value guessed. color = "6EC1EA", -- Old {{storm colour}} did not support. Value guessed.
name = "Moderate tropical depression", name = "Moderate tropical depression",
sortkey = 95 sortkey = 95
}, },
depression = { depression = {
color = "5ebaff", color = "6EC1EA",
name = "Tropical depression", name = "Tropical depression",
sortkey = 90, sortkey = 90,
Line 44: Line 44:
}, },
disturbance = { disturbance = {
color = "80ccff", color = "0084D6",
name = "Tropical disturbance", name = "Tropical disturbance",
sortkey = 80, sortkey = 80,
Line 50: Line 50:
}, },
subtropicalcyclone = { subtropicalcyclone = {
color = "00faf4", color = "4DFFFF",
name = "Subtropical cyclone", name = "Subtropical cyclone",
sortkey = 70 sortkey = 70
}, },
subtropical = { subtropical = {
color = "00faf4", color = "4DFFFF",
name = "Subtropical storm", name = "Subtropical storm",
sortkey = 65, sortkey = 65,
Line 61: Line 61:
}, },
subdepression = { subdepression = {
color = "5ebaff", color = "6EC1EA",
name = "Subtropical depression", name = "Subtropical depression",
sortkey = 62, sortkey = 62,
Line 67: Line 67:
}, },
overland = { overland = {
color = "5ebaff", color = "6EC1EA",
name = "Overland depression", name = "Overland depression",
sortkey = 60, sortkey = 60,
Line 73: Line 73:
}, },
subdisturbance = { subdisturbance = {
color = "80ccff", color = "0084D6",
name = "Subtropical disturbance", name = "Subtropical disturbance",
sortkey = 55, sortkey = 55,
Line 85: Line 85:
}, },
monsoondepression = { monsoondepression = {
color = "5ebaff", color = "6EC1EA",
name = "Monsoon depression", name = "Monsoon depression",
sortkey = 30, sortkey = 30,
Line 91: Line 91:
}, },
potential = { potential = {
color = "80ccff", color = "0084D6",
name = "Potential tropical cyclone", name = "Potential tropical cyclone",
sortkey = 25, sortkey = 25,
Line 116: Line 116:
-- SSWHS hurricane categories -- SSWHS hurricane categories
cat5 = { cat5 = {
color = "ff6060", color = "8D75E6",
name = { name = {
atl = "Category 5 hurricane", atl = "Category 5 hurricane",
Line 128: Line 128:
}, },
cat4 = { cat4 = {
color = "ff8f20", color = "FF738A",
name = { name = {
atl = "Category 4 hurricane", atl = "Category 4 hurricane",
Line 140: Line 140:
}, },
cat3 = { cat3 = {
color = "ffc140", color = "FF9E59",
name = { name = {
atl = "Category 3 hurricane", atl = "Category 3 hurricane",
Line 152: Line 152:
}, },
cat2 = { cat2 = {
color = "ffe775", color = "FFD98C",
name = { name = {
atl = "Category 2 hurricane", atl = "Category 2 hurricane",
Line 164: Line 164:
}, },
cat1 = { cat1 = {
color = "ffffcc", color = "FFFFD9",
name = { name = {
atl = "Category 1 hurricane", atl = "Category 1 hurricane",
Line 176: Line 176:
}, },
supertyphoon = { supertyphoon = {
color = "ff6060", color = "FF738A",
name = "Category 4 super typhoon", name = "Category 4 super typhoon",
sortkey = 80045 sortkey = 80045
}, },
typhoon = { typhoon = {
color = "fdaf9a", color = "FFD98C",
name = "Typhoon", name = "Typhoon",
sortkey = 60010 sortkey = 60010
Line 187: Line 187:
-- HKO -- HKO
svtyphoon = { svtyphoon = {
color = "ff8f20", color = "FFD98C",
name = "Severe typhoon", name = "Severe typhoon",
sortkey = 60015 sortkey = 60015
}, },
vstyphoon = { vstyphoon = {
color = "fe887d", color = "FF738A",
name = "Very strong typhoon", name = "Very strong typhoon",
sortkey = 60020, sortkey = 60020,
Line 198: Line 198:
}, },
vityphoon = { vityphoon = {
color = "ff6060", color = "8D75E6",
name = "Violent typhoon", name = "Violent typhoon",
sortkey = 60030, sortkey = 60030,
Line 205: Line 205:
-- PAGASA -- PAGASA
styphoon = { styphoon = {
color = "ff6060", color = "8D75E6",
name = "Supertyphoon", name = "Supertyphoon",
sortkey = 60050 sortkey = 60050
}, },
sprcyclstorm = { sprcyclstorm = {
color = "ff6060", color = "8D75E6",
name = "Super cyclonic storm", name = "Super cyclonic storm",
sortkey = 50020, sortkey = 50020,
Line 216: Line 216:
}, },
esvrcyclstorm = { esvrcyclstorm = {
color = "ffc140", color = "FF9E59",
name = "Extremely severe cyclonic storm", name = "Extremely severe cyclonic storm",
sortkey = 50015, sortkey = 50015,
Line 222: Line 222:
}, },
vsvrcyclstorm = { vsvrcyclstorm = {
color = "ffffcc", color = "FFFFD9",
name = "Very severe cyclonic storm", name = "Very severe cyclonic storm",
sortkey = 50010, sortkey = 50010,
Line 228: Line 228:
}, },
svrcyclstorm = { svrcyclstorm = {
color = "ccffff", color = "C0FFC0",
name = "Severe cyclonic storm", name = "Severe cyclonic storm",
sortkey = 50008, sortkey = 50008,
Line 234: Line 234:
}, },
niocyclone = { niocyclone = {
color = "00faf4", color = "4DFFFF",
name = "Cyclonic storm", name = "Cyclonic storm",
sortkey = 50006, sortkey = 50006,
Line 240: Line 240:
}, },
deepdepression = { deepdepression = {
color = "5ebaff", color = "6EC1EA",
name = "Deep depression", name = "Deep depression",
sortkey = 50002, sortkey = 50002,
Line 246: Line 246:
}, },
niodepression = { niodepression = {
color = "80ccff", color = "0084D6",
name = "Depression", name = "Depression",
sortkey = 50001, sortkey = 50001,
Line 252: Line 252:
}, },
nioland = { nioland = {
color = "80ccff", color = "0084D6",
name = "Land depression", name = "Land depression",
sortkey = 50000, sortkey = 50000,
Line 258: Line 258:
}, },
aus5 = { aus5 = {
color = "ff6060", color = "8D75E6",
name = "Category 5 severe tropical cyclone", name = "Category 5 severe tropical cyclone",
sortkey = 40015, sortkey = 40015,
Line 264: Line 264:
}, },
aus4 = { aus4 = {
color = "ffc140", color = "FF9E59",
name = "Category 4 severe tropical cyclone", name = "Category 4 severe tropical cyclone",
sortkey = 40013, sortkey = 40013,
Line 270: Line 270:
}, },
aus3 = { aus3 = {
color = "ffffcc", color = "FFFFD9",
name = "Category 3 severe tropical cyclone", name = "Category 3 severe tropical cyclone",
sortkey = 40010, sortkey = 40010,
Line 276: Line 276:
}, },
aus2 = { aus2 = {
color = "ccffff", color = "C0FFC0",
name = "Category 2 tropical cyclone", name = "Category 2 tropical cyclone",
sortkey = 40008, sortkey = 40008,
Line 282: Line 282:
}, },
aus1 = { aus1 = {
color = "00faf4", color = "4DFFFF",
name = "Category 1 tropical cyclone", name = "Category 1 tropical cyclone",
sortkey = 40006, sortkey = 40006,
Line 288: Line 288:
}, },
low = { low = {
color = "5ebaff", color = "6EC1EA",
name = "Tropical low", name = "Tropical low",
sortkey = 40002, sortkey = 40002,
Line 294: Line 294:
}, },
sublow = { sublow = {
color = "5ebaff", color = "6EC1EA",
name = "Subtropical low", name = "Subtropical low",
sortkey = 40000 sortkey = 40000
}, },
vintense = { vintense = {
color = "ff6060", color = "8D75E6",
name = "Very intense tropical cyclone", name = "Very intense tropical cyclone",
sortkey = 30010, sortkey = 30010,
Line 305: Line 305:
}, },
intense = { intense = {
color = "ffc140", color = "FF9E59",
name = "Intense tropical cyclone", name = "Intense tropical cyclone",
sortkey = 30008, sortkey = 30008,
Line 311: Line 311:
}, },
tropicalcyclone = { tropicalcyclone = {
color = "ffffcc", color = "FFFFD9",
name = "Tropical cyclone", name = "Tropical cyclone",
sortkey = 30006, sortkey = 30006,
Line 317: Line 317:
}, },
mstorm = { mstorm = {
color = "00faf4", color = "4DFFFF",
name = "Moderate tropical storm", name = "Moderate tropical storm",
sortkey = 30004, sortkey = 30004,
Line 323: Line 323:
}, },
zodw = { zodw = {
color = "80ccff", color = "0084D6",
name = "Zone of disturbed weather", name = "Zone of disturbed weather",
sortkey = 30000, sortkey = 30000,
Line 329: Line 329:
}, },
shemsvrtc = { shemsvrtc = {
color = "ffe775", color = "FFD98C",
name = "Severe tropical cyclone", name = "Severe tropical cyclone",
sortkey = 20020 sortkey = 20020
}, },
shem5 = { shem5 = {
color = "ff6060", color = "8D75E6",
name = "Severe tropical cyclone", name = "Severe tropical cyclone",
sortkey = 20010 sortkey = 20010
}, },
shem4 = { shem4 = {
color = "ffc140", color = "FF9E59",
name = "Tropical cyclone", name = "Tropical cyclone",
sortkey = 20008 sortkey = 20008
}, },
shem2 = { shem2 = {
color = "ccffff", color = "C0FFC0",
name = "Tropical cyclone", name = "Tropical cyclone",
sortkey = 20008 sortkey = 20008
}, },
shem1 = { shem1 = {
color = "00faf4", color = "4DFFFF",
name = "Tropical cyclone", name = "Tropical cyclone",
sortkey = 20008 sortkey = 20008
Line 364: Line 364:
}, },
rsi1 = { rsi1 = {
color = "ffffcc", color = "FFFFD9",
name = "Category 1 \"Notable\"", name = "Category 1 \"Notable\"",
sortkey = 80110, sortkey = 80110,
Line 370: Line 370:
}, },
rsi2 = { rsi2 = {
color = "ffe775", color = "FFD98C",
name = "Category 2 \"Minor\"", name = "Category 2 \"Minor\"",
sortkey = 80120, sortkey = 80120,
Line 376: Line 376:
}, },
rsi3 = { rsi3 = {
color = "ffc140", color = "FF9E59",
name = "Category 3 \"Major\"", name = "Category 3 \"Major\"",
sortkey = 80130, sortkey = 80130,
Line 382: Line 382:
}, },
rsi4 = { rsi4 = {
color = "ff8f20", color = "FF738A",
name = "Category 4 \"Crippling\"", name = "Category 4 \"Crippling\"",
sortkey = 80140, sortkey = 80140,
Line 388: Line 388:
}, },
rsi5 = { rsi5 = {
color = "ff6060", color = "8D75E6",
name = "Category 5 \"Extreme\"", name = "Category 5 \"Extreme\"",
sortkey = 80150, sortkey = 80150,
Line 401: Line 401:
}, },
wssilimited = { wssilimited = {
color = "80ccff", color = "0084D6",
name = "Limited impacts", name = "Limited impacts",
sortkey = 80210, sortkey = 80210,
Line 407: Line 407:
}, },
wssiminor = { wssiminor = {
color = "ffc140", color = "FF9E59",
name = "Minor impacts", name = "Minor impacts",
sortkey = 80220, sortkey = 80220,
Line 413: Line 413:
}, },
wssimoderate = { wssimoderate = {
color = "ff8f20", color = "FF738A",
name = "Moderate impacts", name = "Moderate impacts",
sortkey = 80230, sortkey = 80230,
Line 419: Line 419:
}, },
wssimajor = { wssimajor = {
color = "ff6060", color = "8D75E6",
name = "Major impacts", name = "Major impacts",
sortkey = 80240, sortkey = 80240,
Line 440: Line 440:
}, },
ef0 = { ef0 = {
color = "00faf4", color = "4DFFFF",
name = "EF0 tornado", name = "EF0 tornado",
sortkey = 1000, sortkey = 1000,
Line 446: Line 446:
}, },
ef1 = { ef1 = {
color = "ffffcc", color = "FFFFD9",
name = "EF1 tornado", name = "EF1 tornado",
sortkey = 1010, sortkey = 1010,
Line 452: Line 452:
}, },
ef2 = { ef2 = {
color = "ffe775", color = "FFD98C",
name = "EF2 tornado", name = "EF2 tornado",
sortkey = 1020, sortkey = 1020,
Line 458: Line 458:
}, },
ef3 = { ef3 = {
color = "ffc140", color = "FF9E59",
name = "EF3 tornado", name = "EF3 tornado",
sortkey = 1030, sortkey = 1030,
Line 464: Line 464:
}, },
ef4 = { ef4 = {
color = "ff8f20", color = "FF738A",
name = "EF4 tornado", name = "EF4 tornado",
sortkey = 1040, sortkey = 1040,
Line 470: Line 470:
}, },
ef5 = { ef5 = {
color = "ff6060", color = "8D75E6",
name = "EF5 tornado", name = "EF5 tornado",
sortkey = 1050, sortkey = 1050,

Revision as of 22:39, 24 February 2023

Module documentation[view] [edit] [history] [purge]
WarningThis Lua module is used on approximately 5,500 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them.

This page contains the tropical cyclone category data for Module:Storm categories.

Each category is expected to contain the following information:

  • ID – the ID is derived from the key/index of the category in the cats table
    • This ID must be in lowercase and have no special symbols; the module will take care of data sanitization.
  • color – the hexadecimal code of the category's color, without
  • name – the name of the category
  • sortkey – the sortkey of the category
    • Give decent spacing in between keys for future categories.
  • icon (incomplete) – the icon of the category in wikitext
  • basin (to be done) – a table (list) of basins to which this category applies to
  • scale (to be done) – a wikilink (without brackets) leading to the scale of this category
  • q (to be done) – the Wikidata entity of this category

Aliases are defined at the bottom of the module. They are in the following format:, where actual is the ID of the category:

cats = cats
The above documentation is transcluded from Module:Storm categories/categories/doc. (edit | history)
Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages.
Subpages of this module.

local p = {}

-- Define categories

-- All sortkeys have been guessed. They may be changed by common sense
-- or consensus at ]
local cats = {
	--
	--  TROPICAL CYCLONES
	--
	severe = {
		color = "C0FFC0",
		name = "Severe tropical storm",
		sortkey = 120,
		icon = "]"
	},
	mtstorm = {
		 color = "4DFFFF", -- Old {{storm colour}} did not support. Value guessed.
		 name = "Moderate tropical storm",
		 sortkey = 105,
		 icon = "]"
	},
	storm = {
		color = "4DFFFF",
		name = "Tropical storm",
		sortkey = 100,
		icon = "]"
	},
	severedep = {
		color = "6EC1EA", -- Old {{storm colour}} did not support. Value guessed.
		name = "Severe tropical depression",
		sortkey = 120
	},
	moddepression = {
		color = "6EC1EA", -- Old {{storm colour}} did not support. Value guessed.
		name = "Moderate tropical depression",
		sortkey = 95
	},
	depression = {
		color = "6EC1EA",
		name = "Tropical depression",
		sortkey = 90,
		icon = "]"
	},
	disturbance = {
		color = "0084D6",
		name = "Tropical disturbance",
		sortkey = 80,
		icon = "]"
	},
	subtropicalcyclone = {
		color = "4DFFFF",
		name = "Subtropical cyclone",
		sortkey = 70
	},
	subtropical = {
		color = "4DFFFF",
		name = "Subtropical storm",
		sortkey = 65,
		icon = "]"
	},
	subdepression = {
		color = "6EC1EA",
		name = "Subtropical depression",
		sortkey = 62,
		icon = "]"
	},
	overland = {
		color = "6EC1EA",
		name = "Overland depression",
		sortkey = 60,
		icon = "]"
	},
	subdisturbance = {
		color = "0084D6",
		name = "Subtropical disturbance",
		sortkey = 55,
		icon = "]"
	},
	extratropical = {
		color = "cccccc",
		name = "Extratropical cyclone",
		sortkey = 50,
		icon = "]"
	},
	monsoondepression = {
		color = "6EC1EA",
		name = "Monsoon depression",
		sortkey = 30,
		icon = "]"
	},
	potential = {
		color = "0084D6",
		name = "Potential tropical cyclone",
		sortkey = 25,
		icon = "]"
	},
	posttropical = {
		color = "cccccc",
		name = "Post-tropical depression",
		sortkey = 70,
		icon = "]"
	},
	remnant = {
		color = "cccccc",
		name = "Post-tropical depression",
		sortkey = 70,
		icon = "]"
	},
	unknown = {
		color = "c0c0c0",
		name = "Unknown-strength storm",
		sortkey = 0,
		icon = "'''?'''"
	},
	-- SSWHS hurricane categories
	cat5 = {
		color = "8D75E6",
		name = {
			atl = "Category 5 hurricane",
			epac = "Category 5 hurricane",
			satl = "Category 5 hurricane",
			wpac = "Category 5-equivalent super typhoon",
			default = "Category 5-equivalent tropical cyclone"
		},
		sortkey = 80050,
		icon = "]"
	},
	cat4 = {
		color = "FF738A",
		name = {
			atl = "Category 4 hurricane",
			epac = "Category 4 hurricane",
			satl = "Category 4 hurricane",
			wpac = "Category 4-equivalent typhoon",
			default = "Category 4-equivalent tropical cyclone"
		},
		sortkey = 80040,
		icon = "]"
	},
	cat3 = {
		color = "FF9E59",
		name = {
			atl = "Category 3 hurricane",
			epac = "Category 3 hurricane",
			satl = "Category 3 hurricane",
			wpac = "Category 3-equivalent typhoon",
			default = "Category 3-equivalent tropical cyclone"
		},
		sortkey = 80030,
		icon = "]"
	},
	cat2 = {
		color = "FFD98C",
		name = {
			atl = "Category 2 hurricane",
			epac = "Category 2 hurricane",
			satl = "Category 2 hurricane",
			wpac = "Category 2-equivalent typhoon",
			default = "Category 2-equivalent tropical cyclone"
		},
		sortkey = 80020,
		icon = "]"
	},
	cat1 = {
		color = "FFFFD9",
		name = {
			atl = "Category 1 hurricane",
			epac = "Category 1 hurricane",
			satl = "Category 1 hurricane",
			wpac = "Category 1-equivalent typhoon",
			default = "Category 1-equivalent tropical cyclone"
		},
		sortkey = 80010,
		icon = "]"
	},
	supertyphoon = {
		color = "FF738A",
		name = "Category 4 super typhoon",
		sortkey = 80045
	},
	typhoon = {
		color = "FFD98C",
		name = "Typhoon",
		sortkey = 60010
	},
	-- HKO
	svtyphoon = {
		color = "FFD98C",
		name = "Severe typhoon",
		sortkey = 60015
	},
	vstyphoon = {
		color = "FF738A",
		name = "Very strong typhoon",
		sortkey = 60020,
		icon = "]"
	},
	vityphoon = {
		color = "8D75E6",
		name = "Violent typhoon",
		sortkey = 60030,
		icon = "]"
	},
	-- PAGASA
	styphoon = {
		color = "8D75E6",
		name = "Supertyphoon",
		sortkey = 60050
	},
	sprcyclstorm = {
		color = "8D75E6",
		name = "Super cyclonic storm",
		sortkey = 50020,
		icon = "]"
	},
	esvrcyclstorm = {
		color = "FF9E59",
		name = "Extremely severe cyclonic storm",
		sortkey = 50015,
		icon = "]"
	},
	vsvrcyclstorm = {
		color = "FFFFD9",
		name = "Very severe cyclonic storm",
		sortkey = 50010,
		icon = "]"
	},
	svrcyclstorm = {
		color = "C0FFC0",
		name = "Severe cyclonic storm",
		sortkey = 50008,
		icon = "]"
	},
	niocyclone = {
		color = "4DFFFF",
		name = "Cyclonic storm",
		sortkey = 50006,
		icon = "]"
	},
	deepdepression = {
		color = "6EC1EA",
		name = "Deep depression",
		sortkey = 50002,
		icon = "]"
	},
	niodepression = {
		color = "0084D6",
		name = "Depression",
		sortkey = 50001,
		icon = "]"
	},
	nioland = {
		color = "0084D6",
		name = "Land depression",
		sortkey = 50000,
		icon = "]"
	},
	aus5 = {
		color = "8D75E6",
		name = "Category 5 severe tropical cyclone",
		sortkey = 40015,
		icon = "]"
	},
	aus4 = {
		color = "FF9E59",
		name = "Category 4 severe tropical cyclone",
		sortkey = 40013,
		icon = "]"
	},
	aus3 = {
		color = "FFFFD9",
		name = "Category 3 severe tropical cyclone",
		sortkey = 40010,
		icon = "]"
	},
	aus2 = {
		color = "C0FFC0",
		name = "Category 2 tropical cyclone",
		sortkey = 40008,
		icon = "]"
	},
	aus1 = {
		color = "4DFFFF",
		name = "Category 1 tropical cyclone",
		sortkey = 40006,
		icon = "]"
	},
	low = {
		color = "6EC1EA",
		name = "Tropical low",
		sortkey = 40002,
		icon = "]"
	},
	sublow = {
		color = "6EC1EA",
		name = "Subtropical low",
		sortkey = 40000
	},
	vintense = {
		color = "8D75E6",
		name = "Very intense tropical cyclone",
		sortkey = 30010,
		icon = "]"
	},
	intense = {
		color = "FF9E59",
		name = "Intense tropical cyclone",
		sortkey = 30008,
		icon = "]"
	},
	tropicalcyclone = {
		color = "FFFFD9",
		name = "Tropical cyclone",
		sortkey = 30006,
		icon = "'''TC'''"
	},
	mstorm = {
		color = "4DFFFF",
		name = "Moderate tropical storm",
		sortkey = 30004,
		icon = "]"
	},
	zodw = {
		color = "0084D6",
		name = "Zone of disturbed weather",
		sortkey = 30000,
		icon = "]"
	},
	shemsvrtc = {
		color = "FFD98C",
		name = "Severe tropical cyclone",
		sortkey = 20020
	},
	shem5 = {
		color = "8D75E6",
		name = "Severe tropical cyclone",
		sortkey = 20010
	},
	shem4 = {
		color = "FF9E59",
		name = "Tropical cyclone",
		sortkey = 20008
	},
	shem2 = {
		color = "C0FFC0",
		name = "Tropical cyclone",
		sortkey = 20008
	},
	shem1 = {
		color = "4DFFFF",
		name = "Tropical cyclone",
		sortkey = 20008
	},
	--
	-- WINTER STORMS
	--
	-- Regional Snowfall Index
	rsi0 = {
		color = "cccccc",
		name = "Category 0 \"Nuisance\"",
		sortkey = 80100,
		icon = "]"
	},
	rsi1 = {
		color = "FFFFD9",
		name = "Category 1 \"Notable\"",
		sortkey = 80110,
		icon = "]"
	},
	rsi2 = {
		color = "FFD98C",
		name = "Category 2 \"Minor\"",
		sortkey = 80120,
		icon = "]"
	},
	rsi3 = {
		color = "FF9E59",
		name = "Category 3 \"Major\"",
		sortkey = 80130,
		icon = "]"
	},
	rsi4 = {
		color = "FF738A",
		name = "Category 4 \"Crippling\"",
		sortkey = 80140,
		icon = "]"
	},
	rsi5 = {
		color = "8D75E6",
		name = "Category 5 \"Extreme\"",
		sortkey = 80150,
		icon = "]"
	},
	-- Winter Storm Severity Index
	wssinone = {
		color = "cccccc",
		name = "No impacts",
		sortkey = 80200,
		icon = "]"
	},
	wssilimited = {
		color = "0084D6",
		name = "Limited impacts",
		sortkey = 80210,
		icon = "]"
	},
	wssiminor = {
		color = "FF9E59",
		name = "Minor impacts",
		sortkey = 80220,
		icon = "]"
	},
	wssimoderate = {
		color = "FF738A",
		name = "Moderate impacts",
		sortkey = 80230,
		icon = "]"
	},
	wssimajor = {
		color = "8D75E6",
		name = "Major impacts",
		sortkey = 80240,
		icon = "]"
	},
	wssiextreme = {
		color = "cf75ff",
		name = "Extreme impacts",
		sortkey = 80250,
		icon = "]"
	},
	--
	-- TORNADOES
	--
	efu = {
		color = "cccccc",
		name = "EFU tornado",
		sortkey = 1001,
		icon = "]"
	},
	ef0 = {
		color = "4DFFFF",
		name = "EF0 tornado",
		sortkey = 1000,
		icon = "]"
	},
	ef1 = {
		color = "FFFFD9",
		name = "EF1 tornado",
		sortkey = 1010,
		icon = "]"
	},
	ef2 = {
		color = "FFD98C",
		name = "EF2 tornado",
		sortkey = 1020,
		icon = "]"
	},
	ef3 = {
		color = "FF9E59",
		name = "EF3 tornado",
		sortkey = 1030,
		icon = "]"
	},
	ef4 = {
		color = "FF738A",
		name = "EF4 tornado",
		sortkey = 1040,
		icon = "]"
	},
	ef5 = {
		color = "8D75E6",
		name = "EF5 tornado",
		sortkey = 1050,
		icon = "]"
	},
	-- Beaufort Scale (windstorms)
	beaufort0 = {
		color = "FFFFFF",
		name = "Calm (Force 0)",
		sortkey = 1500,
	},
	beaufort1 = {
		color = "757575",
		name = "Light Air (Force 1)",
		sortkey = 1510,
	},
	beaufort2 = {
		color = "909090",
		name = "Light Breeze (Force 2)",
		sortkey = 1520,
	},
	beaufort3 = {
		color = "B7B7B7",
		name = "Gentle Breeze (Force 3)",
		sortkey = 1530,
	},
	beaufort4 = {
		color = "D2D2D2",
		name = "Moderate Breeze (Force 4)",
		sortkey = 1540,
	},
	beaufort5 = {
		color = "F1F1F1",
		name = "Fresh Breeze (Force 5)",
		sortkey = 1550,
	},
	beaufort6 = {
		color = "007FCE",
		name = "Strong Breeze (Force 6)",
		sortkey = 1560,
	},
    beaufort7 = {
		color = "46A1FF",
		name = "Near Gale (Force 7)",
		sortkey = 1570,
	},
    beaufort8 = {
		color = "5EDBF8",
		name = "Gale (Force 8)",
		sortkey = 1580,
	},
    beaufort9 = {
		color = "3BFDFD",
		name = "Strong Gale (Force 9)",
		sortkey = 1590,
	},
    beaufort10 = {
		color = "AAFD9C",
		name = "Storm (Force 10)",
		sortkey = 1600,
	},
    beaufort11 = {
		color = "D6FFA4",
		name = "Violent Storm (Force 11)",
		sortkey = 1610,
	},
    beaufort12 = {
		color = "FFFCD1",
		name = "Hurricane-force (Force 12)",
		sortkey = 1620,
	}
}

-- Define aliases

-- All non-alphanumeric characters are already stripped, and the string is
-- already set to lowercase, so additional aliases for those are no longer
-- required.

cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats
cats = cats

-- Key standardization check
for k, v in pairs(cats) do
	if k ~= mw.ustring.gsub(k, "", "") then
		mw.addWarning(
			"Category \""
			.. k
			.. "\" in ] is defined with a non-alphanumeric key. "
			.. "This key will likely be unusable unless non-alphanumeric characters are removed."
		)
	end
end

p.defaultCategory = "unknown"
p.cats = cats
return p
Category: