Difference between revisions of "Template:Cases in the COVID-19 pandemic/core"
Jump to navigation
Jump to search
Template documentation
imported>Sdkb m (using non-breaking spaces, per MOS:NUMERAL) |
imported>Feelthhis (3sf million per consensus) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 4: | Line 4: | ||
|conround = {{formatnum:{{Rounddown|{{{confirmed}}}/10^6|8-{{order of magnitude|{{{confirmed}}}}}}}}}{{nbsp}}million<!-- update parameters at billion --> | |conround = {{formatnum:{{Rounddown|{{{confirmed}}}/10^6|8-{{order of magnitude|{{{confirmed}}}}}}}}}{{nbsp}}million<!-- update parameters at billion --> | ||
|deaths = {{formatnum:{{{deaths}}}}} | |deaths = {{formatnum:{{{deaths}}}}} | ||
| − | |dround = {{formatnum:{{Rounddown|{{{deaths}}}| | + | |dround = {{formatnum:{{Rounddown|{{{deaths}}}/10^6|8-{{order of magnitude|{{{deaths}}}}}}}}}{{nbsp}}million<!-- update parameters at billion --> |
| − | |||
|recovered = {{formatnum:{{{recovered}}}}} | |recovered = {{formatnum:{{{recovered}}}}} | ||
|recround = {{formatnum:{{Rounddown|{{{recovered}}}/10^6|8-{{order of magnitude|{{{recovered}}}}}}}}}{{nbsp}}million<!-- update parameters at billion --> | |recround = {{formatnum:{{Rounddown|{{{recovered}}}/10^6|8-{{order of magnitude|{{{recovered}}}}}}}}}{{nbsp}}million<!-- update parameters at billion --> | ||
| Line 18: | Line 17: | ||
{{documentation|content= | {{documentation|content= | ||
This sub-template formats and calculates the various numbers returned by {{t|Cases in the COVID-19 pandemic}} to minimize the risk of error and number of explicit values that need updating. '''This template should not be used directly'''.}} | This sub-template formats and calculates the various numbers returned by {{t|Cases in the COVID-19 pandemic}} to minimize the risk of error and number of explicit values that need updating. '''This template should not be used directly'''.}} | ||
| + | [[Category:COVID-19 pandemic templates]] | ||
| + | |||
</noinclude> | </noinclude> | ||
Latest revision as of 21:13, 28 September 2020
This sub-template formats and calculates the various numbers returned by Template:T to minimize the risk of error and number of explicit values that need updating. This template should not be used directly.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |