Content deleted Content added
m Anthony Appleyard moved page Module:Tropical cyclone categories/doc to Module:Storm categories/doc without leaving a redirect: Requested by Chlod at WP:RM/TR: Module's scope has now expanded to include other non-tropical storms (such as tornadoes). As such, the name "Tropical cyclone categories" is unfitting. This module includes many subpages (some are submodules, others are documentation pages) which require the page mover right to move (or at le... |
page moved |
||
Line 2:
{{ombox|text=In order to conform to [[Wikipedia:Manual of Style/Accessibility#Color]] guidelines, do not use storm colors in conjunction with links. This is necessary to avoid problems related to lack of contrast.}}
{{Lua
|Module:
|Module:
|Module:
|Module:
|noprotcat=yes
}}
Line 11:
Data is located in the following submodules:
* [[Module:
* [[Module:
* [[Module:
== Usage ==
Line 27:
! Output
|-
||<code><nowiki><span style="padding:4px;border:1px solid black;background-color:#{{#invoke:
|<span style="padding:4px;border:1px solid black;background-color:#{{#invoke:
|}
Line 38:
! Output
|-
||<code><nowiki>{{#invoke:
|{{#invoke:
|-
||<code><nowiki>{{#invoke:
|{{#invoke:
|-
||<code><nowiki>{{#invoke:
|{{#invoke:
|-
||<code><nowiki>{{#invoke:
|{{#invoke:
|}
=== Sortkey ===
The sortkey is a number that aids in sorting categories. Using the sortkey, it is possible to automatically sort a table of tropical cyclones given their category code. Due to the ambiguous nature of sortkeys, tables may be sorted incorrectly if values from other basins were used. For categories that span multiple basins, however, (e.g. <code>depression</code> and <code>storm</code>) they are given the lowest possible sortkeys in order to achieve maximum compatibility.
{{#ifeq:{{BASEPAGENAME}}|
<p>This sortkey is used in {{T|storm sortkey}} and {{T|Tropical cyclone season effects (cyclone)}}, a subtemplate of {{T|Tropical cyclone season effects}}.</p>
}}
Line 91:
! Sortkey
! Code
|- style="background-color:#{{#invoke:
| cat3
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| cat1
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| cat5
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| cat4
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| depression
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| cat2
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|}
Line 122:
! Sortkey
! Code
|- style="background-color:#{{#invoke:
| typhoon
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| potential
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| cat5
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| svrcyclstorm
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| unknown
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| supertyphoon
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|- style="background-color:#{{#invoke:
| niodepression
| {{nts|{{#invoke:
|| <code><nowiki>{{#invoke:
|}
{{cbot}}
=== Icon ===
Icons exist for some
=== Full list of available values ===
Line 160:
It will show any color errors, including colors which aren't compliant with the minimal [[Web Content Accessibility Guidelines#WCAG 2.0|Web Content Accessibility Guidelines 2.0]] AA color standards (see [[MOS:COLOR]] for more information).
{{#invoke:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
|