Jump to content

Template:Infobox earthquake/testcases

Coordinates: 41°48′S 173°42′E / 41.800°S 173.700°E / -41.800; 173.700
From Wikipedia, the free encyclopedia

Using sandbox revision of 2018-11-19 23:02

Time

[edit]

Bringing in new time parameters 'timestamp', 'local-date', and 'local-time', which will replace 'origintime', 'time', and 'date'. Also 'pre-1900', which categorizess but does not display. Phased introduction: initially not displayed, then displayed but no error if not used, then error. Eventually 'timestamp' to be required.

  • Note: "UTC time" should be displayed in all cases (unless 'pre-1900=yes').
  • 01.01 Old parameters: date, time (w/o timestamp)
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
Infobox earthquake/testcases
UTC time??
Date *October 17, 1989 (1989-10-17)
Origin time *1:01:15 p.m. PDT
Deprecated See documentation.
  • 01.02 Old parameters: date, origintime
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
Infobox earthquake/testcases
UTC time??
Date *October 17, 1989 (1989-10-17)
Origin time *1:02:15 p.m. PDT
Deprecated See documentation.
  • 01.11 Valid yyyy-mm-dd hh:mm:ss :
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18 01:10:14
Infobox earthquake/testcases
UTC time1989-10-18 01:10:14
  • 01.11 Valid yyyy-mm-dd hh:mm :
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18 01:11
Infobox earthquake/testcases
UTC time1989-10-18 01:11
  • 01.12 Lacking hh:mm
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18
Needs 'yyyy-mm-dd hh:mm'
Infobox earthquake/testcases
UTC time1989-10-18
Needs 'yyyy-mm-dd hh:mm'
  • 01.13 "UTC"
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18 01:13 UTC
Needs 'yyyy-mm-dd hh:mm'
Infobox earthquake/testcases
UTC time1989-10-18 01:13 UTC
Needs 'yyyy-mm-dd hh:mm'
  • 01.14 Wrong format:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC timeOctober 18, 1989
Needs 'yyyy-mm-dd hh:mm'
Infobox earthquake/testcases
UTC timeOctober 18, 1989
Needs 'yyyy-mm-dd hh:mm'
  • 01.15 {Start-date}:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC timeOctober 18, 1989 (1989-10-18)
Needs 'yyyy-mm-dd hh:mm'
Infobox earthquake/testcases
UTC timeOctober 18, 1989 (1989-10-18)
Needs 'yyyy-mm-dd hh:mm'

  • 02.01 yyyy-mm-dd w/ pre-1900:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1700-01-26
Infobox earthquake/testcases
UTC time1700-01-26
  • 02.02 Mixed use: timestamp, local-date, local-time, date, time.
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18 02:02:14
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT
Infobox earthquake/testcases
UTC time1989-10-18 02:02:14
Date *October 17, 1989 (1989-10-17)
Origin time *5:0:15 p.m. PDT
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT
Deprecated See documentation.
  • 02.03 Mixed use: timestamp, local-date, local-time, date, origintime.
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18 02:03:14
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT
Infobox earthquake/testcases
UTC time1989-10-18 02:03:14
Date *October 17, 1989 (1989-10-17)
Origin time *5:04:15 p.m. PDT
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT
Deprecated See documentation.
  • 02.04 New parameters only: timestamp, local-date, local-time.
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18 02:04:14
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT
Infobox earthquake/testcases
UTC time1989-10-18 02:04:14
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT
  • 02.05 New: local-date, local-time, but no UTC time. Error? Yes, unless 'pre-1900=yes'.
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT
Infobox earthquake/testcases
UTC time??
Local dateOctober 17, 1989 (1989-10-17)
Local time5:04:15 p.m. PDT

Multiple values

[edit]

For listing multiple values (like for doublet earthquakes).

Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
USGS-ANSS 
 ComCat
 ComCat
Infobox earthquake/testcases
UTC time??
USGS-ANSS 
 ComCat
 ComCat
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
Magnitudehmmm
 6.0 Mw
 5.9 Mw
Infobox earthquake/testcases
UTC time??
Magnitudehmmm
 6.0 Mw
 5.9 Mw
  • 04.01 'timestamp-A' present, but not 'timestamp':
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time 
 2011-02-21 04:01
 2011-02-22 04:02
ISC event 
 16168897
 16461282
Local dateFebruary 21, 2011
Local time 
 13:54 a.m
 14:05 p.m.
Magnitude 
 6.0 Mw
 5.9 Mw
Infobox earthquake/testcases
UTC time 
 2011-02-21 04:01
 2011-02-22 04:02
ISC event 
 16168897
 16461282
