Template:Infobox weather event/Storm/doc: Difference between revisions
m (syntaxhighlight lang="wikitext") |
m (1 revision imported) |
Latest revision as of 20:26, 8 April 2024
This is a documentation subpage for Template:Infobox weather event/Storm. It may contain usage information, categories and other content that is not part of the original template page. |
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
}} |
|
{{Infobox weather event/Storm
| type = Nor'easter
| winds = 98
| gusts = 101
| maximum-rain = 42
}} |
|
{{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
}} |
|
TemplateData
<templatedata> Template:Infobox weather event/meteorology/TemplateData </templatedata>