ਫਰਮਾ:Infobox weather event/doc
ਇਹ ਇੱਕ ਫਰਮਾ:Infobox weather event ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template uses TemplateStyles: |
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
53.7% Infobox weather event adoption (1606/2989) as of 00:42, 24 July 2023 (UTC)
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. All usages must be followed by Template:Infobox weather event/Footer to close the infobox (exceptions apply; see below).
This infobox aims to replace the current weather-related infoboxes: {{Infobox tropical cyclone}}, {{Infobox flood}}, {{Infobox storm}}, and {{Infobox tropical cyclone current}}. See Template:Infobox weather event/Feature parity for a comparison of parameters in other infoboxes with this infobox.
Usage
[ਸੋਧੋ]Winds and gusts units are always in knots. Pressure is always in millibars/hectopascals. These are non-configurable values in order to standardize and maintain consistency between all boxes. Damages are always in United States dollars, unless explicitly set with |currency=
.
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. -->
}}
|
|
Header
[ਸੋਧੋ]Up to two images can be displayed by the box at a given time. The image displayed may be the storm's satellite image (using |image=
), its track map (using |track=
), its forecast map (using |forecast=
), or a combination of the two. The track map and forecast map may not be shown together. Caption, alternative text, and sizing can be set relative to each of the images above
Main parameter | Caption | Alternative text | Upright (scaling) | Width |
---|---|---|---|---|
|image= |
|caption= |
|alt= |
|image-upright= |
|image-width=
|
|track= |
|track-caption= |
|track-alt= |
|track-upright= |
|track-width=
|
|forecast= |
|forecast-caption= |
|forecast-alt= |
|forecast-upright= |
|forecast-width=
|
All parameters of {{Infobox weather event/History}} is usable in the header box. You can add in another meteorological history section for long-lasting storms which experienced different stages.
If the event is a single event and does not need meteorological info, effects, or a footer, |footer=yes
can be set to immediately close the template, skipping the need for a footer.
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 | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox weather event
| name = October 2021 nor'easter
| image = File:Late_October_2021_nor'easter_2021-10-27_1743Z.jpg
| caption = The nor'easter near its peak intensity off the coast of the Northeastern United States, on October 27
| as = the October 2021 nor'easter
| formed = October 23, 2021
}}{{Infobox weather event/History
| as = Tropical Storm Wanda
| formed = October 31, 2021
| post-tropical = November 7, 2021
| dissipated = November 8, 2021
}}{{Infobox weather event/Footer}}
|
|
See the TemplateData for all available parameters.
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.
ਫਰਮਾ:Infobox weather event/NWS/doc
ਫਰਮਾ:Infobox weather event/JMA/doc
ਫਰਮਾ:Infobox weather event/MF/doc
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
}}
|
|
Tropical depression | Deep depression | Cyclonic storm | Severe cyclonic storm | Very severe cyclonic storm | Extremely severe cyclonic storm | Super cyclonic storm |
<29 kn, <53 km/h, <33 mph | 30–33 kn, 55–61 km/h, 34–37 mph | 34–47 kn, 62–87 km/h, 39–54 mph | 48–63 kn, 88–116 km/h, 55–72 mph | 64–89 kn, 118–164 km/h, 73–102 mph | 90–119 kn, 166–220 km/h, 103–136 mph | >120 kn, >222 km/h, >138 mph |
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
Tropical low | Category 1 tropical cyclone | Category 2 tropical cyclone | Category 3 severe tropical cyclone | Category 4 severe tropical cyclone | Category 5 severe tropical cyclone |
<33 kn, <61 km/h, <37 mph | 34–47 kn, 62–87 km/h, 39–54 mph | 48–64 kn, 88–118 km/h, 55–73 mph | 65–85 kn, 120–157 km/h, 74–97 mph | 86–106 kn, 159–196 km/h, 98–122 mph | >107 kn, >198 km/h, >123 mph |
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.
ਫਰਮਾ:Infobox weather event/JTWC/doc
ਫਰਮਾ:Infobox weather event/PAGASA/doc
ਫਰਮਾ:Infobox weather event/HKO/doc
ਫਰਮਾ:Infobox weather event/CMA/doc
Historical scales
[ਸੋਧੋ]These are scales that were used at some point in the past but are no longer in use.
ਫਰਮਾ:Infobox weather event/NPMOC/doc
No scale
[ਸੋਧੋ]To display meteorological information in cases where an agency or scale is unavailable (such as in the case of historical storms, e.g. the 1881 Haiphong typhoon), you can directly use the /meteorology sub-box. This will remove agency and measurement interval from the box header.
By default, the category "Unknown-strength storm" will appear as the category. This can be overridden by setting |category=
to any available storm category ID.
{{Infobox weather event/meteorology
| category = TY
| pressure = 902
}}
|
|
ਫਰਮਾ:Infobox weather event/Winter storm/doc
ਫਰਮਾ:Infobox weather event/Tornado outbreak/doc
ਫਰਮਾ:Infobox weather event/Tornado family/doc
ਫਰਮਾ:Infobox weather event/Tornado/doc
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
}}
|
|
For current storms, a /Current box is used to show current storm information, such as position and location. On season pages, the /History box is usually replaced with the /Current box.
ਫਰਮਾ:Infobox weather event/Current/doc
The /Current box is used in conjunction with the live scale template. Every supported scale (listed above) contains a |live=
parameter that can be set to yes
, which will change the layout of the header to show an icon and a "Currently-active" prefix. In addition, you can use the /live meta-template to automatically set a scale box as currently-active (preferred), as seen below.
{{Infobox weather event/NWS
| winds = 150
| gusts = 175
| pressure = 902
}}
|
ਫਰਮਾ:Infobox weather event/NWS |
{{Infobox weather event/live|JMA
| winds = 76
| gusts = 98
| pressure = 976
}}
|
ਫਰਮਾ:Infobox weather event/live |
This also works for winter storms, and other boxes that use categories.
{{Infobox weather event/live|Winter storm
| RSI = 8.56
| winds = 76
| maximum-snow = 12
}}
|
ਫਰਮਾ:Infobox weather event/live |
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.
References may be added with |refs=
or |references=
. However, as much as possible, avoid placing references directly into the box and instead use article content to place references. You may also use |IBTrACS=
to link to the storm's International Best Track Archive for Climate Stewardship (IBTrACS) entry. Using both will make both appear at the bottom row; using only references will make the row height shrink to cut down on unnecessary whitespace.
Wikitext | Output | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox weather event/Effects
| year = 2021 <!-- Used for damages. -->
| casualties = 37 (22 dead, 14 injured, 1 missing)
| fatalities = 22
| injuries = 14
| missing = 1
| damage = 2400000
| losses = 31000000
| areas = [[United States]], [[Canada]], [[Mexico]], [[Cuba]]
| outages = 163,000
| houses-destroyed = 2,124,000
| ibtracs = XXXXX
| refs = {{fake ref}}{{fake ref|2}}
}}
|
|
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=
. Note that damages and losses are not multiplied. If the damages are 3 billion United States dollars, write |damages=3000000000
, not |damages=3000
.
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.
When additional context is required, one may use |damages-suffix=
to insert footnotes. |damages-prefix=
can be used to insert symbols prior to the figure. losses
also has suffix and prefix parameters, |losses-suffix=
and |losses-prefix=
, respectively.
Wikitext | Output | ||||||||
---|---|---|---|---|---|---|---|---|---|
{{Infobox weather event/Effects
| year = 2021 <!-- Used for damages. -->
| currency = PHP <!-- Will control both damages and economic losses -->
| country = PHL <!-- Controls currency conversions -->
| damage = 2400000
| damage-country = PHL
| losses = 31000000 <!-- Will fall back to currency in `|damage=currency=` by default -->
| refs = {{fake ref}}{{fake ref|2}}
}}
|
|
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
}}
|
|
Example
[ਸੋਧੋ]Article page storm
[ਸੋਧੋ]{{Infobox weather event
| name = Cyclone Matmo–Bulbul
| image = Bulbul 2019-11-09 0742Z.jpg
| caption = Cyclone Bulbul near peak intensity, just before landfall in [[West Bengal]] on November 9
| as = Severe Tropical Storm Matmo
| formed = October 28, 2019
| dissipated = October 31, 2019
}}{{Infobox weather event/JMA
| winds = 50
| pressure = 992
}}{{Infobox weather event/History
| as = Very Severe Cyclonic Storm Bulbul
| formed = November 5, 2019
| dissipated = November 11, 2019
}}{{Infobox weather event/IMD
| winds = 75
| pressure = 976
}}{{Infobox weather event/JTWC
| winds = 105
| pressure = 955
| pressure-prefix = ~
}}{{Infobox weather event/Effects
| year = 2019
| deaths = 43 total
| damages = 3537000000
| affected = [[Vietnam]], [[Laos]], [[Cambodia]], [[Thailand]], [[Myanmar]], [[Andaman and Nicobar Islands]], [[Eastern India]], [[Bangladesh]]
}}{{Infobox weather event/Footer
| season = [[2019 Pacific typhoon season|2019 Pacific typhoon]]<br>and [[2019 North Indian Ocean cyclone season|North Indian Ocean cyclone seasons]]
}}
|
ਫਰਮਾ:Infobox weather event/JMAਫਰਮਾ:Infobox weather event/JTWC
|
Article page active storm
[ਸੋਧੋ]{{Infobox weather event
| name = Typhoon Guchol (Chedeng)
| image = 2023 JTWC 03W IR satellite imagery.jpg
| forecast = 2023 JTWC 03W forecast map.wp0323.gif
| formed = June 5, 2023
}}{{Infobox weather event/Current
| as-of = 18:00 [[Coordinated Universal Time|UTC]], June 8
| lat = 16.9
| lon = 130.3
| distance-from = {{convert|560|nmi|round=5}} ENE of [[Manila]], [[Philippines]]
| movement = [[Points of the compass|NNW]] at {{cvt|6|kn}} <!--slowly Almost stationary-->
}}{{Infobox weather event/live|JMA
| winds = 70
| gusts = 100
| pressure = 975
}}{{Infobox weather event/live|JTWC
| winds = 75
| gusts = 90
| pressure = 973
}}{{Infobox weather event/Footer
| season = [[2023 Pacific typhoon season]]
}}
|
ਫਰਮਾ:Infobox weather event/Currentਫਰਮਾ:Infobox weather event/liveਫਰਮਾ:Infobox weather event/live
|
Season page active storm
[ਸੋਧੋ]{{Infobox weather event
| name = Typhoon Guchol (Chedeng)
| image = 2023 JTWC 03W IR satellite imagery.jpg
| forecast = 2023 JTWC 03W forecast map.wp0323.gif
}}{{Infobox weather event/Current
| as-of = 18:00 [[Coordinated Universal Time|UTC]], June 8
| lat = 16.9
| lon = 130.3
| distance-from = {{convert|560|nmi|round=5}} ENE of [[Manila]], [[Philippines]]
| movement = [[Points of the compass|NNW]] at {{cvt|6|kn}} <!--slowly Almost stationary-->
}}{{Infobox weather event/live|JMA
| winds = 70
| gusts = 100
| pressure = 975
}}{{Infobox weather event/live|JTWC
| winds = 75
| gusts = 90
| pressure = 973
}}{{Infobox weather event/Footer}}
|
ਫਰਮਾ:Infobox weather event/Currentਫਰਮਾ:Infobox weather event/liveਫਰਮਾ:Infobox weather event/live
|
Season page active storm (compact)
[ਸੋਧੋ]{{Infobox weather event
| name = Typhoon Guchol (Chedeng)
| image = 2023 JTWC 03W IR satellite imagery.jpg
| forecast = 2023 JTWC 03W forecast map.wp0323.gif
}}{{Infobox weather event/Current
| as-of = 18:00 [[Coordinated Universal Time|UTC]], June 8
| lat = 16.9
| lon = 130.3
| distance-from = {{convert|560|nmi|round=5}} ENE of [[Manila]], [[Philippines]]
| movement = [[Points of the compass|NNW]] at {{cvt|6|kn}} <!--slowly Almost stationary-->
}}{{Infobox weather event/live|JMA
| winds = 70
| gusts = 100
| pressure = 975
}}{{Infobox weather event/live|JTWC|winds=75}}{{Infobox weather event/Footer}}
|
ਫਰਮਾ:Infobox weather event/Currentਫਰਮਾ:Infobox weather event/liveਫਰਮਾ:Infobox weather event/live
|
Subpages
[ਸੋਧੋ]Sub-templates which start with a lowercase character are meta-templates, whereas templates which start with capital characters are expected to be used directly. Note that this list also includes miscellaneous template files (such as styles.css).
- Infobox weather event/Aus
- Infobox weather event/Effects
- Infobox weather event/Effects/doc
- Infobox weather event/Footer
- Infobox weather event/Footer/doc
- Infobox weather event/History
- Infobox weather event/History/doc
- Infobox weather event/IMD
- Infobox weather event/IMD/doc
- Infobox weather event/Storm
- Infobox weather event/Storm/doc
- Infobox weather event/doc
- Infobox weather event/doc/FAQ
- Infobox weather event/doc/Feature parity
- Infobox weather event/doc/adoption
- Infobox weather event/meteorology
- Infobox weather event/meteorology/TemplateData
- Infobox weather event/meteorology/doc
- Infobox weather event/scale
- Infobox weather event/scale/TemplateData
- Infobox weather event/scale/doc
- Infobox weather event/scale/preload
- Infobox weather event/styles.css
Tracking categories
[ਸੋਧੋ]TemplateData
[ਸੋਧੋ]Header for the infobox for weather events, storms, tropical cyclones, nor'easters, tornadoes, tornado outbreaks, winter storms, and any other meteorological event.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Name | name | Name of the event. The article title is used by default. | String | optional |
Child display? | child | Whether this is a child box or not. Use `yes`, unless you're using this box standalone.
| Boolean | optional |
Body style | bodystyle | Custom CSS for the box | String | optional |
Image | image | Image of the event. If this is a tropical cyclone, consult the WikiProject Tropical cyclones style guide for proper image selection. | File | suggested |
Image width | width image-width image-size | Width of the image. When possible, use 'image-upright' instead for accessibility support. | String | optional |
Image scale/upright | image-upright | The sizing scale of the image. '1.0' is the user's selected default image size. '2.0' is twice the user's selected default image size. | Number | optional |
Alternate text | alt | Alternate text for the image. | String | suggested |
Caption | caption | Caption for the image. | Content | suggested |
Track map | track | Track map of the event. This will be overridden by the forecast map, if one was provided. | File | suggested |
Track map size | track-width track-size | Width of the track map. When possible, use 'track-upright' instead for accessibility support. | String | optional |
Track map scale/upright | track-upright | The sizing scale of the track map. '1.0' is the user's selected default image size. '2.0' is twice the user's selected default image size. | Number | optional |
Track map alternate text | track-alt | Alternate text for the track map. | String | optional |
Track map caption | track-caption | Caption for the track map. | Content | optional |
Forecast map | forecast | Forecast map of the event. This will override the track map, if one was provided. | File | suggested |
Forecast map size | forecast-width forecast-size | Width of the forecast map. When possible, use 'forecast-upright' instead for accessibility support. | String | optional |
Forecast map scale/upright | forecast-upright | The sizing scale of the forecast map. '1.0' is the user's selected default image size. '2.0' is twice the user's selected default image size. | Number | optional |
Forecast map alternate text | forecast-alt | Alternate text for the forecast map. | String | optional |
Forecast map caption | forecast-caption | Caption for the forecast map. | Content | optional |
Location | location place | Location where the event occurred. Wikilink, if applicable. | Content | optional |
Coordinates | coordinates | Coordinates of the event. Use 'lat' and 'lon' instead, when applicable. Do not confuse with current coordinates; those must be in a /Current subbox. Supply this value using {{coords}}. | Content | optional |
Cause | cause | Cause of the event. | Content | optional |
No history? | no-history | Disables the meteorological history for this infobox. | Boolean | optional |
Name | as | Name of the event during the first stage of its existence. | Content | suggested |
Name italics? | name-italics | Set to "off" to disable name italics.
| String | optional |
Duration | duration | The event's duration of existence. | Content | optional |
Date | date | The day that the event occurred. Used for single-day events, such as floods and single tornadoes. When possible, use {{start date}}. | Content | suggested |
Formed | formed | The day that the storm formed. When possible, use {{start date}}. | Content | suggested |
Renamed | renamed | The day that the storm was renamed. Use this for storms where the responsible agency is the same (Atlantic–Pacific crossover hurricanes). When possible, use {{start date}}. | Content | suggested |
Crossed over | crossed-over crossed | The day that the storm crossed over to another basin (and thus, received a new name). For storms where the responsible agency is the same (Atlantic–Pacific crossover hurricanes), use "Renamed" instead. When possible, use {{start date}}. | Content | suggested |
Exited land | exited exited-land | The day that the storm exited land. | Content | optional |
Remnant low | remnant low remnant low | The day on which the storm transitioned into a remnant low. | Content | optional |
Post-tropical | post-tropical | The day that the tropical cyclone became post-tropical. | Content | optional |
Extratropical | extratropical | The day that the tropical cyclone became extratropical. | Content | optional |
Extratropical label | extratropical-label | The label for the 'extratropical' parameter, if one should be used. | Content | optional |
Extratropical | dissipated | The day that the storm dissipated. When possible, use {{end date}}. | Content | suggested |
Content | 1 | Content of the box. May be child boxes. This will enable the footer, so more subboxes cannot be added afterwards. | Content | optional |
Footer? | footer | Set to 'true' to include a footer. This will prevent further subboxes from being added. | Boolean | optional |