Template:Infobox earthquake/testcases

From blackwiki
Jump to navigation Jump to search

Using sandbox revision of Error: Invalid time.

Time

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)

Template:Testcase table

  • 01.02 Old parameters: date, origintime

Template:Testcase table

  • 01.11 Valid yyyy-mm-dd hh:mm:ss :

Template:Testcase table

  • 01.11 Valid yyyy-mm-dd hh:mm :

Template:Testcase table

  • 01.12 Lacking hh:mm

Template:Testcase table

  • 01.13 "UTC"

Template:Testcase table

  • 01.14 Wrong format:

Template:Testcase table

  • 01.15 {Start-date}:

Template:Testcase table


  • 02.01 yyyy-mm-dd w/ pre-1900:

Template:Testcase table

  • 02.02 Mixed use: timestamp, local-date, local-time, date, time.

Template:Testcase table

  • 02.03 Mixed use: timestamp, local-date, local-time, date, origintime.

Template:Testcase table

  • 02.04 New parameters only: timestamp, local-date, local-time.

Template:Testcase table

  • 02.05 New: local-date, local-time, but no UTC time. Error? Yes, unless 'pre-1900=yes'.

Template:Testcase table

Multiple values

For listing multiple values (like for doublet earthquakes).

Template:Testcase table

Template:Testcase table

  • 04.01 'timestamp-A' present, but not 'timestamp':

Template:Testcase table

  • 04.03 ditto:

Template:Testcase table

  • 04.05 timestamp = doublet/triplet/multplet:

Template:Testcase table

Template:Testcase table

Template:Testcase table

  • 05.00 pre-1900:

Template:Testcase table

  • 05.01 pre-1900 + "A":

Template:Testcase table

  • 05.02 pre-1900 + doublet:

Template:Testcase table

  • 05.10 'timestamp' with valid time:

Template:Testcase table

Template:Testcase table


Template:Testcase table

Links

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:

Template:Testcase table

  • isc-event and anss-url:

Template:Testcase table

  • Same, but |pre-1900=yes:

Template:Testcase table

  • anss-url fragment:

Template:Testcase table

  • Check "n/a" options:

Template:Testcase table


  • Pre-1900=yes, nothing else: any defaults?

Template:Testcase table

  • Pre-1900=yes: should suppress UTC label if no data.

Template:Testcase table


Template:Testcase table

  • With pre-1900=yes:

Template:Testcase table

Engvar

Script error: No such module "If empty".
Infobox earthquake/testcases is located in the United Kingdom
London
London
Canterbury
Canterbury
Infobox earthquake/testcases
Date *21 May 1382 (1382-05-21)
Magnitude6.0 Ms[1]
Depth25–30 km
EpicenterLua error: callParserFunction: function "#coordinates" was not found.[2]
Areas affectedKent, England
Max. intensityVII-VIII - Very strong to severe
Deprecated See documentation.

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)

Template:Testcase table

engvar=

Template:Testcase table


engvar=en-UK

Template:Testcase table

image and map

Template:Testcase table

map and map2 (manual)

Template:Testcase table

image and map2

Template:Testcase table

map2 (Location map template)

Template:Testcase table

References

  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 17 March 2018.
  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