Template:Covid days since
Usage
{{Covid days since|date|country}}
Country variables set:
- canada
- Canada
- 26 January 2021 (
+367 dayssrc)
- france
- France
- 26 January 2021 (
+368 dayssrc)
- netherlands
- Netherlands
- 26 January 2021 (
+334 dayssrc)
- uk
- United Kingdom
- 26 January 2021 (
+361 dayssrc)
- us
- United States
- 26 January 2021 (
+372 dayssrc)
- who
- World Health Organization (default)
- 26 January 2021 (
+321 dayssrc)
Examples
{{Covid days since|March 1, 2020|us}}
01 March 2020 (+41 dayssrc)
{{Covid days since|1 March 2020|us|bold=yes}}
01 March 2020 (+41 dayssrc)
{{Covid days since|01 January 2020|us|bold=yes|break=yes}}
01 January 2020
(−19 dayssrc)
{{Covid days since|1 March 2020|us|break=yes}}
01 March 2020
(+41 dayssrc)
{{Covid days since|1 March 2020|canada|full=yes}}
01 March 2020 (36 days since first confirmed case in Canada)
The above documentation is transcluded from Template:Covid days since/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
A template to display dates of actions, and the time span from major local or worldwide announcements.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | date 1 | Date of the described action
| Date | required |
Bold | bold | Whether the date should be bold
| Boolean | optional |
Break | break | Display the information on two lines. | Boolean | optional |
Country | country 2 | The country the action was taken. This will be used for the benchmark dates of major decisions and announcement in the country. Defaults to WHO announcement about the pandemic.
| String | optional |
Full | full | Displays a long-form version, with a full sentence explaining the benchmark date. | Boolean | optional |
Fulltext | fulltext | no description | Unknown | optional |