跳转到内容

Template:M/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}}
ML(USGS) 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}}
MW(USGS) MW (USGS)
左右对比
{{M}}{{M/sandbox}}
MW 6.2级(USGS) MW (USGS) 6.2
?-codes
左右对比
{{M}}{{M/sandbox}}
M(USGS) M (USGS)
左右对比
{{M}}{{M/sandbox}}
M(USGS) M (USGS)
左右对比
{{M}}{{M/sandbox}}
M(USGS) M (USGS)
"Local"/"Richter" scales
左右对比
{{M}}{{M/sandbox}}
ML(USGS) ML (USGS)
左右对比
{{M}}{{M/sandbox}}
ML ML
左右对比
{{M}}{{M/sandbox}}
M(USGS) M (USGS)
左右对比
{{M}}{{M/sandbox}}
Mj(USGS) Mj (USGS)
Moment mag. scales
左右对比
{{M}}{{M/sandbox}}
M0(USGS) M0 (USGS)
左右对比
{{M}}{{M/sandbox}}
MW(USGS) MW (USGS)
左右对比
{{M}}{{M/sandbox}}
Mww(USGS) Mww (USGS)
左右对比
{{M}}{{M/sandbox}}
Mwp(USGS) Mwp (USGS)
左右对比
{{M}}{{M/sandbox}}
Mwb(USGS) Mwb (USGS)
左右对比
{{M}}{{M/sandbox}}
Mwc(USGS) Mwc (USGS)
左右对比
{{M}}{{M/sandbox}}
Mwr(USGS) Mwr (USGS)
左右对比
{{M}}{{M/sandbox}}
Mwp(USGS) Mwp (USGS)
Surface wave scales
左右对比
{{M}}{{M/sandbox}}
Ms(USGS) Ms (USGS)
左右对比
{{M}}{{M/sandbox}}
Ms20(USGS) Ms20 (USGS)
左右对比
{{M}}{{M/sandbox}}
Ms(BB)(USGS) Ms(BB) (USGS)
左右对比
{{M}}{{M/sandbox}}
Mz(USGS) Mz (USGS)
Body-wave scales
左右对比
{{M}}{{M/sandbox}}
mb(USGS) mb (USGS)
左右对比
{{M}}{{M/sandbox}}
mB(USGS) mB (USGS)
左右对比
{{M}}{{M/sandbox}}
mBBB(USGS) mBBB (USGS)
左右对比
{{M}}{{M/sandbox}}
mbLg(USGS) mbLg (USGS)
左右对比
{{M}}{{M/sandbox}}
mN(USGS) mN (USGS)
Misc. scales
左右对比
{{M}}{{M/sandbox}}
Mc(USGS) Mc (USGS)
左右对比
{{M}}{{M/sandbox}}
Md(USGS) Md (USGS)
左右对比
{{M}}{{M/sandbox}}
Me(USGS) Me (USGS)
左右对比
{{M}}{{M/sandbox}}
M(K)(USGS) M(K) (USGS)
左右对比
{{M}}{{M/sandbox}}
Mt(USGS) Mt (USGS)
左右对比
{{M}}{{M/sandbox}}
Mm(USGS) Mm (USGS)
Macroseismic scales
左右对比
{{M}}{{M/sandbox}}
Mms(USGS) Mms (USGS)
左右对比
{{M}}{{M/sandbox}}
Mfa(USGS) 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