Jump to content

Module:Storm categories/icons/doc

From Humanipedia
Revision as of 23:10, 5 February 2023 by wikipedia>Paine Ellsworth (High-use template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Storm categories/icons

Script error: No such module "High-use".

Usage

This template contains icon overrides for Module:Storm categories. These icon overrides can either add an extra icon to the template without adding a category, or override the icon of an existing category or category alias for backwards compatibility. These are primarily used for categories that apply to basins across both hemispheres, but require an icon that applies to the southern hemisphere (where cyclones rotate counter-clockwise).

Overrides are defined in the following format: <syntaxhighlight line lang="lua" start="8">

   -- For overrides that include the icon of an existing category.
   ["override_id"] = cats["actual_category"].icon,
   -- For overrides that introduce a new icon.
   ["override_id"] = "File:Super duper ultra strong magnitude 100 storm icon.svg",

</syntaxhighlight>