Difference between revisions of "Template:Infectious disease"

From blackwiki
Jump to navigation Jump to search
imported>TompaDompa
imported>Tom (LT)
(Undid revision 988444796 by Kamuwlym. (talk))
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| name      = Infectious disease
 
| name      = Infectious disease
 
| title    = [[Infection|Infectious disease]] and [[microbiology]]
 
| title    = [[Infection|Infectious disease]] and [[microbiology]]
| state    = uncollapsed
+
| state    = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
  
 
| group1 = Disciplines and [[pathogen]]s
 
| group1 = Disciplines and [[pathogen]]s
| list1  = [[Microbiology|Bacteriology]] {{nobold|([[Pathogenic bacteria|bacteria]])}}, [[Virology]] {{nobold|([[Viral disease|virus]]es, [[prion]]s)}}, [[Pathogenic fungus|Mycology]] {{nobold|([[Mycosis|fungi]])}}, [[Parasitology]] {{nobold|([[protozoa]], [[helminths]])}}, [[Medical entomology|Entomology]] {{nobold|([[ectoparasite]]s)}}
+
| list1  =
 +
* [[Bacteriology]]
 +
** [[Pathogenic bacteria|bacteria]]
 +
* [[Virology]]
 +
** [[Viral disease|virus]]es
 +
** [[prion]]s
 +
* [[Pathogenic fungus|Mycology]]
 +
** [[Mycosis|fungi]]
 +
* [[Parasitology]]
 +
** [[protozoa]]
 +
** [[helminths]]
 +
* [[Medical entomology|Entomology]]
 +
** [[ectoparasite]]s
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 10:01, 13 November 2020

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Infectious disease|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Infectious disease|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Infectious disease|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.