الگو:جعبه اطلاعات رویداد هواشناسی/توضیحات
این زیرصفحهٔ مستندات الگو:جعبه اطلاعات رویداد هواشناسی است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
این الگو در تعداد زیادی صفحه صفحه بهکار رفته است و تغییر دادن آن میتواند تأثیرات گستردهای داشته باشد. لطفاً تغییرات را در زیرصفحههای /تمرین یا /آزمایشی الگو، یا در زیرصفحهٔ کاربری خودتان بیازمایید. توصیه میشود که ابتدا در خصوص تغییرات مورد نظر در صفحهٔ بحث گفتگو کرده و سپس آنها را پیادهسازی کنید. |
این الگو از الگوسبک استفاده میکند: |
این الگو از لوآ استفاده میکند: |
الگو: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 damages and deaths, are provided through subboxes.
All usages must be followed by الگو:جعبه اطلاعات رویداد هواشناسی/پایین 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. 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.
الگو: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.
This subbox provides a meteorological data subbox based on the خدمات هواشناسی ملی ایالات متحده آمریکا scale, which uses the مقیاس سافیر سیمپسون.
This subbox relies on the meta-template الگو:جعبه اطلاعات رویداد هواشناسی/SSHWS, which in turn relies on the meta-template الگو:جعبه اطلاعات رویداد هواشناسی/مقیاس.
{{Infobox weather event/NWS
| winds = 150
| gusts = 175
| pressure = 902
}}
|
|
{{Infobox weather event/NWS
| winds = 45
| gusts = 55
| pressure = 989
}}
|
|
وافشار حارهای | طوفان حارهای | توفند رده ۱ | توفند رده ۲ | توفند رده ۳ | توفند رده ۴ | توفند رده ۵ |
<31 kn, <57 km/h, <35 mph | 32–63 kn, 59–116 km/h, 36–72 mph | 64–82 kn, 118–151 km/h, 73–94 mph | 83–95 kn, 153–175 km/h, 95–109 mph | 96–112 kn, 177–207 km/h, 110–128 mph | 113–136 kn, 209–251 km/h, 130–156 mph | >137 kn, >253 km/h, >157 mph |
This subbox provides a meteorological data subbox based on the مرکز هواشناسی ژاپن scale. This subbox relies on the meta-template الگو:جعبه اطلاعات رویداد هواشناسی/مقیاس.
{{Infobox weather event/JMA
| winds = 140
| gusts = 175
| pressure = 870
}}
|
|
{{Infobox weather event/JMA
| winds = 55
| gusts = 67
| pressure = 990
}}
|
|
وافشار حارهای | طوفان حارهای | طوفان حارهای شدید | تیفون | تیفون بسیار شدید | تیفون خشن |
<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 |
This subbox provides a meteorological data subbox based on the Météo-France scale. This subbox relies on the meta-template الگو:جعبه اطلاعات رویداد هواشناسی/مقیاس.
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
}}
|
|
منطقه آبوهوای آشفته | آشفتگی حارهای | وافشار حارهای | طوفان حارهای متعادل | طوفان حارهای شدید | چرخند حارهای | چرخند حارهای قوی | چرخند حارهای خیلی قوی |
<27 kn, <50 km/h, <31 mph | 28–29 kn, 51–53 km/h, 32–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–115 kn, 166–212 km/h, 103–132 mph | >116 kn, >214 km/h, >133 mph |
الگو: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 – اداره هواشناسی استرالیا
- 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 – متسرویس
خطای لوآ: expandTemplate: template "Infobox weather event/Aus" does not exist.
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 الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی sub-box. This will remove agency and measurement interval from the box header.
By default, the category "طوفان با قدرت نامعلوم" will appear as the category. This can be overridden by setting |category=
to پودمان:Storm categories.
{{Infobox weather event/meteorology
| category = TY
| pressure = 902
}}
|
|
This sub-box generates a meteorological information box specifically targeted towards winter storms. When available, this box will change the header to reflect a winter storm category (such as a category provided by the Regional Snowfall Index). Otherwise, it will show a generic "Winter storm" header.
The winter storm category may be supplied using |category=
. In the event that this storm has an RSI value, the |RSI=
parameter can instead be used, and will automatically adjust the box to use imperial units instead of metric. The |basin=
parameter can also be used to change this behavior; 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|100|in|cm|abbr=on}}
|maximum-rain=
or |maximum-snow=
), but this makes later maintenance difficult, and is not advised.
This subbox relies on the meta-template الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی.
{{Infobox weather event/Winter storm
| winds = 112
| lowest-temperature = -45
| maximum-snow = 17
}}
|
|
{{Infobox weather event/Winter storm
| RSI = 6.78
| winds = 87
| lowest-temperature = -23
| maximum-rain = 56
| maximum-snow = 12
}}
|
|
This sub-box generates a meteorological information box specifically targeted towards tornado outbreaks. The header color changes depending on the highest tornado rating provided; the name stays the same. Use |tornadoes=
to indicate the number of tornadoes in this outbreak.
This template supports two scales: the Fujita scale (priority) and the TORRO scale. These can be provided using the |fujita-scale=
and |torro-scale=
parameters, respectively. The version of the Fujita scale changes depending on the value. For example, supplying |fujita-scale=EF5
will make the template automatically use the Enhanced Fujita scale. Likewise, supplying |fujita-scale=IF5
will make the template automatically use the International Fujita scale. The color of the header may be overridden with the |category=
parameter; supply a الگو:Storm colour to change it.
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 الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی.
{{Infobox weather event/Tornado outbreak
| basin = atl
| tornadoes = 42
| fujita-scale = EF5
| winds = 180
}}
|
|
{{Infobox weather event/Tornado outbreak
| basin = atl
| tornadoes = 230
| duration = 4 hours
| fujita-scale = EF3
| torro-scale = T5
| winds = 120
}}
|
|
This sub-box generates a meteorological information box specifically targeted towards tornado families. The header color changes depending on the highest tornado rating provided; the name stays the same. Use |tornadoes=
to indicate the number of tornadoes in this tornado family.
This template supports two scales: the Fujita scale (priority) and the TORRO scale. These can be provided using the |fujita-scale=
and |torro-scale=
parameters, respectively. The version of the Fujita scale changes depending on the value. For example, supplying |fujita-scale=EF5
will make the template automatically use the Enhanced Fujita scale. Likewise, supplying |fujita-scale=IF5
will make the template automatically use the International Fujita scale. The color of the header may be overridden with the |category=
parameter; supply a الگو:Storm colour to change it.
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 الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی.
{{Infobox weather event/Tornado family
| basin = atl
| tornadoes = 15
| fujita-scale = EF2
| winds = 127
}}
|
|
{{Infobox weather event/Tornado family
| basin = atl
| tornadoes = 11
| duration = 2 hours, 48 minutes
| fujita-scale = EF4
| torro-scale = T6
| winds = 175
}}
|
|
This sub-box generates a meteorological information box specifically targeted towards single tornadoes. The header changes depending on the highest tornado rating provided.
This template supports two scales: the Fujita scale (priority) and the TORRO scale. These can be provided using the |fujita-scale=
and |torro-scale=
parameters, respectively. The version of the Fujita scale changes depending on the value. For example, supplying |fujita-scale=EF5
will make the template automatically use the Enhanced Fujita scale. Likewise, supplying |fujita-scale=IF5
will make the template automatically use the International Fujita scale. The header category may be overridden with the |category=
parameter; supply a الگو:Storm colour to change it.
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 الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی.
{{Infobox weather event/Tornado
| basin = atl
| fujita-scale = EF5
| winds = 180
}}
|
|
{{Infobox weather event/Tornado
| basin = atl
| fujita-scale = EF3
| torro-scale = T5
| winds = 120
}}
|
|
{{Infobox weather event/Tornado
| basin = atl
| fujita-scale = IF2-
| winds = 105
}}
|
|
{{Infobox weather event/Tornado
| basin = atl
| torro-scale = T10
| winds = 250
}}
|
|
This sub-box generates a meteorological information box specifically targeted towards any general storm. This is the general-use version of الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی, and is the most customizable.
|category=
can be set to any پودمان:Storm categories. 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 الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی.
{{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 = [[سه خوک فسقلی]]
| winds = 877
| gusts = 1042
}}
|
|
الگو:Infobox weather event/Effects/doc
الگو:Infobox weather event/Footer/doc
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 [[بنگال غربی]] 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 = [[ویتنام]], [[لائوس]], [[کامبوج]], [[تایلند]], [[میانمار]], [[جزایر آندامان و نیکوبار]], [[شرق هند]], [[بنگلادش]]
}}{{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]]
}}
|
|
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).
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. | بولی | اختیاری |