Template:Testcases
Using sandbox revision of 錯誤:時間格式不正確
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)
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
01.02 Old parameters: date, origintime
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 01.11 Valid yyyy-mm-dd hh:mm:ss :
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 01.11 Valid yyyy-mm-dd hh:mm :
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 02.01 yyyy-mm-dd w/ pre-1900:
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 02.02 Mixed use: timestamp, local-date, local-time, date, time.
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
左右對比{{Infobox earthquake}} | {{Infobox earthquake/sandbox}} |
---|
Infobox earthquake/testcases日期 | 1989年10月17日 (1989-10-17) |
---|
發生時間 | 5:0:15 p.m. PDT |
---|
|
Infobox earthquake/testcasesUTC時間 | 1989-10-18 02:02:14 |
---|
日期* | 1989年10月17日 (1989-10-17) |
---|
發生時間* | 5:0:15 p.m. PDT |
---|
當地日期 | 1989年10月17日 (1989-10-17) |
---|
當地時間 | 5:04:15 p.m. PDT |
---|
| 見文檔。 |
---|
|
Close
- 02.03 Mixed use: timestamp, local-date, local-time, date, origintime.
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
左右對比{{Infobox earthquake}} | {{Infobox earthquake/sandbox}} |
---|
Infobox earthquake/testcases日期 | 1989年10月17日 (1989-10-17) |
---|
發生時間 | 5:04:15 p.m. PDT |
---|
|
Infobox earthquake/testcasesUTC時間 | 1989-10-18 02:03:14 |
---|
日期* | 1989年10月17日 (1989-10-17) |
---|
發生時間* | 5:04:15 p.m. PDT |
---|
當地日期 | 1989年10月17日 (1989-10-17) |
---|
當地時間 | 5:04:15 p.m. PDT |
---|
| 見文檔。 |
---|
|
Close
- 02.04 New parameters only: timestamp, local-date, local-time.
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 02.05 New: local-date, local-time, but no UTC time. Error? Yes, unless 'pre-1900=yes'.
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
Multiple values
For listing multiple values (like for doublet earthquakes).
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 04.01 'timestamp-A' present, but not 'timestamp':
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 04.05 timestamp = doublet/triplet/multplet:
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 05.02 pre-1900 + doublet:
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- 05.10 'timestamp' with valid time:
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
Links
Adding isc-event and anss-url parameters. The latter to eventually accept a url fragment and supply the remainder. Possibly require anss-url?
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- Pre-1900=yes, nothing else: any defaults?
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- Pre-1900=yes: should suppress UTC label if no data.
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- Problem at 1382 Dover Straits earthquake? W/o pre-1900:
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
Engvar
Quick Facts 日期, 規模 ...
Close
The 1382 Dover Straits earthquake occurred at 15:00 on 21 May. It had an estimated magnitude of 6.0 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)
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- engvar=
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
- engvar=en-UK
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
image and map
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
左右對比{{Infobox earthquake}} | {{Infobox earthquake/sandbox}} |
---|
1964 Alaska earthquakeFourth 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. | | 日期 | 1964年3月27日 (1964-03-27) (AKST) |
---|
規模 | 9.2 Mw[4] |
---|
震源深度 | 14英里(23公里) |
---|
震央 | 61°3′0″N 147°28′48″W |
---|
影響地區 | United States |
---|
損失 | $311 million |
---|
最大烈度 | XI: Extreme |
---|
最大加速度 | 0.18 g |
---|
傷亡 | 139 killed |
---|
|
1964 Alaska earthquakeFourth 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時間 | ?? |
---|
日期* | 1964年3月27日 (1964-03-27) (AKST) |
---|
規模 | 9.2 Mw[4] |
---|
震源深度 | 14英里(23公里) |
---|
震央 | 61°3′0″N 147°28′48″W |
---|
影響地區 | United States |
---|
總損失 | $311 million |
---|
最大烈度 | XI: Extreme |
---|
峰值加速度 | 0.18 g |
---|
傷亡 | 139 killed |
---|
| 見文檔。 |
---|
|
Close
map and map2 (manual)
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
image and map2
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
左右對比{{Infobox earthquake}} | {{Infobox earthquake/sandbox}} |
---|
Great Hanshin EarthquakeDamage 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. | Map showing the epicenter of the earthquake | 日期 | 1995年1月17日 (1995-01-17) |
---|
規模 | Mw 6.8 (USGS)
Mj 7.3 (adjusted from 7.2; JMA scale) |
---|
震源深度 | 16 km(9.9 mi) |
---|
震央 | Awaji Island, Japan |
---|
影響地區 | Japan |
---|
最大加速度 | 0.8 g |
---|
傷亡 | 6,434 killed around 300,000 left homeless |
---|
|
Great Hanshin EarthquakeDamage 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. | Map showing the epicenter of the earthquake | UTC時間 | ?? |
---|
日期* | 1995年1月17日 (1995-01-17) |
---|
規模 | Mw 6.8 (USGS)
Mj 7.3 (adjusted from 7.2; JMA scale) |
---|
震源深度 | 16 km(9.9 mi) |
---|
震央 | Awaji Island, Japan |
---|
影響地區 | Japan |
---|
峰值加速度 | 0.8 g |
---|
傷亡 | 6,434 killed around 300,000 left homeless |
---|
| 見文檔。 |
---|
|
Close
map2 (Location map template)
More information {{Infobox earthquake}}, {{Infobox earthquake/sandbox}} ...
Close
References
British Geological Survey. 1382 Dover Straits. Historic British Earthquakes. [2018-03-17].