แม่แบบ:Infobox eruption/doc

จากวิกิพีเดีย สารานุกรมเสรี

This infobox is meant to be used on pages about volcanic eruptions and on the sections of articles about a volcano about an eruption, but not as the main template on the pages of the volcanoes themselves (for that, use แม่แบบ:Template). The completely expanded form of the template is as follows:

{{Infobox eruption
 | name =
 | photo =
 | photo-size =
 | caption =
 | date =
 | volcano =
 | type =
 | location =
 | coordinates =
 | VEI =
 | map =
 | location-map =
 | map-size =
 | map-caption =
 | impact =
}}
Field name Input
name Name of the eruption. The conventions for naming relatively modern eruptions is to use "[Year] eruption of [volcano]". See for instance 1980 eruption of Mount St. Helens. If the timing is incomplete (common for extremely old eruptions), use as specific a time period as you may in place of the year. Many eruptions have names given to them by the scientific community, if one exists, use it!
photo Photo of the eruption. A painting or other representation may be used for eruptions preceding the invention of photography. Precede filename with "File:" but do not use [ ] brackets.
photo-size Size of the photo; leaving this blank will cause it to default to 250px.
caption Caption for the photo.
date Date of eruption; should be as specific as allowable.
volcano Name of the volcano where the eruption occurred.
type Type of eruption, see Types of volcanic eruptions for the different types.
location Location of the volcano, e.g. "Boulder Springs, Colorado"
coordinates Coordinates of the volcano. Use Template:Coord.
VEI Volcanic Explosivity Index, a measure of an eruption's strength similar to the Richter scale; the type of eruption can be inferred off its VEI, and this field also automatically adds the volcano to the respective "VEI-level volcanoes" category.
map Map of the eruption, if there is one.
location-map Allows you to use the แม่แบบ:Template template in place of a "hard" image map. Note that the template automatically aligns left, so you should not make it less then 250px wide.
map-size Same as photo size, above.
map caption Caption for the map.
impact What was the impact of the eruption? How many lives were lost? How much property damage? What was the impact of the eruption on the local and global landscape? Basically, why is the eruption notable?

Here is an example usage:

1980 eruption of Mount St. Helens
MSH80 eruption mount st helens 05-18-80-dramatic-edit.jpg
Photograph of the eruption column, May 18, 1980
ภูเขาไฟ Mount St. Helens
วันที่ May 18, 1980
Type Plinian
สถานที่ Skamania County, Washington
46°12′1″N 122°11′12″W / 46.20028°N 122.18667°W / 46.20028; -122.18667
VEI 5
ผลกระทบ 57 deaths, $1.1 billion in property damage; caused a partial collapse of the volcano's flank, deposited ash in 11 states
St helens map showing 1980 eruption deposits.png
Map of eruption deposits

created with this source:

{{Infobox eruption
| name = 1980 eruption of Mount St. Helens
| photo = File:MSH80 eruption mount st helens 05-18-80-dramatic-edit.jpg
| photo-size = 200px
| caption = Photograph of the [[eruption column]], May 18, 1980
| date = May 18, 1980
| volcano = [[Mount St. Helens]]
| type = [[Plinian eruption|Plinian]]
| location = [[Skamania County, Washington|Skamania County]], 
  [[Washington (state)|Washington]]
| coordinates = {{coord|46|12|1|N|122|11|12|W|display=inline}}
| VEI = 5
| map = File:St helens map showing 1980 eruption deposits.png
| map-size =
| map-caption = Map of eruption deposits
| impact = 57 deaths, $1.1 billion in property damage; 
  caused a partial collapse of the volcano's flank, 
  deposited ash in 11 states
}}

This template can also be used inside an article, in a section dedicated to an important volcanic eruption. In these cases, the volcano, location, coordinates, and map should be left out, as they are redundant to the main article infobox (presumably Template:Infobox mountain). For instance:

1914 eruption of Sakurajima
Kagoshima 1914.jpg
The city of Kagoshima was covered by deep ash during the 1914 eruption of the Sakurajima, which is visible across the bay.
วันที่ January 1914
Type Peléan
VEI 4
ผลกระทบ Pre-eruption earthquakes killed at least 35 people; caused an evacuation and significant changes to the local topology.

Source:

{{Infobox eruption
 | name = 1914 eruption of Sakurajima
 | photo = Image:Kagoshima 1914.jpg
 | photo-size =
 | caption = The city of [[Kagoshima]] was covered...
 | date = January 1914
 | volcano = 
 | type = [[Peléan eruption|Peléan]]
 | location =
 | coordinates =
 | VEI = 4
 | map =
 | location-map =
 | map-size =
 | map-caption =
 | impact = Pre-eruption earthquakes killed at least 35 people;...
}}