This is the template sandbox page for Template:ErrorBar2 (diff). |
This template is used on approximately 4,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is used to display a correctly rounded uncertain quantity and its uncertainty, except that if the uncertainty exceeds a threshold times the quantity, the uncertainty is not displayed and it is merely indicated that the quantity is uncertain.
Its syntax is
((ErrorBar2|uncertain-quantity|uncertainty|threshold))
For example:
Markup | Yields |
---|---|
((ErrorBar2|1573.614|687.9|0.1)) |
approx. 1,600 |
((ErrorBar2|1573.614|187.9|0.1)) |
approx. 1,600 |
((ErrorBar2|1573.614|123.4|0.1)) |
1,600 ± 100 |
((ErrorBar2|1573.614|47.9|0.1)) |
1,570 ± 50 |
((ErrorBar2|1573.614|0.873|0.1)) |
1,573.6 ± 0.9 |
((ErrorBar2|1573.614|0.007|0.1)) |
1,573.614 ± 0.007 |