Template:Education statistics on the COVID-19 pandemic/doc

From Wikipedia, the free encyclopedia

Testing[edit]

  • Learners affected: 825 million
  • Percentage: 47
  • Nationwide: 23
  • Local: 40
  • Total: 63
  • Open: 112
  • Date: 12 January 2021
  • Shortdate:
  • Reference: [1]
  • Accuratepercentage: 46.9832

Usage[edit]

Retrieve desired values by passing a parameter to the temple when adding to an article. For example:

  • Get learners: {{Education statistics on the COVID-19 pandemic|learners}}
  • Get percentage: {{Education statistics on the COVID-19 pandemic|percentage}}

All other parameters have the same name as described in Testing. "Total" describes nationwide + local closures. It does not include open schools.

Calculation[edit]

Since the original source does not provide the percentage of total students affected by the pandemic, we must calculate it. This is done using cross-multiplication, based on the equality:

where:

  • % of students affected by nationwide closures is input into this template as parm perc;
  • # of affected students in total is is input into this template as parm totala;
  • # of students affected by nationwide closures is input into this template as parm nationala; and
  • % of total students affected is the value (x) to be derived from the others.

The necessary information can be found on the source provided (§COVID-19 Impact on Education). To obtain the total number of students affected (totala), hover over the graph next to the map. The values for nationala and perc are found just below the graph.

This template (actually its /core sub-template) uses the inputs to perform the necessary arithmetic: or: , which becomes the output value percentage.


  1. ^ "School closures caused by Coronavirus (COVID-19)". UNESCO. Retrieved 2021-01-12.