Difference between revisions of "Template:COVID-19 pandemic"

From blackwiki
Jump to navigation Jump to search
imported>Another Believer
(2020 coronavirus pandemic in New Mexico)
imported>Yug
Line 425: Line 425:
 
   |group1 = Global
 
   |group1 = Global
 
   |list1 =  
 
   |list1 =  
* [[Template:2019–20 coronavirus pandemic data|Data by country]]
+
* [[Template:2019–20 coronavirus pandemic data|Cases, deaths, recoveries by country]]
 
* [[Template:2019–20 coronavirus pandemic data/International medical cases|Daily data by country]]
 
* [[Template:2019–20 coronavirus pandemic data/International medical cases|Daily data by country]]
 
* [[Template:2019–20 coronavirus pandemic data/WHO situation reports|WHO situation report]]
 
* [[Template:2019–20 coronavirus pandemic data/WHO situation reports|WHO situation report]]
 
* [[Template:2019–20 coronavirus pandemic data/Map (dots)|World map by city]]
 
* [[Template:2019–20 coronavirus pandemic data/Map (dots)|World map by city]]
 +
* [[Template:Hospital beds by country|Hospital beds by country]]
  
 
   |group2 = Africa
 
   |group2 = Africa

Revision as of 15:15, 17 March 2020

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{COVID-19 pandemic|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{COVID-19 pandemic|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{COVID-19 pandemic|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.


How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • timeline
    • locations
    • impacts
    • institutions
    • issues
    • people
    • data
  • For example: {{COVID-19 pandemic |issues}}

(Click [show] to see example)

Other COVID-19 templates

For the sidebar used on many articles see {{COVID-19 pandemic sidebar}}.

Select [►] to view all other related templates