Module:COVID-19 data/doc
Yi palo
This is the documentation page for Module:COVID-19 data
This is a documentation subpage for Module:COVID-19 data. It contains usage information, categories and other content that is not part of the original module page. |
This Lua module is used on approximately 230 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
This module and these templates show data on the COVID-19 pandemic.
Core components
[mali mi di yibu sheena n-niŋ]- Module:COVID-19 data (module)
{{#invoke:COVID-19 data|main|columns=columns|sort=column to sort by}}
(table)
- Template:COVID-19 data (main table)
{{COVID-19 data}}
- Template:COVID-19 data/text (plain text numbers)
{{COVID-19 data/text|location code|type}}
- Template:COVID-19 data/date (date last updated)
{{COVID-19 data/date|format=format}}
- Template:COVID-19 data/cite (citation for data)
{{COVID-19 data/cite}}
- Template:COVID-19 data/data (JSON data)
Tables
[mali mi di yibu sheena n-niŋ]The body of a table can be made by using the main()
function:
{{#invoke:COVID-19 data|main|columns=columns|sort=column to sort by}}
This only generates table contents (the body). Headers and titles can be customised independent of the module, to allow for styling.
Please use the following reference (preferably in the table title), to avoid duplicate references and have automatically updating access date and authors:
<ref name="Template:COVID-19 data">{{COVID-19 data/cite}}</ref>
Page | C? | D? | VT? | VD? | VF? | Other? | Col? | Notes |
---|---|---|---|---|---|---|---|---|
Template:COVID-19 data | Main table | |||||||
Template:COVID-19 pandemic data | Other "hub" template | |||||||
Template:COVID-19 pandemic death rates | Deaths/million | |||||||
Template:COVID-19 pandemic death rates by country | Larger, has row numbers | |||||||
Template:COVID-19 vaccination data | % vaccinated | |||||||
Template:COVID-19 vaccination data in Africa | ||||||||
Template:COVID-19 vaccination data in North America |
References
[mali mi di yibu sheena n-niŋ]