跳至內容

模板:Storm path/doc

維基百科,自由的百科全書

Simple usage

[編輯]
  1. {{Storm path}} uses a left-aligned thumbnail image with the file name determined from the name of the article ("PAGENAME" track.png)
  2. {{Storm path|filename}} uses a left-aligned thumbnail image with the file name set to filename and caption set to "Storm path"
  3. {{Storm path|filename|right}} uses a right-aligned thumbnail image with the file name set to filename and caption set to "Storm path".
  4. {{Storm path|filename|right|size}} uses a right-aligned thumbnail image with the file name set to filename, and size set to size and caption set to "Storm path".
  5. {{Storm path|filename|right|size|caption}} uses a right-aligned thumbnail image with the file name set to filename, and size set to size and caption set to caption.

To set the value for the alternative text, use |alt=description

Alternative usage

[編輯]
  1. Use |align= to override the default alignment
  2. Use |size= to override the default image size
  3. Use |caption= to override the default caption

Examples

[編輯]
{{storm path|Mitch 1998 track.png}}
根據薩菲爾-辛普森颶風風力等級的強度繪製的風暴路徑圖
圖例
  熱帶低氣壓(≤62 km/h)
  熱帶風暴(63–118 km/h)
  一級(119–153 km/h)
  二級(154–177 km/h)
  三級(178–208 km/h)
  四級(209–251 km/h)
  五級(≥252 km/h)
  未知
{{storm path|Epsilon 2005 track.png|right|150px}}
根據薩菲爾-辛普森颶風風力等級的強度繪製的風暴路徑圖
圖例
  熱帶低氣壓(≤62 km/h)
  熱帶風暴(63–118 km/h)
  一級(119–153 km/h)
  二級(154–177 km/h)
  三級(178–208 km/h)
  四級(209–251 km/h)
  五級(≥252 km/h)
  未知
{{storm path|Epsilon 2005 track.png|caption=Epsilon's zany storm path}}
Epsilon's zany storm path
圖例
  熱帶低氣壓(≤62 km/h)
  熱帶風暴(63–118 km/h)
  一級(119–153 km/h)
  二級(154–177 km/h)
  三級(178–208 km/h)
  四級(209–251 km/h)
  五級(≥252 km/h)
  未知