Template:Infobox tropical cyclone/doc
維基百科,自由的 encyclopedia
此模板產生的HTML标记包含了hCalendar微格式,能夠讓電腦解析事件的详情,便于维基百科将该条目归类,或让用户通过浏览器将该事件添加进日历或日记应用程序中。關於微格式的更多使用資訊,請參閱維基百科的微格式專題。
![]() | 此頁面是Template:Infobox tropical cyclone的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
![]() | 本模板含有複雜而精密的扩展语法。 編輯本模板前,建議您先熟悉解析器函數与本模板的设计思路、运作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行測試。 |
使用方法
普通用法
{{Infobox hurricane | name = | basin = <!-- Enter one: Atl, EPac, WPac, NIO, SWI, Aus, SPac (see [[Tropical cyclone basins]]) --> | image = <!-- filename only --> | caption = | formed = <!-- {{start date|yyyy|mm|dd}} --> | dissipated = <!-- {{end date|yyyy|mm|dd}} --> | extratropical = <!-- {{start date|yyyy|mm|dd}} --> | remnant low = <!-- {{start date|yyyy|mm|dd}} --> | 1-min winds = <!-- in knots, number only --> | 3-min winds = <!-- in knots, number only --> | 10-min winds = <!-- in knots, number only --> | gusts = <!-- in knots, number only --> | pressure = <!-- in mbar (hPa), number only --> | fatalities = | damages = | affected = | cycloneseason = }}
活躍中的風暴
{{Infobox hurricane | name = | basin = <!-- Enter one: Atl, EPac, WPac, NIO, SWI, Aus, SPac (see [[Tropical cyclone basins]]) --> | image = <!-- filename only --> | caption = | formed = <!-- {{start date|yyyy|mm|dd}} --> | dissipated = <!--leave blank until storm ends, then use {{end date|yyyy|mm|dd}} --> | extratropical = <!-- {{start date|yyyy|mm|dd}} --> | remnant low = <!-- {{start date|yyyy|mm|dd}} --> | 1-min winds = <!-- in knots (other units will display automatically) --> | 3-min winds = <!-- in knots (other units will display automatically) --> | 10-min winds = <!-- in knots (other units will display automatically) --> | gusts = <!-- in knots (other units will display automatically) --> | pressure = <!-- in mbar (hPa) (other units will display automatically) --> | fatalities = | damages = <!-- Cost of damage in pure number form (in USD, unless currency specified) --> | year = <!-- year used for damages figure --> | currency = <!-- currency used for damages. Use the [[ISO 4217]] currency code (ex. USD, AUD, JPY) --> | affected = <!-- Areas affected --> | cycloneseason = <!-- link to season article (ex. [[2014 Pacific typhoon season]]) --> <!-- Remove these after storm has ended --> | track = <!-- storm tracking image filename --> | track_caption = <!-- Caption below tracking map. defaults to "Forecast map" --> | time = <!-- current time used for data (give both local and UTC) --> | location = <!-- {{Coord|LAT|LONG|type:event|display=inline}} (set "display=inline,title" if used on a main article for the storm) --> | movement = <!-- direction and speed of movement --> | mainarticle = <!-- Page name of the main storm article (helpful when infobox used in season articles) --> }}
過去的風暴
{{Infobox hurricane | name = | basin = <!-- Enter one: Atl, EPac, WPac, NIO, SWI, Aus, SPac (see [[Tropical cyclone basins]]) --> | type = <!-- Manual entry of minor storm type (ex. Tropical depression, Tropical storm, Subtropical storm) --> | category = <!-- (use only if outside the above basins) manual entry of heading colors, see [[Template:Storm colour]] --> | image = | alt = | caption = | formed = <!-- {{start date|yyyy|mm|dd}} --> | dissipated = <!--leave blank until storm ends, then use {{end date|yyyy|mm|dd}} --> | extratropical = <!-- {{start date|yyyy|mm|dd}} --> | remnant low = <!-- {{start date|yyyy|mm|dd}} --> | 1-min prefix = | 1-min winds = <!-- in knots (plain number only, other units will display automatically) --> | 3-min prefix = | 3-min winds = <!-- in knots (plain number only, other units will display automatically) --> | 10-min prefix = | 10-min winds = <!-- in knots (plain number only, other units will display automatically) --> | gustspre = <!-- text to display before gusts, eg: <,≤,>,≥ --> | gusts = <!-- in knots (plain number only, other units will display automatically) --> | pressurepre = <!-- text to display before pressure, eg: <,≤,>,≥ --> | pressure = <!-- in mbar (hPa) --> | pressurepost = <!-- text to display below pressure, eg: "world record" --> | fatalities = | damagespre = | damages = <!-- Cost of damage in pure number form (in USD, unless currency specified) --> | year = <!-- year used for damages figure --> | currency = <!-- currency used for damages. Use the [[ISO 4217]] currency code (ex. USD, AUD, JPY) --> | damagespost = | affected = <!-- Areas affected --> | misc = <!-- Additional relevant information not covered by other sections --> | cycloneseason = <!-- link to season article (ex. [[2014 Pacific typhoon season]]) --> | series = | related = | mainarticle = <!-- Page name of the main storm article (helpful when infobox used in season articles) --> }}
Example
五級颶風(美國) | |
![]() Hurricane Hugo as a Category 3 hurricane | |
形成 | 1989年9月10日 (1989-09-10) |
---|---|
消散 | 1989年9月25日 (1989-09-25) |
(1989年9月22日 (1989-09-22)起轉變成溫帶氣旋) | |
最高風速 | 1分鐘持續: 160英里/小時(260公里/小時) |
最低氣壓 | 918毫巴(百帕);27.11英寸汞柱 |
死亡 | 107 total (estimated) |
損失 | $100億(1989年美元) |
影響地區 | Lesser Antilles, Puerto Rico, Hispaniola, Turks and Caicos Islands |
1989 Atlantic hurricane season的一部分 | |
{{Infobox hurricane | name = Hurricane Hugo | type = hurricane | basin = Atl | image = Hugo 1989-09-15 1105Z.png | caption = Hurricane Hugo as a Category 3 hurricane | formed = {{start date|1989|09|10}} | dissipated = {{end date|1989|09|25}} | extratropical = {{start date|1989|09|22}} | 1-min winds = 140 | pressure = 918 | damages = 10000 | year = 1989 | fatalities = 107 total <small>(estimated)</small> | affected = [[Lesser Antilles]], [[Puerto Rico]], [[Hispaniola]], [[Turks and Caicos Islands]] | cycloneseason = [[1989 Atlantic hurricane season]] }}
Microformat
日期只会在使用了{{Start date}}或{{End date}}的情况下显示,URL只会在使用了{{Url}}的情况下被包含。
hCalendar使用的HTML class包括:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
請勿移除或修改這些class,也請勿更改或移除有相關設定之模板及設定。
Parameters
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
name | name | The name of the storm as given by the RSMC, TCWC, or other meteorological organization with jurisdiction over the region where the storm was at peak intensity. (Capitalize every word.) | 字符串 | 必需 |
basin | basin | [Important!] Code for one of the [[tropical cyclone basins]] that the storm belongs. Enter one: Atl, EPac, WPac, NIO, SWI, Aus, SPac, or leave blank only if rare storm outside of main basins. | 字符串 | 可选 |
type | type | Manual entry for type of storm if outside one of the basins ("hurricane", "typhoon" or "cyclone"). This parameter will accept everything, but ensure proper capitalization. | 字符串 | 可选 |
category | category | Manual entry for type header, per [[Template:Storm colour]]. | 字符串 | 可选 |
image | image Image location | [Important!] Location of picture to use | 文件 | 可选 |
alt | alt | Alternate text for main image, use if file name is not descriptive. | 字符串 | 可选 |
caption | caption | Caption text for main image. | 字符串 | 可选 |
image_size | image_size | Do not use this setting unless correcting a specific problem. Images will scale to user preferences. | 字符串 | 可选 |
track | track | Used for active storms only. File name of storm map or forecast map. | 文件 | 可选 |
track_alt | track_alt | Used for active storms only. Alternate text for tracking image, use if file name is not descriptive. | 字符串 | 可选 |
track_caption | track_caption | Used for active storms only. Caption text for tracking image.
| 字符串 | 可选 |
Formed | formed | Date of formation; use {{start date|yyyy|mm|dd}}. | 日期 | 可选 |
Dissipated | dissipated | Date of storm end; leave blank until storm ends, then add {{end date|yyyy|mm|dd}}. | 字符串 | 可选 |
extratropical | extratropical | Date storm went [[Extratropical cyclone|Extratropical]], use {{start date|yyyy|mm|dd}}. | 日期 | 可选 |
remnant low | remnant low | Date storm degenerated into a [[Post-tropical cyclone|Remnant low]], use {{start date|yyyy|mm|dd}}. | 日期 | 可选 |
Highest winds | 10-min winds | Sustained wind average over a period of 10 minutes (used by most weather agencies) as a pure number. The template will convert appropriately. | 数字 | 可选 |
Highest winds | 3-min winds | Sustained wind average over a period of 3 minute (used by RSMC New Delhi) as a pure number. The template will convert appropriately. | 数字 | 可选 |
Highest winds | 1-min winds | [Important!] Sustained wind average over a period of one minute (used for the Saffir–Simpson hurricane wind scale) as a pure number. The template will convert appropriately. | 数字 | 可选 |
Highest winds | gusts | [Important!] Gusts in [[Knot (unit)|knots]] as a pure number. The template will convert appropriately. | 数字 | 可选 |
Highest winds | 10-min prefix | Optional text before "10-min winds" | 字符串 | 可选 |
Highest winds | 3-min prefix | Optional text before "3-min winds" | 字符串 | 可选 |
Highest winds | 1-min prefix | Optional text before "1-min winds" | 字符串 | 可选 |
Highest winds | gustspre | Optional text before "gusts" | 字符串 | 可选 |
Lowest pressure | pressurepre | Optional text before "pressure" | 字符串 | 可选 |
Lowest pressure | pressure | [Important!] Pressure in mbar (hPa) as a pure number, will be displayed with labels and converted to inHg. | 数字 | 可选 |
Lowest pressure | pressurepost | Optional text after "pressure" | 字符串 | 可选 |
Fatalities | fatalities | Number killed | 字符串 | 可选 |
Damages | damagespre | Optional text before "damages" | 字符串 | 可选 |
Damages | damages | Monetary cost of damage given as a pure number. | 数字 | 可选 |
Damages | year | Year used for damages amount | 字符串 | 可选 |
Damages | currency | Alternative currency used for damage amount (default is USD) | 字符串 | 可选 |
Damages | damagespost | Optional text after "damages" | 字符串 | 可选 |
Areas affected | affected Areas | Areas affected by the storm (wikilink to location articles) | 页面名称 | 可选 |
time | time | Used for active storms only. Time of report used for infobox data. Include both local time and UTC. | 字符串 | 可选 |
Location | location | Used for active storms only. The current location of the storm, use {{Coord|LAT|LONG|type:event|display=inline}} (set "display=inline,title" if used on a main article for the storm). | 字符串 | 可选 |
Movement | movement | Speed and direction of storm | 字符串 | 可选 |
misc | misc module | Use for relevant information not covered by other parameters (not typically used). | 未知 | 可选 |
cycloneseason | cycloneseason | Page with list of other storms this year in the same basin. | 页面名称 | 可选 |
series | series | Other articles related to this storm (used only for major storms), | 页面名称 | 可选 |
related | related | Other related articles. (not typically used) | 页面名称 | 可选 |
mainarticle | mainarticle | If this infobox is used in a season article or in a section of some other page, provide a link to the main article for the storm. | 页面名称 | 可选 |
See also
- {{Infobox earthquake}}
- {{Infobox flood}}
- {{Infobox storm}}
- {{Infobox tornado}}
- Category:需要關注的熱帶氣旋文章 - used to track certain articles that experience errors using the infobox