Difference between revisions of "Template:COVID-19 pandemic data/Per capita/death calculator"

From blackwiki
Jump to navigation Jump to search
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 cases 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.
+
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

Template:Significant figures

Template documentation

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