Template:Earthquake magnitude/testcases

From blackwiki
Jump to navigation Jump to search

Reflecting the state of the template as of 8/05/2020. Purge to re-evaluate.

Error cases, should have red error message:

  • {{m}}[Template:M used without a valid code. See documentation.]
  • {{m|crazy}}[Template:M used with invalid code 'crazy'. See documentation.]

  • Test: ML , ML 6.2; Ms7 ,
Special case: M
Special case: Mag.
Special case: magnitude
Special case: magnitude (with unused parameter)


Blue indicates a wikilink; but red if target not there (yet).

  • Test: Mx ;

"Local"/"Richter" scales: M M M ML MLM MJMA

Moment mag. scales: M0 Mw Mww Mwp Mwpd Mwb Mwc Mwr Mwp

Surface wave scales: Ms Ms20 MsBB Mz Ms7

Body-wave scales: mb mB mBBB mBc mbLg mN

Misc. scales: Mc Md Me M(K) Mt Mm

Macroseismic scales: Mms Mfa

Some special cases: Mx(USGS) 5.1, Mx(NEIC) 5.2, Mx 5.9.

sandbox

regular "m"
  • {{Earthquake magnitude|m}} → Mm
  • {{Earthquake magnitude/sandbox|m}} → Mm
  • {{Earthquake magnitude|t}} → Mt
  • {{Earthquake magnitude/sandbox|t}} → Mt

special cases
  • {{Earthquake magnitude|M}}M
  • {{Earthquake magnitude/sandbox|M}}M
  • {{Earthquake magnitude|mag}}Mag.
  • {{Earthquake magnitude/sandbox|mag}}Mag.
  • {{Earthquake magnitude|magnitude}}magnitude
  • {{Earthquake magnitude/sandbox|magnitude}}magnitude
main codes ML and Mw

Template:Testcase table Template:Testcase table

Template:Testcase table Template:Testcase table

Template:Testcase table Template:Testcase table

Template:Testcase table Template:Testcase table

?-codes

Template:Testcase table Template:Testcase table Template:Testcase table

"Local"/"Richter" scales

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Moment mag. scales

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Surface wave scales

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Body-wave scales

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Misc. scales

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Macroseismic scales

Template:Testcase table Template:Testcase table

test (x)

Template:Testcase table Template:Testcase table Template:Testcase table

wrong input
  • {{Earthquake magnitude||5.1|link=y|src=USGS}}[Template:M used without a valid code. See documentation.]
  • {{Earthquake magnitude/sandbox||5.1|link=y|src=USGS}}[Template:M used without a valid code. See documentation.]
  • {{Earthquake magnitude||5.2|src=NEIC}}[Template:M used without a valid code. See documentation.]
  • {{Earthquake magnitude/sandbox||5.2|src=NEIC}}[Template:M used without a valid code. See documentation.]
  • {{Earthquake magnitude||5.9|xxxx}}[Template:M used without a valid code. See documentation.]
  • {{Earthquake magnitude/sandbox||5.9|xxxx}}[Template:M used without a valid code. See documentation.]

Categories

  1. Category:M_?
  2. Category:M_??
  3. Category:M_R?
  4. Category:M_L
  5. Category:M_j
  6. Category:M_w
  7. Category:M_w
  8. Category:M_wp
  9. Category:M_wb
  10. Category:M_wc
  11. Category:M_wr
  12. Category:M_ww
  13. Category:M_s
  14. Category:M_20
  15. Category:M_sbb
  16. Category:M_z
  17. Category:M_V
  18. Category:M_B
  19. Category:M_b
  20. Category:M_B
  21. Category:M_Bbb
  22. Category:M_bLg
  23. Category:M_N
  24. Category:M_c
  25. Category:M_d
  26. Category:M_0
  27. Category:M_e
  28. Category:M_K
  29. Category:M_t
  30. Category:M_m
  31. Category:M_ms
  32. Category:M_fa