Difference between revisions of "Template:AsymmetricErrorBar"

From blackwiki
Jump to navigation Jump to search
blackwiki>Spacepotato
 
blackwiki>Bryan Derksen
(template doc subpage)
Line 3: Line 3:
 
-->({{#expr: {{{2}}} round {{Sigfigs|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }}<!--
 
-->({{#expr: {{{2}}} round {{Sigfigs|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }}<!--
 
-->&ndash;{{#expr: {{{3}}} round {{Sigfigs|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }})|{{{1|}}}}}</includeonly><noinclude>
 
-->&ndash;{{#expr: {{{3}}} round {{Sigfigs|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }})|{{{1|}}}}}</includeonly><noinclude>
 
+
{{template doc}}</noinclude>
This template is used to display a correctly rounded uncertain quantity and its uncertainty,
 
where the uncertainty is different below and above the quantity.
 
Its syntax is
 
 
 
<nowiki>{{AsymmetricErrorBar|</nowiki>''uncertain-quantity''|''lower-bound''|''upper-bound''}}.
 
 
 
For example:
 
* <nowiki>{{AsymmetricErrorBar|1573.614|1541.338|1633.775}}</nowiki> yields {{AsymmetricErrorBar|1573.614|1541.338|1633.775}}.
 
* <nowiki>{{AsymmetricErrorBar|1573.614|1567.338|1583.775}}</nowiki> yields {{AsymmetricErrorBar|1573.614|1567.338|1583.775}}.
 
* <nowiki>{{AsymmetricErrorBar|1573.614|1573.227|1573.661}}</nowiki> yields {{AsymmetricErrorBar|1573.614|1573.227|1573.661}}.
 
 
 
</noinclude>
 

Revision as of 06:16, 5 November 2007

Template documentation[view] [edit] [history] [purge]

Usage

This template is used to display a correctly rounded uncertain quantity and its uncertainty, where the uncertainty is different below and above the quantity. Its syntax is

{{AsymmetricErrorBar|uncertain-quantity|lower-bound|upper-bound}}.

For example:

  • {{AsymmetricErrorBar|1573.614|1541.338|1633.775}} yields ~Expression error: Unrecognized punctuation character "[". (Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".).
  • {{AsymmetricErrorBar|1573.614|1567.338|1583.775}} yields ~Expression error: Unrecognized punctuation character "[". (Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".).
  • {{AsymmetricErrorBar|1573.614|1573.227|1573.661}} yields ~Expression error: Unrecognized punctuation character "[". (Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".).

See also