Template:Infobox earthquake: Difference between revisions
en>Hgwells99 No edit summary |
m (1 revision imported) |
(2 intermediate revisions by 2 users not shown) | |
(No difference)
|
Latest revision as of 21:53, 30 December 2020
This template uses Lua: |
For presenting the key data of an earthquake in a consistent, standardized format.
Usage
{{Infobox earthquake | name = | image = <!-- file name only --> | alt = | caption = | map = <!-- file name only --> | map_alt = | map_caption = | pushpin_map = <!-- as per Template:Location map --> | map2 = <!-- as per Template:Location map+ --> | pre-1900 = <!-- Set to 'yes' if before 1900-01-01. Relaxes timestamp format --> | timestamp = <!-- UTC date/time ("origin time") in yyyy-mm-dd hh:mm:[ss] format --> | isc-event = <!-- ISC event id, or "n/a". SEE BELOW --> | anss-url = <!-- Url (or fragment) of USGS-ANSS event page, or "n/a". SEE BELOW. --> | local-date = <!-- Local date of area most affected: '{{Start date|YYYY|MM|DD}}' --> | local-time = <!-- From newspapers? Include timezone --> | date = <!-- *Deprecated*. Use 'local-date' --> | time = <!-- *Deprecated*. Use 'local-time' --> | origintime = <!-- *Deprecated*. Use 'timestamp' --> | duration = | magnitude = <!-- 'N.N {{M|?|link=y}}'. Get proper code from source. See below. --> | 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]]'' --> | pgv = <!-- NN cm/s --> | tsunami = | landslide = | foreshocks = | aftershocks = | casualties = | engvar = <!-- follow article: =en-UK will show 'Epicentre' --> | citations = }}
Examples
UTC time | 2007-08-15 23:40:58 |
---|---|
ISC event | 1280473 |
USGS-ANSS | ComCat |
Local date | August 15, 2007 |
Local time | 18:40 |
Magnitude | 8.0 Mw |
Depth | 39 km (24 mi) |
Epicenter | Lua error in Module:Coordinates at line 492: attempt to index field 'wikibase' (a nil value). |
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]]. | timestamp = 2007-08-15 23:40:37 | isc-event = 1280473 | anss-url = usp000fjta | local-date = {{Start date|2007|8|15}} | local-time = 18:40 | magnitude = 8.0 {{M|w|link=y}} | 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 }}
New parameters
As of March, 2018, new parameters have been added to resolve some long-running problems regarding the specification of the date and time of earthquakes. On one hand, the local population (for whom the event has the most significance) and local sources identify an earthquake by the local day and time-of-day, which is also a significant factor in societal impact. On the other hand, earthquake catalogs identify and index earthquakes by their UTC time. Unfortunately, this Infobox has had only one pair of parameters for this purpose – 'date' and 'time' – and indicated neither to the editor whether local or UTC time should be used, nor to the reader which time was used (unless an editor was thoughtful enough to indicate the time zone). There is also an 'origintime' which, being similar to the "origin time" used in some catalogs, suggested UTC time and format, but, when used, actually supplanted the value given for 'time'. Some editors have used a time conversion utility to derive a UTC time from a specified local time, but this is a dubious practice: the UTC time actually used to index a quake should be obtained directly, not calculated from a non-authoritative local time.
These issues can now be avoided by using three new parameters: timestamp, local-date, and local-time. The latter are two are exactly what they say they are: the local day and time, and labeled as such in the display. There are no restrictions on how these are formatted; lacking any other guidelines they can be formatted at the editor's discretion. On the other hand, 'timestamp' is the quake's UTC time in all numeric 'yyyy-mm-dd hh:mm:ss' (ISO) format (the seconds being optional), as found in an authoritative catalog. A properly formatted UTC timestamp is now required (unless 'pre-1900' is set); any other text (including timezone or citations) generates an error. Adding "UTC" is not necessary, as that is included in the displayed label: "UTC time". With these new parameters the use of the ambiguous 'date' and 'time' parameters is deprecated, and should be removed. However, please do not simply copy the old values. These should be checked with an authoritative source such as the ANSS or ISC (see below), which have chronological indices (here and here).
There is also a pre-1900 parameter. Setting this to "yes" identifies a quake as being "historical" (meaning it occurred before the dawn of the instrumental period), relaxes the formatting otherwise required for 'timestamp', and makes certain other parameters optional.
Please note that newspapers and other news sites are NOT reliable sources for the technical details of earthquakes, such as time, location, depth, and – most importantly – magnitude. For details of "breaking news" earthquakes recourse should be had to the same source the news agencies go to: the Advanced National Seismic System (ANSS), a partnership of the USGS (NEIC) and various regional networks which monitors global seismicity and provides information on notable events, usually within 15 minutes. (See Latest Earthquakes, or the Significant Earthquake archive, which link to specific event pages in the Comprehensive Catalog.) The new anss-url parameter provides a link to a specific event page, given either the whole url to the event page (e.g.: |anss-url=https://earthquake.usgs.gov/earthquakes/eventpage/usp000fjta
), or just the final part (e.g.: |anss-url=usp000fjta
). For uncataloged events (mainly before 1964) use "n/a" ("not available").
The new isc-event parameter provides a link to the event's bibliography page at the International Seismological Centre (ISC) (see chronological Event Index), with a summary of the preferred magnitude and epicenter, and a link to the event's data page. Data collected by the ISC is generally not available until about two months after the event. After two years all available data is reviewed and the magnitudes and location recalculated to provide the most authoritative values available. For uncataloged events (mainly before 1964) use "n/a" ("not available").
Replacement of the deprecated parameters with the new parameters should include verification of the data, and citation to the authoritative source. For this purpose please see the {{cite anss}} and {{cite isc}} templates.
Doublet earthquakes
UTC time | Doublet earthquake: |
---|---|
A: 2011-02-21 23:51:42 | |
B: 2011-02-22 00:04:17 | |
ISC event | |
A: 16168897 | |
B: 16461282 | |
Local date | February 21, 2011 |
Local time | |
A: 13:54 a.m | |
B: 14:05 p.m. | |
Magnitude | |
A: 6.1 Mw | |
B: 5.5 Mw |
There are special provisions for handling doublet earthquakes, the small number of large earthquakes where the main rupture is interrupted or delayed, resulting in two (or more: multiplet) shocks of similar magnitude, usually within minutes to days of each other. These are not aftershocks (a series of consequent events that usually begin a whole magnitude less than the main shock and steadily diminish in magnitude and frequency according to known laws), these are multiple main shocks. In such cases it incorrect to identify one shock that is slightly bigger than the rest as the main shock, and the rest as foreshocks or aftershocks. Aftershocks can be distinguished in part by starting immediately following a main shock, but usually about 1.2 magnitude smaller, and rapidly decaying in magnitude and frequency (see Bath's Law, whereas doublet/multiplet events are usually only a few events of roughly the same magnitude, separated by hours, days, or even weeks.
Setting |timestamp=doublet
(or "triplet" or "multiplet") produces a wikilink to Doublet earthquake so the reader will understand that the following lines refer to the different parts of a multiple event, not to aftershocks or to different estimates of magnitude for a single event. This feature will automatically add the article to Category:Doublet earthquakes. Where doublets have separate articles and this feature is not used, the category should be explicitly added to each article. In general, stating that the quake is a doublet should be contingent on a source.
For handling multi-part main shocks, seven parameters – timestamp, isc-event, anss-url, local-date, local-time, magnitude, and depth – have a suffixed form (e.g.: timestamp-A, etc.) for adding multiple values, as seen in the example. Other parameters (like intensity, etc.) are free-format, and multiple values can be added by judicious use of "<br>" and " ". To enable explicit labeling of each part add the line |tags=y
. See the articles in Category:Doublet earthquakes for examples; see 2010 Mindanao earthquakes for a complex example.
Microformat
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.
See also
- {{M}}
- {{eq-isc-link}}
- {{Cite anss}}
- {{Cite isc}}
- {{Short-anss}}
- {{Short-isc}}
Tracking categories
- Category:Articles on pre-1900 earthquakes (0)
- Category:Doublet earthquakes (0)
- Category:EQ_articles_using_'foreshock' (4)
- Category:EQ_articles_using_'aftershock' (4)
The following identify articles needing attention.
- Category:Pages using infobox earthquake with unknown parameters (5)
- Category:EQ articles needing UTC timestamp (3)
- Category:EQ articles with UTC timestamp error (0)
- Category:EQ articles waiting for ISC event id (15)
- Category:EQ articles needing ANSS url (15)
- Category:EQ articles with ISC set 'n/a' (0)
- Category:EQ articles with ANSS set 'n/a' (0)
- Category:EQ articles needing 'local-time' (3)
- Category:EQ articles needing 'local-date' (1)
- Category:EQ articles using 'date' or 'time' (deprecated) (0)
- Category:EQ articles using 'origintime' (deprecated) (0)
TemplateData
TemplateData for Infobox earthquake
For presenting the key data of an earthquake in a consistent, standardized format.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | suggested |
title | title | no description | Unknown | optional |
native_name | native_name | no description | Unknown | optional |
native_name_lang | native_name_lang | no description | Unknown | optional |
image | image | File name only | Unknown | suggested |
image_size | image_size | no description | Unknown | optional |
alt | alt | no description | Unknown | suggested |
image alt | image alt | no description | Unknown | optional |
caption | caption | no description | Unknown | suggested |
imagecaption | imagecaption | no description | Unknown | optional |
map | map | File name only, typically a ShakeMap (USGS) uploaded by [[User:Cewbot]] | Unknown | suggested |
map_size | map_size | no description | Unknown | optional |
mapsize | mapsize | no description | Unknown | optional |
map_alt | map_alt | no description | Unknown | suggested |
map_caption | map_caption | no description
| Unknown | suggested |
image name | image name | no description | Unknown | optional |
pushpin_map | pushpin_map | The name of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinates field position a pushpin mark and label on the map automatically. | Unknown | optional |
pushpin_label | pushpin_label | no description | Unknown | optional |
pushpin_map_alt | pushpin_map_alt | no description | Unknown | optional |
coordinates | coordinates | no description | Unknown | optional |
location | location | {{coord|XXXXX|region:XX_type:event|display=inline,title}}
| Unknown | suggested |
pushpin_mark | pushpin_mark | The name of an image to display as the pushpin mark. The default is File:Bullseye1.png ( Bullseye1.png ). | Unknown | optional |
pushpin_marksize | pushpin_marksize | no description | Unknown | optional |
pushpin_map_caption | pushpin_map_caption | no description | Unknown | optional |
pushpin_label_position | pushpin_label_position | The position of the label on the pushpin map relative to the pushpin mark (see example 5). Valid values are left, right, top and bottom. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image. | Unknown | optional |
pushpin_mapsize | pushpin_mapsize | The width to display the pushpin map, in pixels. Just the number, without \"px\". If omitted or left empty, defaults to 220. | Unknown | optional |
pushpin_relief | pushpin_relief | Any non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available (see example 1). For additional information, see Template:Location map#Relief parameter. | Unknown | optional |
pushpin_image | pushpin_image | Name of an alternative map image, which must have the same edge coordinates as the location map template specified via pushpin_map | Unknown | optional |
map2 | map2 | as per Template:Location map+ | Unknown | suggested |
timestamp | timestamp | UTC date/time ("origin time") in yyyy-mm-dd hh:mm:[ss] format
| Unknown | suggested |
pre-1900 | pre-1900 | Set to 'yes' if before 1900-01-01. Relaxes timestamp format. Earthquakes prior to 1900 are considered 'historical'.
| Unknown | optional |
timestamp-A | timestamp-A | no description | Unknown | optional |
tags | tags | no description | Unknown | optional |
timestamp-B | timestamp-B | no description | Unknown | optional |
timestamp-C | timestamp-C | no description | Unknown | optional |
timestamp-D | timestamp-D | no description | Unknown | optional |
timestamp-E | timestamp-E | no description | Unknown | optional |
isc-event | isc-event | ISC event id. Automatically linked to the event page. Usually not available until several months after the event. See template documentation for more information | Unknown | suggested |
isc-event-A | isc-event-A | no description | Unknown | optional |
isc-event-B | isc-event-B | no description | Unknown | optional |
isc-event-C | isc-event-C | no description | Unknown | optional |
isc-event-D | isc-event-D | no description | Unknown | optional |
isc-event-E | isc-event-E | no description | Unknown | optional |
USGS-ANSS | anss-url | URL to the USGS-ANSS event page. See template documentation for more information
| Unknown | suggested |
anss-url-A | anss-url-A | no description | Unknown | optional |
anss-url-B | anss-url-B | no description | Unknown | optional |
anss-url-C | anss-url-C | no description | Unknown | optional |
anss-url-D | anss-url-D | no description | Unknown | optional |
anss-url-E | anss-url-E | no description | Unknown | optional |
date | date | no description | Unknown | deprecated |
time | time | no description | Unknown | deprecated |
origintime | origintime | no description | Unknown | deprecated |
local-date | local-date | Local date of area most affected: {{Start date|YYYY|MM|DD}} | Unknown | suggested |
local-date-A | local-date-A | no description | Unknown | optional |
local-date-B | local-date-B | no description | Unknown | optional |
local-date-C | local-date-C | no description | Unknown | optional |
local-date-D | local-date-D | no description | Unknown | optional |
local-date-E | local-date-E | no description | Unknown | optional |
local-time | local-time | Local time of area most affected: hh:mm:ss [[timezone]] ([[UTC±x]])
| Unknown | suggested |
local-time-A | local-time-A | no description | Unknown | optional |
local-time-B | local-time-B | no description | Unknown | optional |
local-time-C | local-time-C | no description | Unknown | optional |
local-time-D | local-time-D | no description | Unknown | optional |
local-time-E | local-time-E | no description | Unknown | optional |
duration | duration | no description | Unknown | suggested |
magnitude | magnitude | N.N {{M|?|link=y}}. Get the initial reported magnitude from the USGS-ANSS site. Indicate the scale with {{M}}. Use {{M|w}} for moment magnitude (but only if explicitly stated), {{M|.}} if implicitly Mw, or {{M|?}} if uncertain. See template documentation for more information
| Unknown | suggested |
magnitude-A | magnitude-A | no description | Unknown | optional |
magnitude-B | magnitude-B | no description | Unknown | optional |
magnitude-C | magnitude-C | no description | Unknown | optional |
magnitude-D | magnitude-D | no description | Unknown | optional |
magnitude-E | magnitude-E | no description | Unknown | optional |
depth | depth | {{convert|NNN|km|mi|0|abbr=on}} | Unknown | suggested |
depth-A | depth-A | no description | Unknown | optional |
depth-B | depth-B | no description | Unknown | optional |
depth-C | depth-C | no description | Unknown | optional |
depth-D | depth-D | no description | Unknown | optional |
depth-E | depth-E | no description | Unknown | optional |
English variant language | engvar | en-GB to spell 'Epicentre' instead of en-US 'Epicenter' | Unknown | optional |
fault | fault | For specific fault, unless two plates are clearly the culprit. Ensure a source verifies this.
| Unknown | suggested |
type | type | no description | Unknown | suggested |
affected | affected | Affected regions or cities | Unknown | suggested |
countries affected | countries affected | no description | Unknown | optional |
damages | damages | Cost/extent of property damage. Give in local currency and/or US$ as per [[WP:CURRENCY]]. Use {{US$|X.xx|link=yes}} or {{In USD|X.xx|ISO code|year=YYYY}} | Unknown | suggested |
damage | damage | no description | Unknown | optional |
intensity | intensity | Use [[Mercalli intensity scale]]
| Unknown | suggested |
pga | pga | NN ''[[Peak ground acceleration|g]]''
| Unknown | suggested |
pgv | pgv | Peak ground velocity. NN cm/s
| Unknown | suggested |
tsunami | tsunami | no description
| Unknown | suggested |
landslide | landslide | no description | Unknown | suggested |
foreshocks | foreshocks | {{M|?|link=y}}. Get proper code from source, and date using {{Start date|YYYY|mm|dd|hh|mm}}
| Unknown | suggested |
aftershocks | aftershocks | {{M|?|link=y}}. Get proper code from source, and date using {{Start date|YYYY|mm|dd|hh|mm}} unless the same day as "origin date". Use {{plainlist}} for multiple
| Unknown | suggested |
casualties | casualties | Fatalities and injuries. Cite reliable source
| Unknown | suggested |
maxmagnitude | maxmagnitude | Swarms-only | Unknown | optional |
meandepth | meandepth | Swarms-only | Unknown | optional |
events | events | Swarms-only | Unknown | optional |
module | module | no description | Unknown | optional |
embedded | embedded | no description | Unknown | optional |
misc | misc | no description | Unknown | optional |
citations | citations | no description | Unknown | suggested |
related | related | no description | Unknown | optional |