پرش به محتوا

الگو:جعبه اطلاعات رویداد هواشناسی/هواشناسی

از ویکی‌پدیا، دانشنامهٔ آزاد
طوفان با قدرت نامعلوم
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage[ویرایش]

This is a meta-template used by all of the meteorological info subboxes for الگو:جعبه اطلاعات رویداد هواشناسی. It is used to standardize all scale-based subboxes.

By default, units are metric with the exception of winds and gusts, which are always in knots. This is the case to reflect international usage of knots in measuring wind speeds. This may be overridden by supplying a {{convert}} template as a value, or by appending the relevant unit ("mph" or "kmh") to the end of the value for automatic conversion, however, both come as an "at your own risk" feature as this reduces maintainability.

The |basin= parameter can also be used to change the units; set it to atl or epac to switch to the imperial system. 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.

The following templates use this meta-template to supply meteorological information:

ردهٔ Weather event infobox meteorology templates یافت نشد

Automatic storm categories[ویرایش]

For some sub-boxes (particularly in ), the category of a storm can be inferred from its wind speed or from other meteorological data. To allow the box to automatically calculate the category, supply an |auto-category= parameter. This parameter will be used in the event that |category= is empty, allowing editors to both let automatic calculations do the work or override the category if needed.

TemplateData[ویرایش]

Meta-template for all weather event infobox scale subboxes which contain agency-based tropical cyclone scale information and meteorological data.

پارامترهای الگو

استفاده از قالب‌بندی قطعه‌ای برای پارامترهای این الگو ارجح است.

پارامترتوضیحاتنوعوضعیت
Child display?child

Whether this is a child box or not. Use `yes`, unless you're using this box standalone.

پیش‌فرض
yes
مثال
yes
بولیاختیاری
Body stylebodystyle

Custom CSS for the box

پیش‌فرض
border-collapse: collapse
رشتهاختیاری
Storm categorycategory

The storm category. This populates the header color and name automatically.

رشتهپیشنهادشده
Basinbasin

Basin of the storm. Controls the name of the category, if the category supports basin-specific names.

مقدارهای پیشنهادی
atl epac satl wpac
رشتهاختیاری
Header textheader

Header text to show. Overrides category name if provided.

محتوااختیاری
Header styleheader-style

Controls the style of the subbox header. This header usually includes the category of the storm or the storm type, if a category is not applicable.

پیش‌فرض
font-size: 100%; background-color: #{​{Storm colour|{​{​{category|}​}​}​}​}
رشتهاختیاری
No header?no-header

Disables the header row

پیش‌فرض
no
مثال
yes
بولیاختیاری
Subheader textsubheader

Subheader text to show. Overrides interval, scale, and agency, if provided.

محتوااختیاری
Measurement intervalinterval

The measurement interval used by the agency. e.g. JMA uses 10-minute, JTWC uses 1-minute.

مثال
1
شمارهپیشنهادشده
Post-interval textpost-interval postinterval

Text to add after "N-minute sustained". A space is automatically provided.

رشتهاختیاری
Agencyagency

Agency issuing the meteorological data. If the agency uses multiple scales, or uses a scale that is used by multiple agencies, consider also supplying "scale".

مثال
[[خدمات هواشناسی ملی ایالات متحده آمریکا]]
محتواپیشنهادشده
Scalescale

Scale used to quantify the meteorological data. If the scale is used by multiple agencies, consider supplying "agency".

مثال
[[مقیاس سافیر سیمپسون]]
محتواپیشنهادشده
Maximum sustained windswinds

The maximum sustained winds of a given storm. Not to be confused with maximum wind gusts (provided with "gusts"). Supply value in knots.

مثال
124
شمارهپیشنهادشده
Maximum winds prefixwinds-prefix

Prefix for the maximum sustained winds. Use this to add approximation symbols, such as '~', '<', or '>'.

مثال
~
رشتهاختیاری
Maximum winds suffixwinds-suffix

Suffix for the maximum sustained winds. Use this to add references, footnotes, or other content.

محتوااختیاری
Maximum wind gustgusts

The maximum wind gust of a given storm. Not to be confused with maximum sustained winds (provided with "winds"). Supply value in knots.

مثال
164
شمارهپیشنهادشده
Maximum gusts prefixgusts-prefix

Prefix for the maximum wind gusts. Use this to add approximation symbols, such as '~', '<', or '>'.

مثال
~
رشتهاختیاری
Maximum gusts suffixgusts-suffix

Suffix for the maximum wind gusts. Use this to add references, footnotes, or other content.

محتوااختیاری
Beaufort scalebeaufort-scale beaufort scale

The maximum sustained winds on the Beaufort scale. Rarely used except for historical storms; consider using "winds" instead.

شمارهاختیاری
Lowest pressurepressure

Lowest pressure, usually measured near the storm's center. Supply value in hectopascals/millibars (hPa/mbar).

مثال
975
شمارهپیشنهادشده
Lowest pressure prefixpressure-prefix

Prefix for the pressure. Use this to add approximation symbols, such as '~', '<', or '>'.

مثال
~
رشتهاختیاری
Lowest pressure suffixpressure-suffix

Suffix for the lowest pressure. Use this to add references, footnotes, or other content.

محتوااختیاری
Lowest temperaturelowest-temperature lowest temperature

Lowest temperature. Supply value in Fahrenheit when "basin" is "atl" or "epac". Otherwise, supply the value in Celcius.

مثال
13
شمارهپیشنهادشده
Lowest temperature prefixtemperature-prefix

Prefix for the temperature. Use this to add approximation symbols, such as '~', '<', or '>'.

مثال
~
رشتهاختیاری
Lowest temperature suffixtemperature-suffix

Suffix for the lowest recorded temperature. Use this to add references, footnotes, or other content.

محتوااختیاری
Largest haillargest-hail largest hail

Largest recorded size of hail. Supply value in inches when "basin" is "atl" or "epac". Otherwise, supply the value in centimeters.

مثال
12
شمارهاختیاری
Largest hail suffixlargest-hail-suffix

Suffix for the largest hail recorded. Use this to add references, footnotes, or other content.

محتوااختیاری
Maximum rainfallmaximum-rain maximum rain

Maximum recorded rainfall. Supply value in inches when "basin" is "atl" or "epac". Otherwise, supply the value in centimeters.

مثال
42
شمارهاختیاری
Maximum rainfall suffixmaximum-rain-suffix

Suffix for the maximum recorded rainfall. Use this to add references, footnotes, or other content.

محتوااختیاری
Maximum snow or ice accretionmaximum-snow maximum snow

Maximum height of accumulated snow or ice accretion. Supply value in inches when "basin" is "atl" or "epac". Otherwise, supply the value in centimeters.

محتوااختیاری
Maximum snow accumulation or ice accretion suffixmaximum-snow-suffix

Suffix for the maximum recorded snow accumulation or ice accretion. Use this to add references, footnotes, or other content.

ناشناختهاختیاری
Storm auto categoryauto-category

The automatic category of the storm. This defines the category of the storm if a category parameter was not explicitly provided.

رشتهپیشنهادشده
Header suffixheader-suffix

Suffix for the header. Comes after the category name or actual header, if provided.

محتواپیشنهادشده