跳转到内容

模板: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)
  未知