Difference between revisions of "Template:CODATA2010/testcases"
imported>Electrical & computer engineer (→Testing main template: added four testcases for four new constants and doing all combinations of parameters include-units, link-to-value, and ref) |
imported>Electrical & computer engineer (→Testing sandbox version: added a testcase for each supported constant) |
||
| Line 30: | Line 30: | ||
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox|constant=alpha particle-proton mass ratio|ref=no}}</nowiki></code><br /> | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox|constant=alpha particle-proton mass ratio|ref=no}}</nowiki></code><br /> | ||
{{{{BASEPAGENAME}}/sandbox|constant=alpha particle-proton mass ratio|ref=no}} | {{{{BASEPAGENAME}}/sandbox|constant=alpha particle-proton mass ratio|ref=no}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant={220} lattice spacing of silicon}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant={220} lattice spacing of silicon}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=alpha particle-electron mass ratio}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=alpha particle-electron mass ratio}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=alpha particle mass}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=alpha particle mass}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=alpha particle mass energy equivalent}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=alpha particle mass energy equivalent}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=alpha particle mass energy equivalent in MeV}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=alpha particle mass energy equivalent in MeV}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=alpha particle mass in u}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=alpha particle mass in u}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=alpha particle molar mass}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=alpha particle molar mass}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=alpha particle-proton mass ratio}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=alpha particle-proton mass ratio}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Angstrom star}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Angstrom star}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=atomic mass constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=atomic mass constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=atomic mass constant energy equivalent}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=atomic mass constant energy equivalent}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=atomic mass constant energy equivalent in MeV}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=atomic mass constant energy equivalent in MeV}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Avogadro constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Avogadro constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Boltzmann constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Boltzmann constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=conductance quantum}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=conductance quantum}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=electric constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=electric constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=electron mass}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=electron mass}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=electron volt}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=electron volt}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=elementary charge}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=elementary charge}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Faraday constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Faraday constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=fine-structure constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=fine-structure constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=inverse fine-structure constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=inverse fine-structure constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=magnetic constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=magnetic constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=magnetic flux quantum}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=magnetic flux quantum}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=molar gas constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=molar gas constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Newtonian constant of gravitation}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Newtonian constant of gravitation}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Planck constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Planck constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Planck constant over 2 pi}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Planck constant over 2 pi}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=proton mass}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=proton mass}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=proton-electron mass ratio}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=proton-electron mass ratio}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Rydberg constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Rydberg constant}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=speed of light in vacuum}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=speed of light in vacuum}} | ||
| + | |||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | constant=Stefan-Boltzmann constant}}</nowiki></code> | ||
| + | |||
| + | {{ {{BASEPAGENAME}}/sandbox | constant=Stefan-Boltzmann constant}} | ||
| + | |||
{{clear}} | {{clear}} | ||
Latest revision as of 20:13, 25 June 2011
| This is the template test cases page for the sandbox of Template:CODATA2010. 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: |
Testing sandbox version
{{CODATA2010/sandbox}}
[1]
{{CODATA2010/sandbox|constant={220} lattice spacing of silicon|include-units=no link|ref=no}}
Template:Val [1]
{{CODATA2010/sandbox|constant=alpha particle-electron mass ratio|ref=no}}
Template:Val [2]
{{CODATA2010/sandbox|constant=alpha particle mass|include-units=link}}
Template:Val [3] [1]
{{CODATA2010/sandbox|constant=alpha particle mass energy equivalent|include-units=no|ref=no}}
Template:Val [4]
{{CODATA2010/sandbox|constant=alpha particle mass energy equivalent in MeV|include-units=link}}
Template:Val [5] [1]
{{CODATA2010/sandbox|constant=alpha particle mass in u}}
Template:Val [6] [1]
{{CODATA2010/sandbox|constant=alpha particle molar mass|ref=no}}
Template:Val [7]
{{CODATA2010/sandbox|constant=alpha particle-proton mass ratio|ref=no}}
Template:Val [8]
{{CODATA2010/sandbox | constant={220} lattice spacing of silicon}}
{{CODATA2010/sandbox | constant=alpha particle-electron mass ratio}}
{{CODATA2010/sandbox | constant=alpha particle mass}}
{{CODATA2010/sandbox | constant=alpha particle mass energy equivalent}}
{{CODATA2010/sandbox | constant=alpha particle mass energy equivalent in MeV}}
{{CODATA2010/sandbox | constant=alpha particle mass in u}}
{{CODATA2010/sandbox | constant=alpha particle molar mass}}
{{CODATA2010/sandbox | constant=alpha particle-proton mass ratio}}
{{CODATA2010/sandbox | constant=Angstrom star}}
{{CODATA2010/sandbox | constant=atomic mass constant}}
{{CODATA2010/sandbox | constant=atomic mass constant energy equivalent}}
{{CODATA2010/sandbox | constant=atomic mass constant energy equivalent in MeV}}
{{CODATA2010/sandbox | constant=Avogadro constant}}
{{CODATA2010/sandbox | constant=Boltzmann constant}}
{{CODATA2010/sandbox | constant=conductance quantum}}
{{CODATA2010/sandbox | constant=electric constant}}
{{CODATA2010/sandbox | constant=electron mass}}
{{CODATA2010/sandbox | constant=electron volt}}
{{CODATA2010/sandbox | constant=elementary charge}}
{{CODATA2010/sandbox | constant=Faraday constant}}
{{CODATA2010/sandbox | constant=fine-structure constant}}
{{CODATA2010/sandbox | constant=inverse fine-structure constant}}
{{CODATA2010/sandbox | constant=magnetic constant}}
{{CODATA2010/sandbox | constant=magnetic flux quantum}}
{{CODATA2010/sandbox | constant=molar gas constant}}
{{CODATA2010/sandbox | constant=Newtonian constant of gravitation}}
{{CODATA2010/sandbox | constant=Planck constant}}
{{CODATA2010/sandbox | constant=Planck constant over 2 pi}}
{{CODATA2010/sandbox | constant=proton mass}}
{{CODATA2010/sandbox | constant=proton-electron mass ratio}}
{{CODATA2010/sandbox | constant=Rydberg constant}}
{{CODATA2010/sandbox | constant=speed of light in vacuum}}
{{CODATA2010/sandbox | constant=Stefan-Boltzmann constant}}
Testing main template
{{CODATA2010}}
[1]
{{CODATA2010|constant={220} lattice spacing of silicon}}
{{CODATA2010|constant=alpha particle-electron mass ratio|ref=no}}
{{CODATA2010|constant=alpha particle mass|link-to-value=no}}
{{CODATA2010|constant=alpha particle mass energy equivalent|link-to-value=no|ref=no}}
{{CODATA2010|constant=alpha particle mass energy equivalent in MeV|include-units=no link}}
{{CODATA2010|constant=alpha particle mass in u|include-units=no link|ref=no}}
{{CODATA2010|constant=alpha particle molar mass|include-units=no link|link-to-value=no}}
{{CODATA2010|constant=alpha particle-proton mass ratio|include-units=no link|link-to-value=no|ref=no}}
{{CODATA2010|constant=Angstrom star|include-units=no}}
{{CODATA2010|constant=atomic mass constant|include-units=no|link-to-value=no}}
{{CODATA2010|constant=atomic mass constant energy equivalent|include-units=no|ref=no}}
{{CODATA2010|constant=atomic mass constant energy equivalent in MeV|include-units=no|link-to-value=no|ref=no}}
References
- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 P.J. Mohr, B.N. Taylor, and D.B. Newell (2011), "The 2010 CODATA Recommended Values of the Fundamental Physical Constants" (Web Version 6.0). This database was developed by J. Baker, M. Douma, and S. Kotochigova. Available: http://physics.nist.gov/constants. National Institute of Standards and Technology, Gaithersburg, MD 20899. Cite error: Invalid
<ref>tag; name "CODATA2010" defined multiple times with different content Cite error: Invalid<ref>tag; name "CODATA2010" defined multiple times with different content Cite error: Invalid<ref>tag; name "CODATA2010" defined multiple times with different content Cite error: Invalid<ref>tag; name "CODATA2010" defined multiple times with different content Cite error: Invalid<ref>tag; name "CODATA2010" defined multiple times with different content Cite error: Invalid<ref>tag; name "CODATA2010" defined multiple times with different content Cite error: Invalid<ref>tag; name "CODATA2010" defined multiple times with different content - ↑ {220} lattice spacing of silicon National Institute of Standards and Technology
- ↑ Alpha particle-electron mass ratio National Institute of Standards and Technology
- ↑ Alpha particle mass energy equivalent in MeV National Institute of Standards and Technology
- ↑ Alpha particle mass in u National Institute of Standards and Technology
- ↑ Angstrom star National Institute of Standards and Technology
- ↑ Atomic mass constant energy equivalent National Institute of Standards and Technology