Template:Infobox weather event/doc

From The Global Wiki
Jump to navigation Jump to search

Script error: No such module "Uses TemplateStyles".

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. -->
}}
Typhoon Tip
File:TIP 1979-10-12-2333.jpg
Typhoon Tip at its record peak intensity on October 12
Meteorological history
FormedOctober 4, 1979
ExtratropicalOctober 19, 1979
DissipatedOctober 24, 1979

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>
October 2021 nor'easter
File:Late October 2021 nor'easter 2021-10-27 1743Z.jpg
The nor'easter near its peak intensity off the coast of the Northeastern United States, on October 27
Meteorological history
as the October 2021 nor'easter
FormedOctober 23, 2021
Meteorological history
as Tropical Storm Wanda
FormedOctober 31, 2021
Post-tropicalNovember 7, 2021
DissipatedNovember 8, 2021

</syntaxhighlight>

October 2021 nor'easter
File:Late October 2021 nor'easter 2021-10-27 1743Z.jpg
The nor'easter near its peak intensity off the coast of the Northeastern United States, on October 27
Meteorological history
as the October 2021 nor'easter
FormedOctober 23, 2021
Meteorological history
as Tropical Storm Wanda
FormedOctober 31, 2021
Post-tropicalNovember 7, 2021
DissipatedNovember 8, 2021


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
}}
Script error: No such module "Storm categories".
1-minute sustained (SSHWS/NWS)
Highest winds175 mph (280 km/h)
Highest gust200 mph (325 km/h)
Lowest pressure902 mbar (hPa); Script error: No such module "convert". inHg
{{Infobox weather event/NWS
| winds = 45
| gusts = 55
| pressure = 989
}}
Script error: No such module "Storm categories".
1-minute sustained (SSHWS/NWS)
Highest winds50 mph (85 km/h)
Highest gust65 mph (100 km/h)
Lowest pressure989 mbar (hPa); Script error: No such module "convert". inHg

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
}}
Script error: No such module "Storm categories".
10-minute sustained (JMA)
Highest winds260 km/h (160 mph)
Highest gust325 km/h (200 mph)
Lowest pressure870 hPa (mbar); Script error: No such module "convert". inHg
{{Infobox weather event/JMA
| winds = 55
| gusts = 67
| pressure = 990
}}
Script error: No such module "Storm categories".
10-minute sustained (JMA)
Highest winds100 km/h (65 mph)
Highest gust125 km/h (75 mph)
Lowest pressure990 hPa (mbar); Script error: No such module "convert". inHg

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
}}
Script error: No such module "Storm categories".
10-minute sustained (MFR)
Highest winds260 km/h (160 mph)
Highest gust300 km/h (185 mph)
Lowest pressure870 hPa (mbar); Script error: No such module "convert". inHg
{{Infobox weather event/MF
| winds = 87
| gusts = 100
| pressure = 974
}}
Script error: No such module "Storm categories".
10-minute sustained (MF)
Highest winds160 km/h (100 mph)
Highest gust185 km/h (115 mph)
Lowest pressure974 hPa (mbar); Script error: No such module "convert". inHg

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
}}
Script error: No such module "Storm categories".
3-minute sustained (IMD)
Highest winds260 km/h (160 mph)
Highest gust300 km/h (185 mph)
Lowest pressure870 hPa (mbar); Script error: No such module "convert". inHg
{{Infobox weather event/IMD
| winds = 56
| gusts = 88
| pressure = 984
}}
Script error: No such module "Storm categories".
3-minute sustained (IMD)
Highest winds105 km/h (65 mph)
Highest gust165 km/h (100 mph)
Lowest pressure984 hPa (mbar); Script error: No such module "convert". inHg

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:

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
}}
Script error: No such module "Storm categories".
1-minute sustained (SSHWS/JTWC)
Highest winds280 km/h (175 mph)
Highest gust325 km/h (200 mph)
Lowest pressure902 hPa (mbar); Script error: No such module "convert". inHg
{{Infobox weather event/JTWC
| winds = 150
| gusts = 175
| pressure = 902
| basin = WPac
}}
Script error: No such module "Storm categories".
1-minute sustained (SSHWS/JTWC)
Highest winds85 km/h (50 mph)
Highest gust125 km/h (80 mph)
Lowest pressure982 hPa (mbar); Script error: No such module "convert". inHg

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
}}
Script error: No such module "Storm categories".
10-minute sustained (PAGASA)
Highest winds205 km/h (125 mph)
Highest gust245 km/h (150 mph)
Lowest pressure910 hPa (mbar); Script error: No such module "convert". inHg
{{Infobox weather event/PAGASA
| winds = 110
| gusts = 132
| pressure = 910
}}
Script error: No such module "Storm categories".
10-minute sustained (PAGASA)
Highest winds205 km/h (125 mph)
Highest gust245 km/h (150 mph)
Lowest pressure910 hPa (mbar); Script error: No such module "convert". inHg
{{Infobox weather event/PAGASA
| winds = 55
| gusts = 67
| pressure = 990
}}
Script error: No such module "Storm categories".
10-minute sustained (PAGASA)
Highest winds100 km/h (65 mph)
Highest gust125 km/h (75 mph)
Lowest pressure990 hPa (mbar); Script error: No such module "convert". inHg
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
}}
Script error: No such module "Storm categories".
10-minute sustained (HKO)
Highest winds260 km/h (160 mph)
Highest gust325 km/h (200 mph)
Lowest pressure870 hPa (mbar); Script error: No such module "convert". inHg
{{Infobox weather event/HKO
| winds = 55
| gusts = 67
| pressure = 990
}}
Script error: No such module "Storm categories".
10-minute sustained (HKO)
Highest winds100 km/h (65 mph)
Highest gust125 km/h (75 mph)
Lowest pressure990 hPa (mbar); Script error: No such module "convert". inHg

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
Casualties37 (22 dead, 14 injured, 1 missing)
Fatalities22
Injuries14
Missing1
Damage$2.4 million (2021 USD)
Economic losses$31 million (2021 USD)
Areas affectedUnited States, Canada, Mexico, Cuba
Power outages163,000
Houses destroyed2,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.


Footer

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.

Typhoon Goni (Rolly)

</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.

Typhoon Goni (Rolly)