Template:Infobox weather event/Storm/doc

From Pantonian Republic Wiki
< Template:Infobox weather event‎ | Storm
Revision as of 05:03, 19 May 2023 by wikipedia>WOSlinker (syntaxhighlight lang="wikitext")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This sub-box generates a meteorological information box specifically targeted towards any general storm. This is the general-use version of Template:Infobox weather event/meteorology, and is the most customizable.

|category= can be set to any valid storm category. It will, in turn, change the header color and text. If a category is set, the header can only be changed by |header=. The header style (which includes the background color) can be changed with |headerstyle=. To identify which scale and/or agency was used, supply the |scale= and/or |agency= parameters, respectively. To identify measurement interval (e.g. 10-minute, 3-minute), supply |interval= with the number of minutes. To override the text below the header entirely, use |subheader=.

If a category is not used, |type= may be used instead to refer to the type of meteorological event. The value of |type= will be used as the header text. Note that this will not show up if |category= is set.

The |basin= parameter can also be used to change the units; set it to atl or epac to switch the default units. To avoid units entirely, you may choose to pass text into the related values (e.g. pass {{convert|142|mph|kmh|abbr=on}}|winds= or |gusts=), but this makes later maintenance difficult, and is not advised.

This subbox relies on the meta-template Template:Infobox weather event/meteorology.

{{Infobox weather event/Storm
| type = Flood
| maximum-rain = 98
}}
Flood
Maximum rainfall98 cm (38.58 in)
{{Infobox weather event/Storm
| type = Nor'easter
| winds = 98
| gusts = 101
| maximum-rain = 42
}}
Nor'easter
Highest winds180 km/h (115 mph)
Highest gusts185 km/h (115 mph)
Maximum rainfall42 cm (16.54 in)
{{Infobox weather event/Storm
| category = 3
| type = Gust <!-- Note how this will be missing -->
| header = Puff of the Big Bad Wolf
| scale = [[The Three Little Pigs]]
| winds = 877
| gusts = 1042
}}
Puff of the Big Bad Wolf
The Three Little Pigs
Highest winds1625 km/h (1010 mph)
Highest gusts1930 km/h (1200 mph)

TemplateData

<templatedata> Template:Infobox weather event/meteorology/TemplateData </templatedata>