Template:Earthquake magnitude/testcases
Appearance
This is the template test cases page for the sandbox of Template:Earthquake magnitude. 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 and parsers with these links: |
Reflecting the state of the template as of 15/06/2022. 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 ML M 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
Some special cases: Mx(USGS) 5.1, Mx (NEIC) 5.2, Mx 5.9.
sandbox
[edit]- regular "m"
{{Earthquake magnitude|m}}
→ Mm{{Earthquake magnitude/sandbox|m}}
→ Mm
{{Earthquake magnitude|t}}
→ Mt{{Earthquake magnitude/sandbox|t}}
→ Mt
- special cases
{{Earthquake magnitude|magnitude}}
→ magnitude{{Earthquake magnitude/sandbox|magnitude}}
→ magnitude
- main codes ML and Mw
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
ML | ML |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
ML 6.2 | ML 6.2 |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
ML(USGS) | ML(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
ML(USGS) 6.2 | ML(USGS) 6.2 |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mw | Mw |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mw 6.2 | Mw 6.2 |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mw(USGS) | Mw(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mw(USGS) 6.2 | Mw(USGS) 6.2 |
- ?-codes
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
M(USGS) | M(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
M(USGS) | M(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
M(USGS) | M(USGS) |
- "Local"/"Richter" scales
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
ML(USGS) | ML(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
ML | ML |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
M(USGS) | M(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
MJMA(USGS) | MJMA(USGS) |
- Moment mag. scales
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
M0 (USGS) | M0 (USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mw(USGS) | Mw(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mww(USGS) | Mww(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mwp(USGS) | Mwp(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mwb(USGS) | Mwb(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mwc(USGS) | Mwc(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mwr(USGS) | Mwr(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mwp(USGS) | Mwp(USGS) |
- Surface wave scales
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Ms(USGS) | Ms(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Ms20(USGS) | Ms20(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
MsBB(USGS) | MsBB(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mz(USGS) | Mz(USGS) |
- Body-wave scales
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
mb(USGS) | mb(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
mB(USGS) | mB(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
mBBB(USGS) | mBBB(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
mbLg(USGS) | mbLg(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
mN(USGS) | mN(USGS) |
- Misc. scales
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mc(USGS) | Mc(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Md(USGS) | Md(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Me(USGS) | Me(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
M(K)(USGS) | M(K)(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mt(USGS) | Mt(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mm(USGS) | Mm(USGS) |
- Macroseismic scales
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mms(USGS) | Mms(USGS) |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mfa(USGS) | Mfa(USGS) |
- test (x)
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mx(USGS) 5.1 | Mx(USGS) 5.1 |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mx (NEIC) 5.2 | Mx (NEIC) 5.2 |
{{Earthquake magnitude}} | {{Earthquake magnitude/sandbox}} |
---|---|
Mx 5.9 | Mx 5.9 |
- 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
[edit]- Category:M_?
- Category:M_??
- Category:M_R?
- Category:M_L
- Category:M_j
- Category:M_w
- Category:M_w
- Category:M_wp
- Category:M_wb
- Category:M_wc
- Category:M_wr
- Category:M_ww
- Category:M_s
- Category:M_20
- Category:M_sbb
- Category:M_z
- Category:M_V
- Category:M_B
- Category:M_b
- Category:M_B
- Category:M_Bbb
- Category:M_bLg
- Category:M_N
- Category:M_c
- Category:M_d
- Category:M_0
- Category:M_e
- Category:M_K
- Category:M_t
- Category:M_m
- Category:M_ms
- Category:M_fa