Difference between revisions of "Template:Headache"

From blackwiki
Jump to navigation Jump to search
imported>Graham87
(Undid revision 704104947 by 36.225.99.9 (talk), other edit by this user are disruptive)
imported>Paine Ellsworth
Line 22: Line 22:
 
* [[Cluster headache|Cluster]]
 
* [[Cluster headache|Cluster]]
 
* [[Chronic paroxysmal hemicrania]]
 
* [[Chronic paroxysmal hemicrania]]
* [[Short-lasting unilateral neuralgiform headache with conjunctival injection and tearing|SUNCT]]
+
* [[SUNCT syndrome|SUNCT]]
  
 
   | group4 = [[International Classification of Headache Disorders#ICHD 4.2C ICD10 G44.80: Other primary headaches|ICHD 4]]
 
   | group4 = [[International Classification of Headache Disorders#ICHD 4.2C ICD10 G44.80: Other primary headaches|ICHD 4]]

Revision as of 12:31, 27 November 2017

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.