Difference between revisions of "Template:CODATA2010/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
m
imported>DePiep
m
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
  
 
=== Usage ===
 
=== Usage ===
Line 22: Line 21:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
[[Category:Chemistry citation templates|{{PAGENAME}}]]
+
[[Category:Chemistry citation templates]]
[[Category:Physics citation templates|{{PAGENAME}}]]
+
[[Category:Physics citation templates]]
  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 21:49, 6 April 2019

Usage

CODATA2010 is for transcluding and/or referencing the 2010 CODATA recommended values of physical constants.

Parameter

  • constant (optional): the short or long name of the physical constant to be transcluded, if any.
  • include-units (optional): (no, no link, or default link). Respectively, omits the units (appropriate when the units are given elsewhere in the article), merely includes the units, or includes the units as links to the page about the unit. Requires constant to be set.
  • link-to-value (optional): (no or default yes). If yes, includes a link to NIST's webpage on that specific constant. Requires constant to be set.
  • ref (optional): (no or default yes). If yes, creates a reference.

Examples

See Template:CODATA2010/testcases#Testing main template

See also