模板:Infobox weather event/scale/TemplateData
模板其說明文檔
Usage
See Template:Infobox weather event/meteorology/TemplateData. A |categoryonly=
parameter has been added for all templates using this template. A |agency=
parameter has also been added to specify the issuing agency in the description.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
{
"params": {
"child": {
"label": "Child display?",
"description": "Whether this is a child box or not. Use `yes`, unless you're using this box standalone.",
"example": "yes",
"type": "boolean",
"default": "yes"
},
"bodystyle": {
"label": "Body style",
"description": "Custom CSS for the box",
"type": "string",
"default": "border-collapse: collapse"
},
"winds": {
"label": "Maximum sustained winds",
"description": "The maximum sustained winds of a given storm. Not to be confused with maximum wind gusts (provided with \"gusts\"). Supply value in knots.",
"example": "124",
"type": "number",
"suggested": true
},
"winds-prefix": {
"label": "Maximum winds prefix",
"description": "Prefix for the maximum sustained winds. Use this to add approximation symbols, such as '~', '<', or '>'.",
"example": "~",
"type": "string"
},
"winds-suffix": {
"label": "Maximum winds suffix",
"description": "Suffix for the maximum sustained winds. Use this to add references, footnotes, or other content.",
"type": "content"
},
"gusts": {
"label": "Maximum wind gust",
"description": "The maximum wind gust of a given storm. Not to be confused with maximum sustained winds (provided with \"winds\"). Supply value in knots.",
"example": "164",
"type": "number",
"suggested": true
},
"gusts-prefix": {
"label": "Maximum gusts prefix",
"description": "Prefix for the maximum wind gusts. Use this to add approximation symbols, such as '~', '<', or '>'.",
"example": "~",
"type": "string"
},
"gusts-suffix": {
"label": "Maximum gusts suffix",
"description": "Suffix for the maximum wind gusts. Use this to add references, footnotes, or other content.",
"type": "content"
},
"beaufort-scale": {
"aliases": [
"beaufort scale"
],
"label": "Beaufort scale",
"description": "The maximum sustained winds on the Beaufort scale. Rarely used except for historical storms; consider using \"winds\" instead.",
"type": "number"
},
"pressure": {
"label": "Lowest pressure",
"description": "Lowest pressure, usually measured near the storm's center. Supply value in hectopascals/millibars (hPa/mbar).",
"example": "975",
"type": "number",
"suggested": true
},
"pressure-prefix": {
"label": "Lowest pressure prefix",
"description": "Prefix for the pressure. Use this to add approximation symbols, such as '~', '<', or '>'.",
"example": "~",
"type": "string"
},
"pressure-suffix": {
"label": "Lowest pressure suffix",
"description": "Suffix for the lowest pressure. Use this to add references, footnotes, or other content.",
"type": "content"
}
,
"categoryonly": {
"label": "Category only?",
"description": "Only return the category of this storm as a string. Useful if you only want the category of a storm based on meteorological data, but not the actual box itself.",
"type": "boolean",
"default": "no"
}
},
"description": "A subbox for displaying meteorological information for a storm according to data from a given agency. Should be used adjacent to an 'Infobox weather event' template, and before an 'Infobox weather event/Footer' template.",
"format": "block"
}