Template:Earthquake magnitude/testcases
This is the template test cases page for the sandbox of Template:Earthquake magnitude. Script error: No such module "Purge". 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 with these links: |
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 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
- 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
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
- 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