Difference between revisions of "Template:Headache"

From blackwiki
Jump to navigation Jump to search
imported>Tom (LT)
(simplify title)
imported>NSH002
(tidy up)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name   = Headache
+
| name = Headache
|title   = [[Headache]] ([[ICD-10 Chapter VI: Diseases of the nervous system#Headaches|G43–G44]], [[List of ICD-9 codes 320–359: diseases of the nervous system#Other headache syndromes (339–339)|339, 346]])
+
| title = [[Headache]] ([[ICD-10 Chapter VI: Diseases of the nervous system#Headaches|G43–G44]], [[List of ICD-9 codes 320–359: diseases of the nervous system#Other headache syndromes (339–339)|339, 346]])
|state   = {{{state|autocollapse}}}
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
|listclass = hlist
+
| listclass = hlist
| image =
 
|above  =
 
  
 +
| group1 = [[International Classification of Headache Disorders#Primary headaches|Primary]]
 +
| list1 = {{Navbox|child
  
 
+
  | group1 = [[International Classification of Headache Disorders#ICHD 1, ICD10 G43: Migraine|ICHD 1]]
|group1  = [[International Classification of Headache Disorders#Primary headaches|Primary]]
+
  | list1 =
|list1  = {{Navbox subgroup
 
 
 
 
 
|group1 = [[International Classification of Headache Disorders#ICHD 1, ICD10 G43: Migraine|ICHD 1]]
 
|list1   =
 
 
* [[Migraine]]
 
* [[Migraine]]
 
** [[Familial hemiplegic migraine|Familial hemiplegic]]
 
** [[Familial hemiplegic migraine|Familial hemiplegic]]
 
* [[Retinal migraine]]
 
* [[Retinal migraine]]
  
|group2 = [[International Classification of Headache Disorders#ICHD 2, ICD10 G44.2: Tension-type headache (TTH)|ICHD 2]]
+
  | group2 = [[International Classification of Headache Disorders#ICHD 2, ICD10 G44.2: Tension-type headache (TTH)|ICHD 2]]
|list2   =
+
  | list2 =
 
* [[Tension headache|Tension]]
 
* [[Tension headache|Tension]]
  
|group3 = [[International Classification of Headache Disorders#ICHD 3, ICD10 G44.0: Cluster headache and other trigeminal autonomic cephalagias|ICHD 3]]
+
  | group3 = [[International Classification of Headache Disorders#ICHD 3, ICD10 G44.0: Cluster headache and other trigeminal autonomic cephalagias|ICHD 3]]
|list3   =
+
  | list3 =
 
* [[Cluster headache|Cluster]]
 
* [[Cluster headache|Cluster]]
 
* [[Chronic paroxysmal hemicrania]]
 
* [[Chronic paroxysmal hemicrania]]
 
* [[Short-lasting unilateral neuralgiform headache with conjunctival injection and tearing|SUNCT]]
 
* [[Short-lasting unilateral neuralgiform headache with conjunctival injection and tearing|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]]
|list4   =
+
  | list4 =
 
* [[Hemicrania continua]]
 
* [[Hemicrania continua]]
 
* [[Thunderclap headache]]
 
* [[Thunderclap headache]]
Line 37: Line 32:
 
* [[Hypnic headache]]
 
* [[Hypnic headache]]
  
}}
+
}}
  
|group2 = [[International Classification of Headache Disorders#Secondary headaches|Secondary]]
+
| group2 = [[International Classification of Headache Disorders#Secondary headaches|Secondary]]
|list2   = {{Navbox subgroup
+
| list2 = {{Navbox|child
  
 
+
  | group1 = [[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]]
+
  | list1 =
|list5  =
 
 
* [[Migralepsy]]
 
* [[Migralepsy]]
  
|group7  = [[International Classification of Headache Disorders#ICHD 7.2C ICD10 G44.82: Headache attributed to non-vascular intracranial disorder|ICHD 7]]
+
  | group2 = [[International Classification of Headache Disorders#ICHD 7.2C ICD10 G44.82: Headache attributed to non-vascular intracranial disorder|ICHD 7]]
|list7  =
+
  | list2 =
 
* [[Ictal headache]]
 
* [[Ictal headache]]
 
* [[Post-dural-puncture headache]]
 
* [[Post-dural-puncture headache]]
  
|group8  = [[International Classification of Headache Disorders#ICHD 8.2C ICD10 G44.4 or G44.83: Headache attributed to a substance or its withdrawal|ICHD 8]]
+
  | group3 = [[International Classification of Headache Disorders#ICHD 8.2C ICD10 G44.4 or G44.83: Headache attributed to a substance or its withdrawal|ICHD 8]]
|list8  =
+
  | list3 =
 
* [[Hangover]]
 
* [[Hangover]]
 
* [[Medication overuse headache]]
 
* [[Medication overuse headache]]
  
}}
+
}}
  
|group13  = [[International Classification of Headache Disorders#ICHD 13.2C ICD10 G44.847.2C G44.848.2C or G44.85: Cranial neuralgias and central causes of facial pain|ICHD 13]]
+
| group3 = [[International Classification of Headache Disorders#ICHD 13.2C ICD10 G44.847.2C G44.848.2C or G44.85: Cranial neuralgias and central causes of facial pain|ICHD 13]]
|list13  =
+
| list3 =
 
* [[Trigeminal neuralgia]]
 
* [[Trigeminal neuralgia]]
 
* [[Occipital neuralgia]]
 
* [[Occipital neuralgia]]
Line 69: Line 63:
 
* [[Tolosa-Hunt syndrome]]
 
* [[Tolosa-Hunt syndrome]]
  
|group15  = Other
+
| group4 = Other
|list15  =
+
| list4 =
 
* [[Vascular headache|Vascular]]
 
* [[Vascular headache|Vascular]]
  
| belowstyle = background: transparent; padding: 0px;
+
| belowstyle = background: transparent; padding: 0px;
| below = {{Central nervous system navs}}
+
| below = {{Central nervous system navs}}
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Headaches]][[Category:Neurology, SS, and psychiatry disease and disorder templates]]
+
[[Category:Neurology, SS, and psychiatry disease and disorder templates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:14, 2 April 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.