Template:Storm path/doc
Appearance
This is a documentation subpage for Template:Storm path. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Simple usage
[edit]
uses a left-aligned thumbnail image with the file name determined from the name of the article ({{Storm path}}
"PAGENAME" track.png
)
uses a left-aligned thumbnail image with the file name set to{{Storm path|filename}}
filename
and caption set to "Storm path"
uses a right-aligned thumbnail image with the file name set to{{Storm path|filename|right}}
filename
and caption set to "Storm path".
uses a right-aligned thumbnail image with the file name set to{{Storm path|filename|right|size}}
filename
, and size set tosize
and caption set to "Storm path".
uses a right-aligned thumbnail image with the file name set to{{Storm path|filename|right|size|caption}}
filename
, and size set tosize
and caption set tocaption
.
To set the value for the alternative text, use |alt=description
Set colors=new
to use the new colors approved in Wikipedia:WikiProject Weather/Color RfC for the map key. All new maps going forward should set this parameter.
Alternative usage
[edit]- Use
|align=
to override the default alignment - Use
|size=
to override the default image size - Use
|caption=
to override the default caption
Using named parameters as described in this section in conjunction with unnamed parameters (as described in the Simple usage section above) may produce undesired results. Use only named or unnamed parameters.
Tracking categories
[edit]Examples
[edit]{{storm path|Eta 2020 track.png}} | Map key Tropical depression (≤38 mph, ≤62 km/h) Tropical storm (39–73 mph, 63–118 km/h) Category 1 (74–95 mph, 119–153 km/h) Category 2 (96–110 mph, 154–177 km/h) Category 3 (111–129 mph, 178–208 km/h) Category 4 (130–156 mph, 209–251 km/h) Category 5 (≥157 mph, ≥252 km/h) Unknown Storm type |
{{storm path|Leslie 2018 track.png|right|150px}} | Map key Tropical depression (≤38 mph, ≤62 km/h) Tropical storm (39–73 mph, 63–118 km/h) Category 1 (74–95 mph, 119–153 km/h) Category 2 (96–110 mph, 154–177 km/h) Category 3 (111–129 mph, 178–208 km/h) Category 4 (130–156 mph, 209–251 km/h) Category 5 (≥157 mph, ≥252 km/h) Unknown Storm type |
{{storm path|Zeta 2020 track.png|caption=[[Hurricane Zeta]]'s path}} | Map key Tropical depression (≤38 mph, ≤62 km/h) Tropical storm (39–73 mph, 63–118 km/h) Category 1 (74–95 mph, 119–153 km/h) Category 2 (96–110 mph, 154–177 km/h) Category 3 (111–129 mph, 178–208 km/h) Category 4 (130–156 mph, 209–251 km/h) Category 5 (≥157 mph, ≥252 km/h) Unknown Storm type |