Module:Storm categories/doc: Difference between revisions

Content deleted Content added
page moved
names standardized
Line 8:
|noprotcat=yes
}}
This template is used to control a multitude of tropical cyclone-related templates: {{t|storm colour}}, {{t|tc nomstorm listname}}, {{t|storm sortkey}}, and {{t|tropical cyclone statusstorm iconsicon}}. It acts as a centralized ___location for storm categories to avoid discrepancies between templates, allowing for the same ID to be used across all related templates.
 
Data is located in the following submodules:
Line 32:
 
=== Name ===
Provides the name of the given tropical cyclone category code. A optional basin argument can be provided as the second argument in order to slightly tweak the name of the category, if the given category definition supports it. This function is available as a template at {{T|Tcstorm nom listname}}.
 
{| class="wikitable"
Line 154:
 
=== Icon ===
Icons exist for some Storm categories for presentation purposes. This function is available as a template at {{T|Tropicalstorm cyclone status iconsicon}}. <code>p.icon</code> will return wikitext of an image or formatted text.
 
=== Full list of available values ===