Local dateFebruary 21, 2011
Local time 
 13:54 a.m
 14:05 p.m.
Magnitude 
 6.0 Mw
 5.9 Mw
  • 04.03 ditto:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time 
 2011-02-21 04:03
 2011-02-22 04:04
Infobox earthquake/testcases
UTC time 
 2011-02-21 04:03
 2011-02-22 04:04
  • 04.05 timestamp = doublet/triplet/multplet:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC timeDoublet earthquake:    
 2011-02-21 04:05
 2011-02-22 04:05
Infobox earthquake/testcases
UTC timeDoublet earthquake:    
 2011-02-21 04:05
 2011-02-22 04:05
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC timeTriplet earthquake:    
 2011-02-21 04:06
 2011-02-22 04:06
Infobox earthquake/testcases
UTC timeTriplet earthquake:    
 2011-02-21 04:06
 2011-02-22 04:06
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC timeMultiplet earthquake:  
 2011-02-21 04:07
 2011-02-22 04:08
Infobox earthquake/testcases
UTC timeMultiplet earthquake:  
 2011-02-21 04:07
 2011-02-22 04:08
  • 05.00 pre-1900:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1899-02-21 05:00
Infobox earthquake/testcases
UTC time1899-02-21 05:00
  • 05.01 pre-1900 + "A":
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time 
 1899-02-21 05:01
Infobox earthquake/testcases
UTC time 
 1899-02-21 05:01
  • 05.02 pre-1900 + doublet:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC timeDoublet earthquake:    
 1899-02-21 05:02
 1899-02-22 05:02
ISC event 
 16168897
 16461282
Infobox earthquake/testcases
UTC timeDoublet earthquake:    
 1899-02-21 05:02
 1899-02-22 05:02
ISC event 
 16168897
 16461282
  • 05.10 'timestamp' with valid time:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1989-10-18 00:05:10
 A: 1989-10-18 10:05:11
 B: 1989-10-19 09:05:12
 C: 1989-10-19 10:05:13
 D: 1989-10-25 01:05:14
ISC event389808
 A: 389923
 B: 390047
 C: 390049
 D: 390606
USGS-ANSSComCat
 A: ComCat
 B: ComCat
 C: ComCat
 D: ComCat
Local dateOctober 17/18/19, 1989
Local time5:05 p.m.
 A: 3:22 a.m.
Magnitude7.1 Ms
 A: 4.2 mb
 B: 4.2 mb
 C: 4.5 mb
 D: 4.6 mb
Infobox earthquake/testcases
UTC time1989-10-18 00:05:10
 A: 1989-10-18 10:05:11
 B: 1989-10-19 09:05:12
 C: 1989-10-19 10:05:13
 D: 1989-10-25 01:05:14
ISC event389808
 A: 389923
 B: 390047
 C: 390049
 D: 390606
USGS-ANSSComCat
 A: ComCat
 B: ComCat
 C: ComCat
 D: ComCat
Local dateOctober 17/18/19, 1989
Local time5:05 p.m.
 A: 3:22 a.m.
Magnitude7.1 Ms
 A: 4.2 mb
 B: 4.2 mb
 C: 4.5 mb
 D: 4.6 mb
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
Magnitude 
 A: 6.0 Mw
 B: 5.9 Mw
Infobox earthquake/testcases
UTC time??
Magnitude 
 A: 6.0 Mw
 B: 5.9 Mw


Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
Magnitude 
 A: 6.0 Mw
 B: 5.9 Mw
Infobox earthquake/testcases
UTC time??
Magnitude 
 A: 6.0 Mw
 B: 5.9 Mw
[edit]

Adding isc-event and anss-url parameters. The latter to eventually accept a url fragment and supply the remainder. Possibly require anss-url?

  • isc-event:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
ISC event389808
Infobox earthquake/testcases
UTC time??
ISC event389808
  • isc-event and anss-url:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
ISC event389808
USGS-ANSSComCat
Infobox earthquake/testcases
UTC time??
ISC event389808
USGS-ANSSComCat
  • Same, but |pre-1900=yes:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
ISC event389808
USGS-ANSSComCat
Infobox earthquake/testcases
ISC event389808
USGS-ANSSComCat
  • anss-url fragment:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
ISC event389808
USGS-ANSSComCat
Infobox earthquake/testcases
UTC time??
ISC event389808
USGS-ANSSComCat
  • Check "n/a" options:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
ISC eventn/a
 A: n/a
 B: n/a
 C: n/a
 D: n/a
 E: n/a
USGS-ANSSn/a
 A: n/a
 B: n/a
 C: n/a
 D: n/a
 E: n/a
