Template:Infobox hurricane

出自維基百科,自由嘅百科全書
跳去: 定向搵嘢
Documentation icon 模嘅說明文件[] [] [] []
Exquisite-khelpcenter.png

呢個模包含最少一個可選參數:用之前唔該睇下討論頁


呢個模用咗一啲好複雜嘅語法同好多秘技。響你明嗮佢嘅用途和構造之前,千祈唔好喐佢。亦都要有心理準備要補返嗮改錯咗嘅地方。所有實驗都唔該喺沙盤模,或者你個用戶頁裏面搞。

呢個明細模適用喺關於熱帶氣旋(颶風或颱風)嘅文。副熱帶氣旋相關嘅文都可以用。

Usage[編輯]

Simple usage[編輯]

{{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  = 
}}

Active storms[編輯]

{{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) -->
}}

Complete usage for past storms[編輯]

{{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
五級颶風(SSHS
Hurricane Hugo 15 September 1989 1105z.png
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         = Hurricane Hugo 15 September 1989 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[編輯]

呢個模產生嘅HTML標記包含咗hCalendar微格式,可以畀電腦解析事件嘅詳情,方便維基百科將呢篇文分類,或者畀用戶通過瀏覽器將呢個事件添加到日曆或者日記應用程式度。關於微格式嘅更多使用資訊,可以睇維基百科嘅微格式專題

日期祗會喺用咗{{Start date}}或{{End date}}嘅情況下顯示,URL祗會喺用咗{{Url}}嘅情況下被包括。

hCalendar使用嘅HTML class包括:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

唔該咪移除或者改動呢啲class,亦咪去更改或者移除有相關設定嘅模同設定。 {{#ifeq: Infobox hurricane|doc||{{#ifeq: Infobox hurricane|sandbox||[[Category:用咗微格式嘅模|Infobox hurricane] ]}}}}

Parameters[編輯]

Template:TemplateData header

This infobox is for articles about specific [[tropical cyclone]] events (hurricanes, typhoons, tropical storms, tropical depressions)

Template 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

[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.

預設
Forecast map
範例
自動值
字串 可選
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 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 miscmodule

Use for relevant information not covered by other parameters (not typically used).

預設
範例
自動值
Unknown 可選
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[編輯]