Template:CODATA2010-helper/testcases
This is the template test cases page for the sandbox of Template:CODATA2010-helper. 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 and parsers with these links: |
Testing main template[edit]
No parameters[edit]
{{CODATA2010-helper}}
This call of CODATA2010-helper lacks unnamed parameters.
Just a number[edit]
{{CODATA2010-helper|2}}
2
Addition of uncertainty parameter[edit]
{{CODATA2010-helper|3.97259968933|(36)}}
3.97259968933(36)
Addition of power-of-ten parameter[edit]
{{CODATA2010-helper|7.2973525698|(24)|e=-3}}
7.2973525698(24)×10−3
Addition of include-units
and units
with removal of uncertainty parameter[edit]
{{CODATA2010-helper|2.99792458|e=8|include-units=link|units=m/s}}
2.99792458×108 m/s
Re-addition of uncertainty parameter[edit]
{{CODATA2010-helper|192.0155714|(32)|e=-12|include-units=link|units=m}}
192.0155714(32)×10−12 m
Parameter include-units=no link
[edit]
{{CODATA2010-helper|6.64465675|(29)|e=-27|include-units=no link|units=kg}}
6.64465675(29)×10−27 kg
Parameter include-units=no
with units
given anyway[edit]
{{CODATA2010-helper|5.97191967|(26)|e=-10|include-units=no|units=J}}
5.97191967(26)×10−10
Parameter include-units=no
[edit]
{{CODATA2010-helper|3727.379240|(82)|include-units=no}}
3727.379240(82)
Parameter include-units
omitted when units
is set[edit]
{{CODATA2010-helper|4.001506179125|(62)|units=u}}
4.001506179125(62) u
Parameter debug
set to the empty string[edit]
{{CODATA2010-helper|4.001506179125|(62)|e=-3|units=kg/mol|debug=}}
4.001506179125(62)×10−3 kg/mol
Parameter debug=yes
when all other parameters are set[edit]
{{CODATA2010-helper|1.00001495|(90)|e=-10|include-units=no|units=m|debug=yes}}
CODATA2010-helper parameters: {{{1}}}=1.00001495 {{{2}}}=(90) {{{e}}}=-10 {{{include-units}}}=no {{{units}}}=m
1.00001495(90)×10−10
Parameter debug=yes
when other parameters are unset[edit]
{{CODATA2010-helper|7294.2995361|(29)|debug=yes}}
CODATA2010-helper parameters: {{{1}}}=7294.2995361 {{{2}}}=(29) {{{e}}}={{{e}}} {{{include-units}}}={{{include-units}}} {{{units}}}={{{units}}}
7294.2995361(29)