Template:Infobox weather event/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox weather event. It contains usage information, categories and other content that is not part of the original template page. |
Script error: No such module "Uses TemplateStyles".
File:Lua-Logo.svg | This template uses Lua: |
This template creates a completely modular weather infobox, which aims to support almost all severe weather events and allow modularity. Each of the subboxes are developed with modularity in mind. TemplateData will be available for these boxes soon to ease adding infoboxes to existing articles.
The primary infobox (this infobox) allows for a storm's image, name, and meteorological history. Meteorological data such as storm category and intensity or other data such as damages and deaths, are provided through subboxes.
This infobox aims to replace the current weather-related infoboxes: {{Infobox tropical cyclone}}, {{Infobox flood}}, {{Infobox storm}}, and {{Infobox tropical cyclone current}}. Full compatibility has not yet been reached among all aforementioned templates, but should be done eventually.
Usage
Winds and gusts units are always in knots. Pressure is always in millibars/hectopascals. Damages are always in United States dollars. These are non-configurable values in order to standardize and maintain consistency between all boxes.
Basic
A very minimal box can be created using the following wikitext.
Wikitext | Output | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox weather event | name = Typhoon Tip <!-- This is pre-supplied by the article name. --> | image = File:TIP_1979-10-12-2333.jpg | caption = Typhoon Tip at its record peak intensity on October 12 | formed = October 4, 1979 | extratropical = October 19, 1979 | dissipated = October 24, 1979 | footer = yes <!-- For display purposes. --> }} |
|
All parameters of {{Infobox weather event/History}} is usable in the root box. You can add in another meteorological history section for long-lasting storms which experienced different stages.
History
The meteorological history subbox allows an infobox to contain multiple meteorological history boxes (aside from the one already displayed by the main template).
Wikitext | Output | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<syntaxhighlight lang="text" line>
</syntaxhighlight> |
|
Tropical cyclones
Scales
Each meteorological agency has a subbox of its own, which links to the correct scale and automatically computes the category of a storm.
NWS
This subbox provides a meteorological data subbox based on the National Weather Service scale, which uses the Saffir–Simpson scale.
This subbox relies on the meta-template Template:Infobox weather event/SSHWS, which in turn relies on the meta-template Template:Infobox weather event/scale.
{{Infobox weather event/NWS | winds = 150 | gusts = 175 | pressure = 902 }} |
|
{{Infobox weather event/NWS | winds = 45 | gusts = 55 | pressure = 989 }} |
|
Script error: No such module "Infobox weather event/scalebar".
JMA
This subbox provides a meteorological data subbox based on the Japan Meteorological Agency scale. This subbox relies on the meta-template Template:Infobox weather event/scale.
{{Infobox weather event/JMA | winds = 140 | gusts = 175 | pressure = 870 }} |
|
{{Infobox weather event/JMA | winds = 55 | gusts = 67 | pressure = 990 }} |
|
Script error: No such module "Infobox weather event/scalebar".
MF
This subbox provides a meteorological data subbox based on the Météo-France scale. This subbox relies on the meta-template Template:Infobox weather event/scale.
The acronym used in the scale can be changed with |agency=
. For example, you may set it to MFR
to represent Météo-France Reunion.
{{Infobox weather event/MF | agency = MFR | winds = 140 | gusts = 162 | pressure = 870 }} |
|
{{Infobox weather event/MF | winds = 87 | gusts = 100 | pressure = 974 }} |
|
Script error: No such module "Infobox weather event/scalebar".
IMD
This subbox provides a meteorological data subbox based on the India Meteorological Department scale. This subbox relies on the meta-template Template:Infobox weather event/scale.
{{Infobox weather event/IMD | winds = 140 | gusts = 162 | pressure = 870 }} |
|
{{Infobox weather event/IMD | winds = 56 | gusts = 88 | pressure = 984 }} |
|
Script error: No such module "Infobox weather event/scalebar".
Australian scale
The Australian scale is used by multiple agencies. Multiple infoboxes are provided, each changing the issuing agency but providing the same scale.
The following templates can be used to show this scale:
- Template:Infobox weather event/BOM – Bureau of Meteorology
- Template:Infobox weather event/BMKG – Meteorology, Climatology, and Geophysical Agency (TCWC Jakarta)
- Template:Infobox weather event/PNGNWS – Papua New Guinea National Weather Service
- Template:Infobox weather event/FMS – Fiji Meteorological Service
- Template:Infobox weather event/MetService – Meteorological Service of New Zealand
Script error: No such module "Infobox weather event/scalebar".
Non-RSMC scales
Scale subboxes also exist for agencies which are not the Regional Specialized Meteorological Center. While the use of the JTWC subbox is generally allowed on all basins besides those which use the Saffir–Simpson scale (North Atlantic/Eastern Pacific/Central Pacific), other agency subboxes, such as those for the PAGASA (Philippines), CWB (Taiwan; subbox does not exist as of now), and PMD (Pakistan; subbox does not exist as of now) should generally be used only when the storm is not recognized by the basin's RSMC.
JTWC
This subbox provides a meteorological data subbox based on the Joint Typhoon Warning Center scale, which is based on the Saffir–Simpson scale (except all tropical cyclone categories are merged into one "Typhoon" category). The |basin=
parameter controls which type of cyclone is shown.
This subbox relies on the meta-template Template:Infobox weather event/SSHWS, which in turn relies on the meta-template Template:Infobox weather event/scale.
{{Infobox weather event/JTWC | winds = 150 | gusts = 175 | pressure = 902 }} |
|
{{Infobox weather event/JTWC | winds = 150 | gusts = 175 | pressure = 902 | basin = WPac }} |
|
Script error: No such module "Infobox weather event/scalebar".
PAGASA
This subbox provides a meteorological data subbox based on the Philippine Atmospheric, Geophysical and Astronomical Services Administration scale. This subbox relies on the meta-template Template:Infobox weather event/scale.
This template supports both the old Tropical Cyclone Warning System categories (>Script error: No such module "convert". for TCWS #5) and the new (Modified) Tropical Cyclone Warning System implemented in 2022. To switch between scales, use the |scale=
parameter along with the year of the scale: 2022
(default) or 2015
.
{{Infobox weather event/PAGASA | winds = 110 | gusts = 132 | pressure = 910 | scale = 2015 }} |
|
{{Infobox weather event/PAGASA | winds = 110 | gusts = 132 | pressure = 910 }} |
|
{{Infobox weather event/PAGASA | winds = 55 | gusts = 67 | pressure = 990 }} |
|
- 2022 scale
Script error: No such module "Infobox weather event/scalebar".
- 2015 scale
Script error: No such module "Infobox weather event/scalebar".
HKO
This subbox provides a meteorological data subbox based on the Hong Kong Observatory scale. This subbox relies on the meta-template Template:Infobox weather event/scale.
{{Infobox weather event/HKO | winds = 140 | gusts = 175 | pressure = 870 }} |
|
{{Infobox weather event/HKO | winds = 55 | gusts = 67 | pressure = 990 }} |
|
Script error: No such module "Infobox weather event/scalebar".
Effects
This subbox provides a tally of weather event effects. This includes direct storm casualties, damages (in USD), affected regions, and infrastructural damages. The |casualties=
parameter can be used to combine the |fatalities=
, |injuries=
, and |missing=
parameters, should there be minimal or no casualties.
This box will show damages and losses in United States dollars by default. Adding a |year=
parameter will also indicate the year when displaying monetary values for contextualizing cost at a specific point in time.
</syntaxhighlight>
Wikitext | Output |
---|---|
<syntaxhighlight lang="text" line> | |
Overall effects | |
Casualties | 37 (22 dead, 14 injured, 1 missing) |
Fatalities | 22 |
Injuries | 14 |
Missing | 1 |
Damage | $2.4 million (2021 USD) |
Economic losses | $31 million (2021 USD) |
Areas affected | United States, Canada, Mexico, Cuba |
Power outages | 163,000 |
Houses destroyed | 2,124,000 |
The time allocated for running scripts has expired.The time allocated for running scripts has expired. |
Damages and economic losses can be set to a different currency using |currency=
(or |damage-currency=
and |losses-currency=
), and a United States dollar-equivalent conversion can be provided. This can help contextualize weather events which impact a specific area. To set the USD conversion by hand, you can use |usd-damages=
and |usd-losses=
respectively. You can also opt to do these conversions automatically, as long as you provide a year and an ISO country code using |country=
.
The |year=
parameter need not be the year that the event made impact, but rather a year relatively close to the year that it made impact, such that damages and losses can be calculated automatically.
Wikitext | Output |
---|---|
<syntaxhighlight lang="text" line>
The time allocated for running scripts has expired. </syntaxhighlight> |
The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired. |
This template closes the weather event infobox and provides additional links to other content if available.
{{Infobox weather event/Footer | season = [[{{CURRENTYEAR}} Atlantic hurricane season]] | series = the [[{{CURRENTYEAR}} Atlantic hurricane season]] | related = {{flt| * [[{{CURRENTYEAR}} Pacific hurricane season|Eastern Pacific]] * [[{{CURRENTYEAR}} Pacific typhoon season|Western Pacific]] * [[{{CURRENTYEAR}} North Indian Ocean cyclone season|North Indian Ocean]] }} | active = yes }} |
The time allocated for running scripts has expired.The time allocated for running scripts has expired. |
Example
<syntaxhighlight lang="text" line> The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired. </syntaxhighlight> |
The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired.The time allocated for running scripts has expired. |