Template:Infobox earthquake/testcases
![]() | This is the template test cases page for the sandbox of Template:Infobox earthquake. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Using sandbox revision of Error: Invalid time.
Contents
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)
- 01.02 Old parameters: date, origintime
- 01.11 Valid yyyy-mm-dd hh:mm:ss :
- 01.11 Valid yyyy-mm-dd hh:mm :
- 01.12 Lacking hh:mm
- 01.13 "UTC"
- 01.14 Wrong format:
- 01.15 {Start-date}:
- 02.01 yyyy-mm-dd w/ pre-1900:
- 02.02 Mixed use: timestamp, local-date, local-time, date, time.
- 02.03 Mixed use: timestamp, local-date, local-time, date, origintime.
- 02.04 New parameters only: timestamp, local-date, local-time.
- 02.05 New: local-date, local-time, but no UTC time. Error? Yes, unless 'pre-1900=yes'.
Multiple values
For listing multiple values (like for doublet earthquakes).
- 04.01 'timestamp-A' present, but not 'timestamp':
- 04.03 ditto:
- 04.05 timestamp = doublet/triplet/multplet:
- 05.00 pre-1900:
- 05.01 pre-1900 + "A":
- 05.02 pre-1900 + doublet:
- 05.10 'timestamp' with valid time:
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:
- isc-event and anss-url:
- Same, but
|pre-1900=yes
:
- anss-url fragment:
- Check "n/a" options:
- Pre-1900=yes, nothing else: any defaults?
- Pre-1900=yes: should suppress UTC label if no data.
- Problem at 1382 Dover Straits earthquake? W/o pre-1900:
- With pre-1900=yes:
Engvar
Date * | 21 May 1382 |
---|---|
Magnitude | 6.0 Ms[1] |
Depth | 25–30 km |
Epicenter | Lua error: callParserFunction: function "#coordinates" was not found.[2] |
Areas affected | Kent, England |
Max. intensity | VII-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)
- engvar=
- engvar=en-UK
image and map
map and map2 (manual)
image and map2
map2 (Location map template)
References
- ↑ 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).
- ↑ British Geological Survey. "1382 Dover Straits". Historic British Earthquakes. Retrieved 17 March 2018.
- ↑ 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