Template:Infobox earthquake

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

Usage[change source]

{{Infobox earthquake
 | name        = 
 | image       = <!-- file name only -->
 | alt         = 
 | caption     = 
 | map         = <!-- file name only -->
 | map_alt     = 
 | map_caption =
 | map2        = <!-- manual map or use {{Location map}} -->
 | date        = <!-- {{Start date|YYYY|MM|DD}} -->
 | time        =
 | duration    =
 | magnitude   = <!-- NNN [[Moment magnitude scale|M<sub>w</sub>]] -->
 | depth       = <!-- {{convert|NNN|km|mi|0|abbr=on}} -->
 | location    = <!-- {{coord|XXXXX|region:XX_type:event|display=inline,title}} -->
 | fault       = 
 | type        =
 | affected    = 
 | damages     = <!-- cost/extent of property damage -->
 | intensity   =
 | pga         = <!-- NN''[[Peak ground acceleration|g]]'' -->
 | tsunami     = 
 | landslide   =
 | foreshocks  =
 | aftershocks =
 | casualties  = 
}}

Examples[change source]

2007 Peru earthquake
Picture showing earthquake damage.
Piles of rubble, one week after the shock
Map of the Peru coastline, showing location and strength of quake.
Map of the Peru coastline, showing location and strength of quake. Star marks epicenter.
Date August 15, 2007 (2007-08-15)
Origin time 23:40:57 UTC
Magnitude 8.0 Mw
Depth 39 km (24 mi)
Epicenter 13°21′14″S 76°30′32″W / 13.354°S 76.509°W / -13.354; -76.509Coordinates: 13°21′14″S 76°30′32″W / 13.354°S 76.509°W / -13.354; -76.509
Fault Nazca-South American plate
Areas affected Ica Region (Pisco, Ica and Chincha Alta) and Lima Region (San Vicente de Cañete)
Tsunami flooded part of Lima's Costa Verde highway, and much of Pisco's shore
Casualties 519 confirmed dead, 1,366 injured
{{Infobox earthquake
 | name        = 2007 Peru earthquake
 | image       = 40 - Tremblement de terre - Août 2007.JPG
 | alt         = Picture showing earthquake damage.
 | caption     = Piles of rubble, one week after the shock
 | map         = Peru Quake Aug 15-2007.jpg
 | map_alt     = Map of the Peru coastline, showing location and strength of quake.
 | map_caption = Map of the Peru coastline, showing location and strength of quake. Star marks [[epicenter]].
 | date        = {{Start date|2007|8|15}}
 | time        = 23:40:57 [[UTC]]
 | magnitude   = 8.0 [[Moment magnitude scale|M<sub>w</sub>]]
 | depth       = {{convert|39|km|mi|abbr=on}}
 | location    = {{coord|13.354|S|76.509|W|region:PE_type:event|display=inline,title}}
 | fault       = [[Nazca Plate|Nazca]]-[[South American Plate|South American plate]]
 | affected    = [[Ica Region]] ([[Pisco, Peru|Pisco]], [[Ica (city)|Ica]] and [[Chincha Alta]]) and [[Lima Region]] ([[San Vicente de Cañete]])
 | tsunami     = flooded part of Lima's Costa Verde highway, and much of Pisco's shore
 | casualties  = 519 confirmed dead, 1,366 injured
}}

Microformat[change source]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project on English Wikipedia.

Sub-templates[change source]

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.

See also[change source]