Difference between revisions of "Template:CODATA2010/doc"
Jump to navigation
Jump to search
imported>Electrical & computer engineer (copied documentation from Template:CODATA2006 with modifications) |
imported>StarryGrandma (Another template that generated a named reference) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | |||
=== Usage === | === Usage === | ||
− | '''CODATA2010''' is for referencing the 2010 [[CODATA]] recommended values of physical constants. | + | '''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''): (<code>no</code>, <code>no link</code>, or default '''<code>link</code>'''). 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''): (<code>no</code> or default '''<code>yes</code>'''). If <code>yes</code>, includes a link to NIST's webpage on that specific constant. Requires '''constant''' to be set. | ||
+ | *'''ref''' (''optional''): (<code>no</code> or default '''<code>yes</code>'''). If <code>yes</code>, creates a reference. | ||
+ | |||
+ | ==== Examples ==== | ||
+ | See [[Template:CODATA2010/testcases#Testing main template]] | ||
=== See also === | === See also === | ||
Line 9: | Line 17: | ||
*{{tl|CODATA2002}} | *{{tl|CODATA2002}} | ||
*{{tl|CODATA2006}} | *{{tl|CODATA2006}} | ||
+ | *{{tl|CODATA2014}} | ||
− | <includeonly> | + | <includeonly>{{sandbox other|| |
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
− | + | [[Category:Chemistry citation templates]] | |
− | [[Category: | + | [[Category:Physics citation templates]] |
− | + | [[Category:Templates that generate named references]] | |
− | </includeonly> | + | }}</includeonly> |
Latest revision as of 17:19, 7 August 2019
![]() | This is a documentation subpage for Template:CODATA2010. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 defaultlink
). 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 defaultyes
). Ifyes
, includes a link to NIST's webpage on that specific constant. Requires constant to be set. - ref (optional): (
no
or defaultyes
). Ifyes
, creates a reference.
Examples
See Template:CODATA2010/testcases#Testing main template
See also
- {{CODATA1998}}
- {{CODATA2002}}
- {{CODATA2006}}
- {{CODATA2014}}