Difference between revisions of "Template:Headache"

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
(fix noinclude)
imported>Tom (LT)
m (per Template_talk:Medicine_navs#Background_colours, remove unnecessary and confusing background colours using AWB)
Line 6: Line 6:
 
| image =  
 
| image =  
 
|above  =
 
|above  =
| titlestyle = background: Silver;
+
 
| groupstyle = background-color: LemonChiffon
+
 
  
 
|group1  = [[International Classification of Headache Disorders#Primary headaches|Primary]]
 
|group1  = [[International Classification of Headache Disorders#Primary headaches|Primary]]
 
|list1  = {{Navbox subgroup
 
|list1  = {{Navbox subgroup
| groupstyle = background-color: LemonChiffon
+
 
  
 
|group1  = [[International Classification of Headache Disorders#ICHD 1, ICD10 G43: Migraine|ICHD 1]]
 
|group1  = [[International Classification of Headache Disorders#ICHD 1, ICD10 G43: Migraine|ICHD 1]]
Line 41: Line 41:
 
|group2  = [[International Classification of Headache Disorders#Secondary headaches|Secondary]]
 
|group2  = [[International Classification of Headache Disorders#Secondary headaches|Secondary]]
 
|list2  = {{Navbox subgroup
 
|list2  = {{Navbox subgroup
| groupstyle = background-color: LemonChiffon
+
 
  
 
|group5  = [[International Classification of Headache Disorders#ICHD 5.2C ICD10 G44.88: Headache attributed to head and/or neck trauma|ICHD 5]]
 
|group5  = [[International Classification of Headache Disorders#ICHD 5.2C ICD10 G44.88: Headache attributed to head and/or neck trauma|ICHD 5]]

Revision as of 03:45, 8 February 2015

Initial visibility: currently defaults to autocollapse

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

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