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

From blackwiki
Jump to navigation Jump to search
imported>Netoholic
m (Netoholic moved page Template:K/doc to Template:Earthquake energy class/doc: following root template)
imported>Frietjes
 
(2 intermediate revisions by the same user not shown)
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.
Line 13: Line 13:
  
 
Label only:
 
Label only:
−
* {{tlx|K}}&nbsp;→ {{K|}}
+
* {{tlx|Earthquake energy class}}&nbsp;→ {{Earthquake energy class|}}
  
 
Automatically wikilinked to the article.
 
Automatically wikilinked to the article.
  
 
To indicate a variant scale:
 
To indicate a variant scale:
−
* {{tlx|K|R}}&nbsp;→ {{K|R}}
+
* {{tlx|Earthquake energy class|R}}&nbsp;→ {{Earthquake energy class|R}}
  
 
Same as above, but add the explanatory wikilink with {{para|link|y}}:
 
Same as above, but add the explanatory wikilink with {{para|link|y}}:
−
* {{tlx|K|R|link&#61;y}}&nbsp;→ {{K|R|link=y}}
+
* {{tlx|Earthquake energy class|R|link&#61;y}}&nbsp;→ {{Earthquake energy class|R|link=y}}
  
 
To indicate the source from which K is taken – the catalog, a regional
 
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
 
network, a specific station, or the particular version of K used in a
 
source – use the {{para|src}} parameter:
 
source – use the {{para|src}} parameter:
−
* {{tlx|K|src&#61;GNRL}}&nbsp;→ {{K|src=GNRL}}
+
* {{tlx|Earthquake energy class|src&#61;GNRL}}&nbsp;→ {{Earthquake energy class|src=GNRL}}
−
* {{tlx|K|src&#61;F68}}&nbsp;→ {{K|src=F68}}
+
* {{tlx|Earthquake energy class|src&#61;F68}}&nbsp;→ {{Earthquake energy class|src=F68}}
  
−
* {{tlx|K|src&#61;ESSN|link&#61;y}}&nbsp;→ {{K|src=ESSN|link=y}}
+
* {{tlx|Earthquake energy class|src&#61;ESSN|link&#61;y}}&nbsp;→ {{Earthquake energy class|src=ESSN|link=y}}
−
* {{tlx|K|S|src&#61;Kamchatka|link&#61;y}}&nbsp;→ {{K|S|src=Kamchatka|link=y}}
+
* {{tlx|Earthquake energy class|S|src&#61;Kamchatka|link&#61;y}}&nbsp;→ {{Earthquake energy class|S|src=Kamchatka|link=y}}
  
 
==See also==
 
==See also==
 
* [[Energy class]]
 
* [[Energy class]]
 
* [[Seismic scale]]. Brief descriptions of the most common magnitude scales.
 
* [[Seismic scale]]. Brief descriptions of the most common magnitude scales.
−
* [[:Template:M]]
+
* [[:Template:Earthquake magnitude]]
 
* {{cl|Articles using templated earthquake magnitude scale}}
 
* {{cl|Articles using templated earthquake magnitude scale}}
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||

Latest 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