Difference between revisions of "Template:Earthquake energy class/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 2: Line 2:
 
Displays "K", the label for earthquake magnitude used in the  ''[[energy class ]]'' (K-class) system. Optionally includes: an explanatory wikilink, a subscripted code to indicate a variant scale, and (in parentheses) the source catalog or network. Recommended use of this template is for the first use of "K" in an article. In all cases the article is added to a tracking category.
 
Displays "K", the label for earthquake magnitude used in the  ''[[energy class ]]'' (K-class) system. Optionally includes: an explanatory wikilink, a subscripted code to indicate a variant scale, and (in parentheses) the source catalog or network. Recommended use of this template is for the first use of "K" in an article. In all cases the article is added to a tracking category.
  
−
For M (magnitude) values that have been calculated from the published K value please use the {{m|k}} form ({{tlx|m|k}}) via [[:Template:M]]. There are a variety of formulas for such calculations; any such calculation done in an article should note the formula used and the source describing it.
+
For M (magnitude) values that have been calculated from the published K value please use the {{Earthquake magnitude|k}} form ({{tlx|Earthquake magnitude|k}}) via [[:Template:Earthquake magnitude]]. There are a variety of formulas for such calculations; any such calculation done in an article should note the formula used and the source describing it.
  
 
=== Usage ===
 
=== Usage ===
  
−
* <code><nowiki>{{ M | <code> | src = <source> | link=y }}</nowiki></code>
+
* <code><nowiki>{{Earthquake energy class| <code> | src = <source> | link=y }}</nowiki></code>
  
 
Does not take a value or relation. All parameters optional.
 
Does not take a value or relation. All parameters optional.

Revision as of 17:32, 29 July 2020

Displays "K", the label for earthquake magnitude used in the energy class (K-class) system. Optionally includes: an explanatory wikilink, a subscripted code to indicate a variant scale, and (in parentheses) the source catalog or network. Recommended use of this template is for the first use of "K" in an article. In all cases the article is added to a tracking category.

For M (magnitude) values that have been calculated from the published K value please use the M(K)  form ({{Earthquake magnitude|k}}) via Template:Earthquake magnitude. There are a variety of formulas for such calculations; any such calculation done in an article should note the formula used and the source describing it.

Usage

  • {{Earthquake energy class| <code> | src = <source> | link=y }}

Does not take a value or relation. All parameters optional.

Examples

Label only:

Automatically wikilinked to the article.

To indicate a variant scale:

Same as above, but add the explanatory wikilink with |link=y:

To indicate the source from which K is taken – the catalog, a regional network, a specific station, or the particular version of K used in a source – use the |src= parameter:

See also