Template:M/testcases

维基百科,自由的百科全书

Template:Testcases Reflecting the state of the template as of 2/09/2018. Purge to re-evaluate.

Error cases, should have red error message:

  • {{m}}[Template:M未使用有效代码,见文档。]
  • {{m|crazy}}[Template:M使用了无效代码'crazy',见文档。]

  • 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 ML M Mj

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

Surface wave scales: Ms Ms20 Ms(BB) 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 5.1级(USGS), Mx 5.2级(NEIC), Mx 5.9级(xxxx).

sandbox[编辑]

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

special cases
  • {{M|M}}M
  • {{M/sandbox|M}}M
  • {{M|mag}}Mag.
  • {{M/sandbox|mag}}Mag.
main codes ML and Mw
左右对比
{{M}}{{M/sandbox}}
ML ML
左右对比
{{M}}{{M/sandbox}}
ML 6.2级 ML 6.2
左右对比
{{M}}{{M/sandbox}}
MLUSGS ML (USGS)
左右对比
{{M}}{{M/sandbox}}
ML 6.2级(USGS ML (USGS) 6.2
左右对比
{{M}}{{M/sandbox}}
MW MW
左右对比
{{M}}{{M/sandbox}}
MW 6.2级 MW 6.2
左右对比
{{M}}{{M/sandbox}}
MWUSGS MW (USGS)
左右对比
{{M}}{{M/sandbox}}
MW 6.2级(USGS MW (USGS) 6.2
?-codes
左右对比
{{M}}{{M/sandbox}}
MUSGS M (USGS)
左右对比
{{M}}{{M/sandbox}}
MUSGS M (USGS)
左右对比
{{M}}{{M/sandbox}}
MUSGS M (USGS)
"Local"/"Richter" scales
左右对比
{{M}}{{M/sandbox}}
MLUSGS ML (USGS)
左右对比
{{M}}{{M/sandbox}}
ML ML
左右对比
{{M}}{{M/sandbox}}
MUSGS M (USGS)
左右对比
{{M}}{{M/sandbox}}
MjUSGS Mj (USGS)
Moment mag. scales
左右对比
{{M}}{{M/sandbox}}
M0USGS M0 (USGS)
左右对比
{{M}}{{M/sandbox}}
MWUSGS MW (USGS)
左右对比
{{M}}{{M/sandbox}}
MwwUSGS Mww (USGS)
左右对比
{{M}}{{M/sandbox}}
MwpUSGS Mwp (USGS)
左右对比
{{M}}{{M/sandbox}}
MwbUSGS Mwb (USGS)
左右对比
{{M}}{{M/sandbox}}
MwcUSGS Mwc (USGS)
左右对比
{{M}}{{M/sandbox}}
MwrUSGS Mwr (USGS)
左右对比
{{M}}{{M/sandbox}}
MwpUSGS Mwp (USGS)
Surface wave scales
左右对比
{{M}}{{M/sandbox}}
MsUSGS Ms (USGS)
左右对比
{{M}}{{M/sandbox}}
Ms20USGS Ms20 (USGS)
左右对比
{{M}}{{M/sandbox}}
Ms(BB)USGS Ms(BB) (USGS)
左右对比
{{M}}{{M/sandbox}}
MzUSGS Mz (USGS)
Body-wave scales
左右对比
{{M}}{{M/sandbox}}
mbUSGS mb (USGS)
左右对比
{{M}}{{M/sandbox}}
mBUSGS mB (USGS)
左右对比
{{M}}{{M/sandbox}}
mBBBUSGS mBBB (USGS)
左右对比
{{M}}{{M/sandbox}}
mbLgUSGS mbLg (USGS)
左右对比
{{M}}{{M/sandbox}}
mNUSGS mN (USGS)
Misc. scales
左右对比
{{M}}{{M/sandbox}}
McUSGS Mc (USGS)
左右对比
{{M}}{{M/sandbox}}
MdUSGS Md (USGS)
左右对比
{{M}}{{M/sandbox}}
MeUSGS Me (USGS)
左右对比
{{M}}{{M/sandbox}}
M(K)USGS M(K) (USGS)
左右对比
{{M}}{{M/sandbox}}
MtUSGS Mt (USGS)
左右对比
{{M}}{{M/sandbox}}
MmUSGS Mm (USGS)
Macroseismic scales
左右对比
{{M}}{{M/sandbox}}
MmsUSGS Mms (USGS)
左右对比
{{M}}{{M/sandbox}}
MfaUSGS Mfa (USGS)
test (x)
左右对比
{{M}}{{M/sandbox}}
Mx 5.1级(USGS Mx (USGS) 5.1
左右对比
{{M}}{{M/sandbox}}
Mx 5.2级(NEIC) Mx (NEIC) 5.2
左右对比
{{M}}{{M/sandbox}}
Mx 5.9级(xxxx) Mx 5.9
wrong input
  • {{M||5.1|src=USGS|link=y}}[Template:M未使用有效代码,见文档。]
  • {{M/sandbox||5.1|src=USGS|link=y}}[Template:M未使用有效代码,见文档。]
  • {{M||5.2|src=NEIC}}[Template:M未使用有效代码,见文档。]
  • {{M/sandbox||5.2|src=NEIC}}[Template:M未使用有效代码,见文档。]
  • {{M||5.9|xxxx}}[Template:M未使用有效代码,见文档。]
  • {{M/sandbox||5.9|xxxx}}[Template:M未使用有效代码,见文档。]

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