Difference between revisions of "Template:Major drug groups"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Götz
(make group column width narrower)
Line 7: Line 7:
 
| group1style = background:#fd6
 
| group1style = background:#fd6
  
| group1 = [[Human gastrointestinal tract|Gastrointestinal tract]]/[[metabolism]] ([[ATC code A|A]])
+
| group1 = [[Human gastrointestinal tract|Gastrointestinal tract]]/<br/>[[metabolism]] ([[ATC code A|A]])
 
| list1  =
 
| list1  =
 
* ''stomach acid''
 
* ''stomach acid''
Line 23: Line 23:
 
| group2style = background:MistyRose
 
| group2style = background:MistyRose
  
| group2 = [[Blood]] and blood forming organs ([[ATC code B|B]])
+
| group2 = [[Blood]] and blood<br/> forming organs ([[ATC code B|B]])
 
| list2  =
 
| list2  =
 
* [[Antithrombotic]]s  
 
* [[Antithrombotic]]s  
Line 36: Line 36:
 
| group3style = background:MistyRose
 
| group3style = background:MistyRose
  
| group3 = [[Circulatory system|Cardiovascular system]] ([[ATC code C|C]])
+
| group3 = [[Circulatory system|Cardiovascular<br/> system]] ([[ATC code C|C]])
 
| list3  =
 
| list3  =
 
* ''cardiac therapy/[[antianginal]]s''
 
* ''cardiac therapy/[[antianginal]]s''
Line 70: Line 70:
 
| group5style = background:#BBEEBB
 
| group5style = background:#BBEEBB
  
| group5 = [[Genitourinary system]] ([[ATC code G|G]])
+
| group5 = [[Genitourinary system|Genitourinary<br/> system]] ([[ATC code G|G]])
 
| list5  =
 
| list5  =
 
* [[Hormonal contraception]]
 
* [[Hormonal contraception]]
Line 77: Line 77:
 
* [[Sex steroid|Sex hormones]]
 
* [[Sex steroid|Sex hormones]]
  
| group6 = [[Endocrine system]] ([[ATC code H|H]])
+
| group6 = [[Endocrine system|Endocrine<br/> system]] ([[ATC code H|H]])
 
| list6  =
 
| list6  =
 
* [[Hypothalamic-pituitary hormone]]s
 
* [[Hypothalamic-pituitary hormone]]s
Line 88: Line 88:
 
| group7style = background:PowderBlue
 
| group7style = background:PowderBlue
  
| group7 = [[Infection]]s and [[Wikt:infestation|infestations]] ([[ATC code J|J]], [[ATC code P|P]], [[ATCvet code QI|QI]])
+
| group7 = [[Infection]]s and<br/> [[Wikt:infestation|infestations]] ([[ATC code J|J]], [[ATC code P|P]], [[ATCvet code QI|QI]])
 
| list7  =
 
| list7  =
 
* [[Antimicrobial]]s: [[Antibacterial]]s ([[Antimycobacterial]]s)
 
* [[Antimicrobial]]s: [[Antibacterial]]s ([[Antimycobacterial]]s)
Line 102: Line 102:
 
| group8style = background-color: Plum
 
| group8style = background-color: Plum
  
| group8 = [[Malignant]] disease ([[ATC code L|L01-L02]])
+
| group8 = [[Malignant]] disease<br/> ([[ATC code L|L01-L02]])
 
| list8  =
 
| list8  =
 
* [[Chemotherapy|Anticancer agents]]
 
* [[Chemotherapy|Anticancer agents]]
Line 113: Line 113:
 
| group9style = background-color: LightGreen
 
| group9style = background-color: LightGreen
  
| group9 = [[Immune system|Immune]] disease ([[ATC code L|L03-L04]])
+
| group9 = [[Immune system|Immune]] disease<br/> ([[ATC code L|L03-L04]])
 
| list9  =
 
| list9  =
 
* [[Immunomodulator]]s  
 
* [[Immunomodulator]]s  
Line 121: Line 121:
 
| group10style = background:Linen
 
| group10style = background:Linen
  
| group10 = [[Muscle]]s, [[bone]]s, and [[joint]]s ([[ATC code M|M]])
+
| group10 = [[Muscle]]s, [[bone]]s,<br/> and [[joint]]s ([[ATC code M|M]])
 
| list10  =
 
| list10  =
 
* [[Anabolic steroid]]s
 
* [[Anabolic steroid]]s
Line 133: Line 133:
 
| group11style = background:LemonChiffon
 
| group11style = background:LemonChiffon
  
| group11 = [[Human brain|Brain]] and [[nervous system]] ([[ATC code N|N]])
+
| group11 = [[Human brain|Brain]] and<br/> [[nervous system]] ([[ATC code N|N]])
 
| list11  =
 
| list11  =
 
* [[Analgesic]]s
 
* [[Analgesic]]s
Line 169: Line 169:
 
| group12style = background:MistyRose
 
| group12style = background:MistyRose
  
| group12 = [[Respiratory system]] ([[ATC code R|R]])
+
| group12 = [[Respiratory system|Respiratory<br/> system]] ([[ATC code R|R]])
 
| list12  =
 
| list12  =
 
* [[Decongestant]]s
 
* [[Decongestant]]s

Revision as of 02:55, 4 June 2013

Initial visibility: currently defaults to autocollapse

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

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