Difference between revisions of "Template:ErrorBar"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>Funandtrvl (refine category) |
||
| Line 11: | Line 11: | ||
* <nowiki>{{ErrorBar|1573.614|0.873}}</nowiki> yields {{ErrorBar|1573.614|0.873}}. | * <nowiki>{{ErrorBar|1573.614|0.873}}</nowiki> yields {{ErrorBar|1573.614|0.873}}. | ||
* <nowiki>{{ErrorBar|1573.614|0.007}}</nowiki> yields {{ErrorBar|1573.614|0.007}}. | * <nowiki>{{ErrorBar|1573.614|0.007}}</nowiki> yields {{ErrorBar|1573.614|0.007}}. | ||
| − | |||
[[Category:Astronomy templates]] | [[Category:Astronomy templates]] | ||
| − | [[Category: | + | [[Category:Mathematical function templates]] |
}}</noinclude> | }}</noinclude> | ||
Latest revision as of 20:18, 29 July 2020
This template is used to display a correctly rounded uncertain quantity and its uncertainty. Its syntax is
{{ErrorBar|uncertain-quantity|uncertainty}}.
For example:
- {{ErrorBar|1573.614|687.9}} yields Template:Rnd ± Expression error: Unrecognized punctuation character "["..
- {{ErrorBar|1573.614|47.9}} yields Template:Rnd ± Expression error: Unrecognized punctuation character "["..
- {{ErrorBar|1573.614|0.873}} yields Template:Rnd ± Expression error: Unrecognized punctuation character "["..
- {{ErrorBar|1573.614|0.007}} yields Template:Rnd ± Expression error: Unrecognized punctuation character "["..
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |