Template:Storm path/doc

From Wikipedia, the free encyclopedia
Revision as of 11:01, 24 September 2024 by imported>Jasper Deng (Examples: mandatory for all new maps)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Documentation subpage Template:High-use

Simple usage

  1. Template:Tld uses a left-aligned thumbnail image with the file name determined from the name of the article ("PAGENAME" track.png)
  2. Template:Tld uses a left-aligned thumbnail image with the file name set to filename and caption set to "Storm path"
  3. Template:Tld uses a right-aligned thumbnail image with the file name set to filename and caption set to "Storm path".
  4. Template:Tld uses a right-aligned thumbnail image with the file name set to filename, and size set to size and caption set to "Storm path".
  5. Template:Tld uses a right-aligned thumbnail image with the file name set to filename, and size set to size and caption set to caption.

To set the value for the alternative text, use Template:Para

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

  1. Use Template:Para to override the default alignment
  2. Use Template:Para to override the default image size
  3. Use Template:Para 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

Examples

{{storm path|Eta 2020 path.png|colors=new}}
File:Eta 2020 path.png
Map plotting the storm's track and intensity, according to the Saffir–Simpson scale
<templatestyles src="Template:Hidden begin/styles.css"/>
{{storm path|Leslie 2018 path.png|right|150px|colors=new}}
File:Leslie 2018 path.png
Map plotting the storm's track and intensity, according to the Saffir–Simpson scale
<templatestyles src="Template:Hidden begin/styles.css"/>
{{storm path|Zeta 2020 path.png|caption=[[Hurricane Zeta]]'s path|colors=new}}
File:Zeta 2020 path.png
Hurricane Zeta's path
<templatestyles src="Template:Hidden begin/styles.css"/>