Template:Infobox eruption: Difference between revisions

From ahitipua
Jump to navigation Jump to search
(Created page with "<noinclude> <div style="overflow:hidden; width:0px; height:0px"> </noinclude>{{infobox | abovestyle = background:#F6DA9F; | above = {{{name|}}} | image = {{#if: {...")
 
No edit summary
 
Line 1: Line 1:
<noinclude>
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|Infobox mountain}}). The completely expanded form of the template is as follows:
<div style="overflow:hidden; width:0px; height:0px">
 
</noinclude>{{infobox
<pre style="width:15em;">
| abovestyle = background:#F6DA9F;
{{Infobox eruption
| above      = {{{name|}}}
| name =
| image      = {{#if: {{{photo|}}} | [[{{{photo|}}} | {{#if: {{{photo-size|}}} | {{{photo-size|}}} | 250px }}]] | }}
| photo =
| caption    = {{{caption|}}}
| photo-size =
| label2      = Volcano
| caption =
| data2      = {{{volcano}}}
| date =
| label3      = Date
| volcano =
| data3      = {{{date}}}
| type =
| label4      = [[Types of volcanic eruptions|Type]]
| location =
| data4      = {{{type|}}}
| coordinates =
| label5      = Location
| VEI =
| data5      = {{#if: {{{coordinates|}}} | {{{location|}}}<br/>{{{coordinates|}}} | {{{location|}}} }}
| map =
| label6      = [[Volcanic Explosivity Index|VEI]]
| location-map =
| data6      = {{{VEI|}}}
  | map-size =
| label7      = Impact
| map-caption =
| data7      = {{{impact|}}}
| impact =
| header8    = {{#if: {{{location-map|}}} | {{{location-map|}}} | {{#if: {{{map|}}} | [[{{{map|}}}| {{#if: {{{map-size|}}} | {{{map-size|}}} | 250px }}]] | }} }}
}}
| label9      =
</pre>
| data9      = {{{map-caption|}}}
 
}}<noinclude></div>{{documentation}}</noinclude>
{| width="99%" class="wikitable" style="font-size:90%"
! width="15%" | Field name
! width="85%" | 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 <nowiki>[ ]</nowiki> 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|Location map}} 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:
{{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
}}
 
created with this source:<br>
<pre>
<nowiki>{{Infobox eruption</nowiki>
| 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 <nowiki>[[eruption column]]</nowiki>, May 18, 1980
| date = May 18, 1980
| volcano = <nowiki>[[Mount St. Helens]]</nowiki>
| type = <nowiki>[[Plinian eruption|Plinian]]</nowiki>
| location = <nowiki>[[Skamania County, Washington|Skamania County]],
  [[Washington (state)|Washington]]</nowiki>
| coordinates = <nowiki>{{coord|46|12|1|N|122|11|12|W|display=inline}}</nowiki>
| 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
}}
</pre>
{{clear}}
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:
 
{{Infobox eruption
| name = 1914 eruption of Sakurajima
| photo = Image:Kagoshima 1914.jpg
| photo-size =
| caption = The city of [[Kagoshima]] was covered by deep ash during the 1914 eruption of the Sakurajima, which is visible across the bay.
| 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; caused an evacuation and significant changes to the local topology.
}}
 
Source:
<pre>
{{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;...
}}
</pre>
 
<includeonly>
[[Category:WikiProject Volcanoes]]
[[Category:Geology infobox templates|Eruption]]
[[Category:Weather infobox templates|Eruption]]
 
[[ja:Template:Infobox eruption]]
</includeonly>

Latest revision as of 19:52, 7 December 2012

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: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 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: 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: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 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: Template loop detected: Template:Infobox eruption

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:

Template loop detected: Template:Infobox eruption

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;...
}}

ja:Template:Infobox eruption


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:

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: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 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: Template loop detected: Template:Infobox eruption

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:

Template loop detected: Template:Infobox eruption

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;...
}}

ja:Template:Infobox eruption


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;...
}}