Module:Storm categories: Difference between revisions

Content deleted Content added
''
Change to suit {{Tc nom list}}
Line 3:
-- Define categories
 
-- All sortkeys have been guessed. They may be changed by common sense
-- or consensus at [[Wikipedia talk:WikiProject Tropical cyclones]]
local defs = {
extratropicalsevere = {
color = "ccccccccffff",
name = "ExtratropicalSevere cyclonetropical storm",
sortkey = 120
},
mtstorm = {
color = "00faf4", -- {{storm colour}} did not support. Value guessed.
name = "SevereModerate tropical storm",
sortkey = 20008105
},
storm = {
Line 13 ⟶ 20:
name = "Tropical storm",
sortkey = 100
},
moddepression = {
color = "5ebaff", -- {{storm colour}} did not support. Value guessed.
name = "Moderate tropical depression",
sortkey = 95
},
depression = {
Line 23 ⟶ 35:
name = "Tropical disturbance",
sortkey = 80
},
subtropicalcyclone = {
color = "ccffff00faf4",
name = "Subtropical cyclone",
sortkey = 70
},
subtropical = {
color = "00faf4",
name = "Subtropical storm",
sortkey = 5065
},
subdepression = {
color = "00faf4",
name = "Subtropical depression",
sortkey = 4560
},
subdisturbance = {
color = "00faf4",
name = "Subtropical disturbance",
sortkey = 4055
},
extratropical = {
color = "cccccc",
name = "Extratropical cyclone",
sortkey = 50
},
monsoondepression = {
Line 128 ⟶ 150:
name = "Typhoon",
sortkey = 20010
},
nwpsevere = {
color = "ccffff",
name = "Severe tropical storm",
sortkey = 20008
},
sprcyclstorm = {
Line 163 ⟶ 180:
name = "Deep depression",
sortkey = 30002
},
niodepression = {
color = "80ccff",
name = "Depression",
sortkey = 30001
},
nioland = {
Line 172 ⟶ 194:
color = "ff6060",
name = "Category 5 severe tropical cyclone",
sortkey = 4001040015
},
aus4 = {
color = "ffc140",
name = "Category 4 severe tropical cyclone",
sortkey = 4001040013
},
aus3 = {
Line 187 ⟶ 209:
color = "ccffff",
name = "Category 2 tropical cyclone",
sortkey = 4001040008
},
aus1 = {
color = "00faf4",
name = "Category 1 tropical cyclone",
sortkey = 4001040006
},
low = {
color = "5ebaff",
name = "Tropical low",
sortkey = 40002
},
sublow = {
color = "5ebaff",
name = "Subropical low",
sortkey = 40000
},
vintense = {
Line 256 ⟶ 288:
 
defs["sty"] = defs["supertyphoon"]
defs["strong"] = defs["nwpseveresevere"]
defs["stsswiosts"] = defs["nwpseveresevere"]
defs["swsubdepsts"] = defs["subtropicalsevere"]
defs["niodepressionseverets"] = defs["depressionsevere"]
defs["severedep"] = defs["severe"]
defs["ty"] = defs["typhoon"]
defs["td"] = defs["depression"]
Line 264 ⟶ 299:
defs["d"] = defs["depression"]
defs["spdepression"] = defs["depression"]
defs["niodepression"] = defs["depression"]
defs["shemdepression"] = defs["depression"]
defs["swiodepression"] = defs["depression"]
defs["spdepression"] = defs["depression"]
defs["nwpdepression"] = defs["depression"]
defs["subtropicalcycloneswsubdep"] = defs["subtropicalsubdepression"]
defs["swsubdep"] = defs["subtropical"]
defs["sd"] = defs["subdepression"]
defs["ss"] = defs["subtropical"]