模板:Infobox weather event/meteorology
Bók-mìng dēng-ngék hŭng-bô̤ |
---|
Usage
[Gāi nguòng-mā]This is a meta-template used by all of the meteorological info subboxes for Template:Infobox weather event. 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 模板:T 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:
Automatic storm categories
[Gāi nguòng-mā]For some sub-boxes (particularly in scale boxes), 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
[Gāi nguòng-mā]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.
| 布林值 | 非必填 |
Body style | bodystyle | Custom CSS for the box
| 字串 | 非必填 |
Storm category | category | The storm category. This populates the header color and name automatically. | 字串 | 建議 |
Basin | basin | Basin of the storm. Controls the name of the category, if the category supports basin-specific names.
| 字串 | 非必填 |
Header text | header | Header text to show. Overrides category name if provided. | 內容 | 非必填 |
Header style | header-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.
| 字串 | 非必填 |
No header? | no-header | Disables the header row
| 布林值 | 非必填 |
Subheader text | subheader | Subheader text to show. Overrides interval, scale, and agency, if provided. | 內容 | 非必填 |
Measurement interval | interval | The measurement interval used by the agency. e.g. JMA uses 10-minute, JTWC uses 1-minute.
| 數值 | 建議 |
Post-interval text | post-interval postinterval | Text to add after "N-minute sustained". A space is automatically provided. | 字串 | 非必填 |
Agency | agency | 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".
| 內容 | 建議 |
Scale | scale | Scale used to quantify the meteorological data. If the scale is used by multiple agencies, consider supplying "agency".
| 內容 | 建議 |
Maximum sustained winds | winds | The maximum sustained winds of a given storm. Not to be confused with maximum wind gusts (provided with "gusts"). Supply value in knots.
| 數值 | 建議 |
Maximum winds prefix | winds-prefix | Prefix for the maximum sustained winds. Use this to add approximation symbols, such as '~', '<', or '>'.
| 字串 | 非必填 |
Maximum winds suffix | winds-suffix | Suffix for the maximum sustained winds. Use this to add references, footnotes, or other content. | 內容 | 非必填 |
Maximum wind gust | gusts | The maximum wind gust of a given storm. Not to be confused with maximum sustained winds (provided with "winds"). Supply value in knots.
| 數值 | 建議 |
Maximum gusts prefix | gusts-prefix | Prefix for the maximum wind gusts. Use this to add approximation symbols, such as '~', '<', or '>'.
| 字串 | 非必填 |
Maximum gusts suffix | gusts-suffix | Suffix for the maximum wind gusts. Use this to add references, footnotes, or other content. | 內容 | 非必填 |
Beaufort scale | beaufort-scale beaufort scale | The maximum sustained winds on the Beaufort scale. Rarely used except for historical storms; consider using "winds" instead. | 數值 | 非必填 |
Lowest pressure | pressure | Lowest pressure, usually measured near the storm's center. Supply value in hectopascals/millibars (hPa/mbar).
| 數值 | 建議 |
Lowest pressure prefix | pressure-prefix | Prefix for the pressure. Use this to add approximation symbols, such as '~', '<', or '>'.
| 字串 | 非必填 |
Lowest pressure suffix | pressure-suffix | Suffix for the lowest pressure. Use this to add references, footnotes, or other content. | 內容 | 非必填 |
Lowest temperature | lowest-temperature lowest temperature | Lowest temperature. Supply value in Fahrenheit when "basin" is "atl" or "epac". Otherwise, supply the value in Celcius.
| 數值 | 建議 |
Lowest temperature prefix | temperature-prefix | Prefix for the temperature. Use this to add approximation symbols, such as '~', '<', or '>'.
| 字串 | 非必填 |
Lowest temperature suffix | temperature-suffix | Suffix for the lowest recorded temperature. Use this to add references, footnotes, or other content. | 內容 | 非必填 |
Largest hail | largest-hail largest hail | Largest recorded size of hail. Supply value in inches when "basin" is "atl" or "epac". Otherwise, supply the value in centimeters.
| 數值 | 非必填 |
Largest hail suffix | largest-hail-suffix | Suffix for the largest hail recorded. Use this to add references, footnotes, or other content. | 內容 | 非必填 |
Maximum rainfall | maximum-rain maximum rain | Maximum recorded rainfall. Supply value in inches when "basin" is "atl" or "epac". Otherwise, supply the value in centimeters.
| 數值 | 非必填 |
Maximum rainfall suffix | maximum-rain-suffix | Suffix for the maximum recorded rainfall. Use this to add references, footnotes, or other content. | 內容 | 非必填 |
Maximum snow or ice accretion | maximum-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 suffix | maximum-snow-suffix | Suffix for the maximum recorded snow accumulation or ice accretion. Use this to add references, footnotes, or other content. | 不明 | 非必填 |
Storm auto category | auto-category | The automatic category of the storm. This defines the category of the storm if a category parameter was not explicitly provided. | 字串 | 建議 |
Header suffix | header-suffix | Suffix for the header. Comes after the category name or actual header, if provided. | 內容 | 建議 |
The above documentation is transcluded from 模板:Infobox weather event/meteorology/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |