Template:Tc sortkey/doc
Appearance
This is a documentation subpage for Template:Tc sortkey. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]Used to get the "sort key" (to be used in {{ntsh}}) of tropical cyclone categories. Used by {{Tropical cyclone season effects}} to sort tropical cyclones by category. Much like the module that this template depends on, sorting issues appear when categories from differing basins are used.
Examples
[edit]For the Atlantic Ocean basin:
Category | Sortkey | Code |
---|---|---|
cat3 | 80,030 | {{#invoke:Storm categories|sortkey|cat3}}
|
cat1 | 80,010 | {{#invoke:Storm categories|sortkey|cat1}}
|
cat5 | 80,050 | {{#invoke:Storm categories|sortkey|cat5}}
|
cat4 | 80,040 | {{#invoke:Storm categories|sortkey|cat4}}
|
depression | 90 | {{#invoke:Storm categories|sortkey|depression}}
|
cat2 | 80,020 | {{#invoke:Storm categories|sortkey|cat2}}
|
For the Western Pacific Ocean basin:
Category | Sortkey | Code |
---|---|---|
nwpsevere | 120 | {{#invoke:Storm categories|sortkey|nwpsevere}}
|
nwpdepression | 90 | {{#invoke:Storm categories|sortkey|nwpdepression}}
|
typhoon | 60,010 | {{#invoke:Storm categories|sortkey|typhoon}}
|
nwpstorm | 100 | {{#invoke:Storm categories|sortkey|nwpstorm}}
|
For the North Indian Ocean basin:
Category | Sortkey | Code |
---|---|---|
sprcyclstorm | 50,020 | {{#invoke:Storm categories|sortkey|sprcyclstorm}}
|
svrcyclstorm | 50,008 | {{#invoke:Storm categories|sortkey|svrcyclstorm}}
|
cyclstorm | 50,006 | {{#invoke:Storm categories|sortkey|cyclstorm}}
|
niodepression | 50,001 | {{#invoke:Storm categories|sortkey|niodepression}}
|
esvrcyclstorm | 50,015 | {{#invoke:Storm categories|sortkey|esvrcyclstorm}}
|
deepdepression | 50,002 | {{#invoke:Storm categories|sortkey|deepdepression}}
|
vsvrcyclstorm | 50,010 | {{#invoke:Storm categories|sortkey|vsvrcyclstorm}}
|