Difference between revisions of "Template:COVID-19 pandemic data/Per capita/death calculator"
Jump to navigation
Jump to search
Template documentation
imported>Sdkb (copying case calculator to create death calculator) |
imported>Sdkb (doc) |
||
| Line 1: | Line 1: | ||
{{significant figures|{{#expr: 1000000*{{formatnum:{{wdib|P1120|ps=1|qid={{wikidata|label|raw|page=COVID-19 pandemic in {{{pandemic|{{{country|Afghanistan}}}}}}}}|list=p-1}}|R}}/{{formatnum:{{wikidata|property|normal+|{{wikidata|label|raw|page={{{country|Afghanistan}}}}}|P1082}}|R}} }}|3}}<noinclude>{{documentation|content= | {{significant figures|{{#expr: 1000000*{{formatnum:{{wdib|P1120|ps=1|qid={{wikidata|label|raw|page=COVID-19 pandemic in {{{pandemic|{{{country|Afghanistan}}}}}}}}|list=p-1}}|R}}/{{formatnum:{{wikidata|property|normal+|{{wikidata|label|raw|page={{{country|Afghanistan}}}}}|P1082}}|R}} }}|3}}<noinclude>{{documentation|content= | ||
| − | This template helps [[Template:COVID-19 pandemic data/Per capita]] calculate the number of | + | This template helps [[Template:COVID-19 pandemic data/Per capita]] calculate the number of deaths per million population, importing data from Wikidata. It takes as a parameter {{para|country}}, which should be set to the name of the country's Wikipedia page. If the article title differs from the standard format ("COVID-19 pandeminc in [Country name]"), {{para|pandemic}} may be used, set to the name of the pandemic article. |
| + | |||
| + | See also: [[Template:COVID-19 pandemic data/Per capita/case calculator]] | ||
}}</noinclude> | }}</noinclude> | ||
Revision as of 09:21, 6 June 2020
This template helps Template:COVID-19 pandemic data/Per capita calculate the number of deaths per million population, importing data from Wikidata. It takes as a parameter |country=, which should be set to the name of the country's Wikipedia page. If the article title differs from the standard format ("COVID-19 pandeminc in [Country name]"), |pandemic= may be used, set to the name of the pandemic article.
See also: Template:COVID-19 pandemic data/Per capita/case calculator
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |