Template:Infobox weather event
本模板使用以下模板样式: |
此模板使用Lua语言: |
Template:Infobox weather event/doc/adoption 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 damage 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). Please keep this in mind when replacing templates like {{Infobox storm}} which did not require a footer. |
This infobox aims to replace the current weather-related infoboxes: {{Infobox tropical cyclone}}, {{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. Please do not use this infobox on flood articles since its usage is controversial. Please use {{Infobox flood}} instead.
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. Damage is 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 = 颱風-{zh:泰培; zh-hk:泰培; zh-tw:狄普; zh-cn:泰培;}-
| native_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.
Template:Infobox weather event/History/doc
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.
Template:Infobox weather event/NWS/doc
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
}}
|
|
Tropical depression | Tropical storm | Severe tropical storm | Typhoon | Very strong typhoon | Violent typhoon |
<33 kn, <61 km/h, <37 mph | 34–47 kn, 62–87 km/h, 39–54 mph | 48–63 kn, 88–116 km/h, 55–72 mph | 64–84 kn, 118–155 km/h, 73–96 mph | 85–104 kn, 157–192 km/h, 97–119 mph | >105 kn, >194 km/h, >120 mph |
Template:Infobox weather event/MF/doc
Template:Infobox weather event/IMD/doc
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.
Template:Infobox weather event/JTWC/doc
Template:Infobox weather event/PAGASA/doc
Template:Infobox weather event/HKO/doc
Template: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.
Template: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 "Template:Storm name" 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
}}
|
|
Template:Infobox weather event/Winter storm/doc
Template:Infobox weather event/Tornado outbreak/doc
Template:Infobox weather event/Tornado family/doc
Template:Infobox weather event/Tornado/doc
Template:Infobox weather event/Storm/doc
Template:Infobox weather event/Effects/doc
Template:Infobox weather event/Footer/doc
Example
[编辑]Article page storm
[编辑]{{Infobox weather event
| name = 氣旋布爾布爾
| native_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
| damage = 3537000000
| affected = [[Vietnam]], [[Laos]], [[Cambodia]], [[Thailand]], [[Myanmar]], [[Andaman and Nicobar Islands]], [[Eastern India]], [[Bangladesh]]
}}{{Infobox weather event/Footer
| season = [[2019年太平洋颱風季]]<br>和 [[2019年北印度洋氣旋季]]
}}
|
|
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/BMKG
- Infobox weather event/BoM
- Infobox weather event/Effects
- Infobox weather event/Extratropical
- Infobox weather event/FMS
- Infobox weather event/Footer
- Infobox weather event/History
- Infobox weather event/IMD
- Infobox weather event/JMA
- Infobox weather event/JMA/doc
- Infobox weather event/JTWC
- Infobox weather event/MF
- Infobox weather event/MetService
- Infobox weather event/NWS
- Infobox weather event/PNGNWS
- Infobox weather event/SSHWS
- Infobox weather event/SSHWS/doc
- Infobox weather event/Storm
- Infobox weather event/doc
- Infobox weather event/meteorology
- Infobox weather event/scale
- Infobox weather event/style.css
- 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. | 字符串 | 可选 |
Child display? | child | Whether this is a child box or not. Use `yes`, unless you're using this box standalone.
| 布尔 | 可选 |
Body style | bodystyle | Custom CSS for the box | 字符串 | 可选 |
Image | image | Image of the event. If this is a tropical cyclone, consult the WikiProject Tropical cyclones style guide for proper image selection. | 文件 | 推荐 |
Image width | width image-width image-size | Width of the image. When possible, use 'image-upright' instead for accessibility support. | 字符串 | 可选 |
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. | 数字 | 可选 |
Alternate text | alt | Alternate text for the image. | 字符串 | 推荐 |
Caption | caption | Caption for the image. | 内容 | 推荐 |
Track map | track | Track map of the event. This will be overridden by the forecast map, if one was provided. | 文件 | 推荐 |
Track map size | track-width track-size | Width of the track map. When possible, use 'track-upright' instead for accessibility support. | 字符串 | 可选 |
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. | 数字 | 可选 |
Track map alternate text | track-alt | Alternate text for the track map. | 字符串 | 可选 |
Track map caption | track-caption | Caption for the track map. | 内容 | 可选 |
Forecast map | forecast | Forecast map of the event. This will override the track map, if one was provided. | 文件 | 推荐 |
Forecast map size | forecast-width forecast-size | Width of the forecast map. When possible, use 'forecast-upright' instead for accessibility support. | 字符串 | 可选 |
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. | 数字 | 可选 |
Forecast map alternate text | forecast-alt | Alternate text for the forecast map. | 字符串 | 可选 |
Forecast map caption | forecast-caption | Caption for the forecast map. | 内容 | 可选 |
Location | location place | Location where the event occurred. Wikilink, if applicable. | 内容 | 可选 |
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 {{coord}}. | 内容 | 可选 |
Cause | cause | Cause of the event. | 内容 | 可选 |
No history? | no-history | Disables the meteorological history for this infobox. | 布尔 | 可选 |
Name | as | Name of the event during the first stage of its existence. | 内容 | 推荐 |
Name italics? | name-italics | Set to "off" to disable name italics.
| 字符串 | 可选 |
Duration | duration | The event's duration of existence. | 内容 | 可选 |
Date | date | The day that the event occurred. Used for single-day events, such as floods and single tornadoes. When possible, use {{start date}}. | 内容 | 推荐 |
Formed | formed | The day that the storm formed. When possible, use {{start date}}. | 内容 | 推荐 |
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}}. | 内容 | 推荐 |
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}}. | 内容 | 推荐 |
Exited land | exited exited-land | The day that the storm exited land. | 内容 | 可选 |
Subtropical | subtropical | The day that the tropical cyclone became subtropical. For the transition of extratropical cyclones to tropical cyclones, see "formed". | 日期 | 推荐 |
Remnant low | remnant low remnant low remnant-low | The day on which the storm transitioned into a remnant low. | 内容 | 可选 |
Post-tropical | post-tropical | The day that the tropical cyclone became post-tropical. | 内容 | 可选 |
Extratropical | extratropical | The day that the tropical cyclone became extratropical. | 内容 | 可选 |
Extratropical label | extratropical-label | The label for the 'extratropical' parameter, if one should be used. | 内容 | 可选 |
Dissipated | dissipated | The day that the storm dissipated. When possible, use {{end date}}. | 内容 | 推荐 |
Content | 1 | Content of the box. May be child boxes. This will enable the footer, so more subboxes cannot be added afterwards. | 内容 | 可选 |
Footer? | footer | Set to 'true' to include a footer. This will prevent further subboxes from being added. | 布尔 | 可选 |