Infobox earthquake/testcases
UTC time??
ISC eventn/a
 A: n/a
 B: n/a
 C: n/a
 D: n/a
 E: n/a
USGS-ANSSn/a
 A: n/a
 B: n/a
 C: n/a
 D: n/a
 E: n/a


  • Pre-1900=yes, nothing else: any defaults?
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
Infobox earthquake/testcases
  • Pre-1900=yes: should suppress UTC label if no data.
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time1382?
Infobox earthquake/testcases
UTC time1382?


Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
1382 Dover Straits
UTC time??
Magnitude6.0 Ms
Depth25–30 km
Epicenter51°20′N 2°00′E / 51.34°N 2.00°E / 51.34; 2.00
1382 Dover Straits
UTC time??
Date *21 May 1382 (1382-05-21)
Magnitude6.0 Ms
Depth25–30 km
Epicenter51°20′N 2°00′E / 51.34°N 2.00°E / 51.34; 2.00
Deprecated See documentation.
  • With pre-1900=yes:
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
1382 Dover Straits
Magnitude6.0 Ms
Depth25–30 km
Epicenter51°20′N 2°00′E / 51.34°N 2.00°E / 51.34; 2.00
1382 Dover Straits
Date *21 May 1382 (1382-05-21)
Magnitude6.0 Ms
Depth25–30 km
Epicenter51°20′N 2°00′E / 51.34°N 2.00°E / 51.34; 2.00
Deprecated See documentation.

Engvar

[edit]

1382 Dover Straits earthquake
Infobox earthquake/testcases is located in the United Kingdom
London
London
Canterbury
Canterbury
Infobox earthquake/testcases
Magnitude6.0 Ms[1]
Depth25–30 km
Epicenter51°20′N 2°00′E / 51.34°N 2.00°E / 51.34; 2.00[2]
Areas affectedKent, England
Max. intensityVII-VIII - Very strong to severe

The 1382 Dover Straits earthquake occurred at 15:00 on 21 May. It had an estimated magnitude of 6.0 Ms and a maximum felt intensity of VII-VIII on the Mercalli intensity scale.[3] Based on contemporary reports of damage, the epicentre is thought to have been in the Straits of Dover. The earthquake caused widespread damage in southeastern England and in the Low Countries. The earthquake interrupted a synod convened in part to examine the religious writings of John Wycliffe, which became known as the Earthquake Synod.


no engvar (default)
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
EpicenterlocABC
Infobox earthquake/testcases
UTC time??
EpicenterlocABC
engvar=
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
EpicenterlocABC
Infobox earthquake/testcases
UTC time??
EpicenterlocABC


engvar=en-UK
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Infobox earthquake/testcases
UTC time??
EpicentrelocABC
Infobox earthquake/testcases
UTC time??
EpicentrelocABC

image and map

[edit]
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
1964 Alaska earthquake
Fourth Avenue in Anchorage, Alaska, looking east from near Barrow Street. The southern edge of one of several landslides in Anchorage, this one covered an area of over a dozen blocks, including 5 blocks along the north side of Fourth Avenue. Most of the area was razed and made an urban renewal district.
UTC time??
Magnitude9.2 Mw[4]
Depth14 miles (23 km)
Epicenter61°3′0″N 147°28′48″W / 61.05000°N 147.48000°W / 61.05000; -147.48000
Areas affectedUnited States
Total damage$311 million
Max. intensityXI: Extreme
Peak acceleration0.18 g
Casualties139 killed
1964 Alaska earthquake
Fourth Avenue in Anchorage, Alaska, looking east from near Barrow Street. The southern edge of one of several landslides in Anchorage, this one covered an area of over a dozen blocks, including 5 blocks along the north side of Fourth Avenue. Most of the area was razed and made an urban renewal district.
UTC time??
Date *27 March 1964 (1964-03-27) (AKST)
Magnitude9.2 Mw[4]
Depth14 miles (23 km)
Epicenter61°3′0″N 147°28′48″W / 61.05000°N 147.48000°W / 61.05000; -147.48000
Areas affectedUnited States
Total damage$311 million
Max. intensityXI: Extreme
Peak acceleration0.18 g
Casualties139 killed
Deprecated See documentation.

map and map2 (manual)

