Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a4624e576de03524

Jump to content

Template:Infobox eruption/doc

From Wikipedia, the free encyclopedia

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 {{Infobox mountain}}). The completely expanded form of the template is as follows:

Usage

[edit]
{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{upright}}}]]
{{{caption}}}
Volcano{{{volcano}}}
Date{{{date}}}
Start date{{{start_date}}}
Start time{{{start_time}}}
End date{{{end_date}}}
End time{{{end_time}}}
Type{{{type}}}
Location{{{location}}}
{{{coordinates}}}
Area{{{area}}}
Volume{{{volume}}}
VEI{{{VEI}}}
Impact{{{impact}}}
Deaths{{{deaths}}}
Maps
[[File:{{{map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1.1]]
{{{map_caption}}}
{{Infobox eruption
 | name        = 
 | image       = 
 | image_size  = 
 | caption     = 
 | date        = 
 | start_date  = 
 | start_time  = 
 | end_date    = 
 | end_time    = 
 | volcano     = 
 | type        = 
 | location    = 
 | coordinates = 
 | area        = 
 | volume      = 
 | VEI         = 
 | map         = 
 | map_size    = 
 | map_caption = 
 | impact      = 
}}

Parameters

[edit]
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!
image Image 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.
image_size Size of the image; leaving this blank will cause it to default to 250px.
caption Caption for the image.
date Date of eruption; should be used for one day eruptions or when the start and end dates of an eruption are unknown.
start_date Start date of eruption; should be as specific as allowable.
start_time Start time of eruption; should be as specific as allowable.
end_date End date of eruption; should be as specific as allowable.
end_time End time 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.
area Areal extent of lava or tephra released during an eruption.
volume Amount of lava or tephra released during an eruption.
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. You can use a {{Location map}} template in place of a "hard" image map (use width = 250, with caption = )
map_size Same as image_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?

Mapframe params

[edit]
  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
      • Internal onByDefault parameter: not specified
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to yes to show all shape/line features from OpenStreetMap. Default: not specified
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to none. Force display of shape by setting to on. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. Force display of line by setting to on. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country (P17), P131 for located in the administrative territorial entity (P131)). Default: not specified
    • mapframe-switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified

Example

[edit]

Here is an example usage:

1980 eruption of Mount St. Helens
Photograph of the eruption column, May 18, 1980
VolcanoMount St. Helens
Start dateMarch 27, 1980
Start time12:36 p.m. PDT
TypePhreatic, Plinian, Peléan
LocationSkamania County, Washington
46°12′1″N 122°11′12″W / 46.20028°N 122.18667°W / 46.20028; -122.18667
VEI5
Impact57 deaths, $1.1 billion in property damage; caused a partial collapse of the volcano's flank, deposited ash in 11 states
Maps
Map of eruption deposits

created with this source:

{{Infobox eruption
 | name = 1980 eruption of Mount St. Helens
 | image = MSH80 eruption mount st helens 05-18-80-dramatic-edit.jpg
 | image_size = 200px
 | caption = Photograph of the [[eruption column]], May 18, 1980
 | start_date = March 27, 1980
 | start_time = 12:36 p.m. PDT
 | volcano = [[Mount St. Helens]]
 | type = [[Phreatic eruption|Phreatic]], [[Plinian eruption|Plinian]], [[Peléan eruption|Peléan]]
 | location = [[Skamania County, Washington|Skamania County]], [[Washington (state)|Washington]]
 | coordinates = {{coord|46|12|1|N|122|11|12|W|display=inline}}
 | VEI = 5
 | map = 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
The city of Kagoshima was covered by deep ash during the 1914 eruption of the Sakurajima, which is visible across the bay.
Start dateJanuary 1914
TypePeléan
VEI4
ImpactPre-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
 | image = Kagoshima 1914.jpg
 | image_size =
 | caption = The city of [[Kagoshima]] was covered by deep ash during the 1914 eruption of the Sakurajima, which is visible across the bay.
 | start_date = January 1914
 | start_time =
 | volcano = 
 | type = [[Peléan eruption|Peléan]]
 | location =
 | coordinates =
 | VEI = 4
 | map =
 | map_size =
 | map_caption =
 | impact = Pre-eruption earthquakes killed at least 35 people; caused an evacuation and significant changes to the local topology.
}}

Tracking category

[edit]