[edit]
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
2007 Peru earthquake
Map of the Peru coastline, showing location and strength of quake.unicorns eat rainows :0 Star marks epicenter.
Map of the Peru coastline, showing location and strength of quake. Star marks epicenter.
UTC time??
Magnitude8.0 Mw
Depth39 km (24 mi)
Epicenter13°21′14″S 76°30′32″W / 13.354°S 76.509°W / -13.354; -76.509
Areas affected Peru
Tsunamiflooded part of Lima's Costa Verde highway, and much of Pisco's shore
Casualties519 confirmed dead[5]
1,366 injured[5]
2007 Peru earthquake
Map of the Peru coastline, showing location and strength of quake.unicorns eat rainows :0 Star marks epicenter.
Map of the Peru coastline, showing location and strength of quake. Star marks epicenter.
UTC time??
Date *August 15, 2007 (2007-08-15)
Origin time *23:40:57 UTC
Magnitude8.0 Mw
Depth39 km (24 mi)
Epicenter13°21′14″S 76°30′32″W / 13.354°S 76.509°W / -13.354; -76.509
Areas affected Peru
Tsunamiflooded part of Lima's Costa Verde highway, and much of Pisco's shore
Casualties519 confirmed dead[5]
1,366 injured[5]
Deprecated See documentation.

image and map2

[edit]
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
Great Hanshin Earthquake
Damage from the Great Hanshin Earthquake is kept intact at the Earthquake Memorial Park near the port of Kobe. The elevated Hanshin Expressway, in the background, was partially toppled by the earthquake.
Infobox earthquake/testcases is located in Japan
Infobox earthquake/testcases
Tokyo
Tokyo
Kobe
Kobe
Map showing the epicenter of the earthquake
UTC time??
MagnitudeMw 6.8 (USGS) Mj 7.3 (adjusted from 7.2; JMA scale)
Depth16 km (9.9 mi)
EpicenterAwaji Island, Japan
Areas affectedJapan
Peak acceleration0.8 g
Casualties6,434 killed around 300,000 left homeless
Great Hanshin Earthquake
Damage from the Great Hanshin Earthquake is kept intact at the Earthquake Memorial Park near the port of Kobe. The elevated Hanshin Expressway, in the background, was partially toppled by the earthquake.
Infobox earthquake/testcases is located in Japan
Infobox earthquake/testcases
Tokyo
Tokyo
Kobe
Kobe
Map showing the epicenter of the earthquake
UTC time??
Date *January 17, 1995 (1995-01-17)
MagnitudeMw 6.8 (USGS) Mj 7.3 (adjusted from 7.2; JMA scale)
Depth16 km (9.9 mi)
EpicenterAwaji Island, Japan
Areas affectedJapan
Peak acceleration0.8 g
Casualties6,434 killed around 300,000 left homeless
Deprecated See documentation.

map2 (Location map template)

[edit]
Side by side comparison
{{Infobox earthquake}}{{Infobox earthquake/sandbox}}
1848 Marlborough New Zealand
1848 Marlborough earthquake is located in New Zealand
1848 Marlborough earthquake
1848 Marlborough earthquake
UTC time??
MagnitudeMw 7.5
Depthshallow
Epicenter41°48′S 173°42′E / 41.800°S 173.700°E / -41.800; 173.700
Areas affectedNew Zealand, Marlborough, South Island
Casualties3 deaths
1848 Marlborough New Zealand
1848 Marlborough earthquake is located in New Zealand
1848 Marlborough earthquake
1848 Marlborough earthquake
UTC time??
Date *16 October 1848 (1848-10-16)
MagnitudeMw 7.5
Depthshallow
Epicenter41°48′S 173°42′E / 41.800°S 173.700°E / -41.800; 173.700
Areas affectedNew Zealand, Marlborough, South Island
Casualties3 deaths
Deprecated See documentation.

References

[edit]
  1. ^ Camelbeek T.; Vanneste K.; Alexandre P.; Verbeeck K.; Petermans T.; Rosset P.; Everaerts M.; Warnant R.; van Camp M. (2007). "Relevance of active faulting and seismicity studies to assessments of long-term earthquake activity and maximum magnitude in intraplate northwest Europe, between the Lower Rhine Embayment and the North Sea" (PDF). The Geological Society of America Special Paper. 425. doi:10.1130/2007.2425(14).
  2. ^ British Geological Survey. "1382 Dover Straits". Historic British Earthquakes. Retrieved 2018-03-17.
  3. ^ Varley, P.M. (1996), "Seismic risk assessment and analysis", in Harris, Colin S. (ed.), Engineering geology of the Channel Tunnel, Thomas Telford, pp. 195–8, ISBN 978-0-7277-2045-0
  4. ^ U.S. Geological Survey (7 March 2006). Historic Earthquakes - Alaska - 1964 March 28 03:36 UTC - Magnitude 8.5: The Largest Earthquake in the World. Retrieved on 2009-09-02
  5. ^ a b "Peru Civil Defense Updates Damages". 2007-09-14. Archived from the original on 16 October 2007. Retrieved 2007-09-14.