Difference between revisions of "Template:Cough and cold preparations"

From blackwiki
Jump to navigation Jump to search
imported>Clr324
imported>NSH002
(tidy up)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Cough and cold preparations
+
| name = Cough and cold preparations
| title = [[Cough medicine|Cough and cold preparations]] ([[ATC code R05|R05]])
+
| title = [[Cough medicine|Cough and cold preparations]] ([[ATC code R05|R05]])
| state = {{{state|autocollapse}}}
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
|listclass = hlist
+
| listclass = hlist
 
  
| group1 = [[Mucolytic agent|Expectorant]]s
+
| group1 = [[Mucolytic agent|Expectorant]]s
| list1 =
+
| list1 =
 
* [[Althaea (plant)|Althea root]]
 
* [[Althaea (plant)|Althea root]]
 
* [[Antimony pentasulfide]]
 
* [[Antimony pentasulfide]]
Line 17: Line 16:
 
* [[Potassium iodide]]
 
* [[Potassium iodide]]
 
* [[Polygala senega|Senega]]
 
* [[Polygala senega|Senega]]
* [[Tyloxapol]]  
+
* [[Tyloxapol]]
* [[Ammonium Chloride]]  
+
* [[Ammonium Chloride]]
  
 
+
| group2 = [[Mucolytic agent|Mucolytic]]s
| group2 = [[Mucolytic agent|Mucolytic]]s
+
| list2 =
| list2 =
 
 
* [[Acetylcysteine]]
 
* [[Acetylcysteine]]
 
* [[Ambroxol]]
 
* [[Ambroxol]]
Line 37: Line 35:
 
* [[Sobrerol]]
 
* [[Sobrerol]]
 
* [[Stepronin]]
 
* [[Stepronin]]
* [[Tiopronin]]  
+
* [[Tiopronin]]
  
| group3 = [[Cough suppressant]]s
+
| group3 = [[Cough suppressant]]s
| list3 = {{Navbox subgroup
+
| list3 = {{Navbox|child
 
  
| group1 = [[Opium]] alkaloids,<br/>[[opioid]]s,<br/>and derivatives
+
  | group1 = [[Opium]] alkaloids,<br />[[opioid]]s,<br />and derivatives
| list1 =
+
  | list1 =
 
* [[Acetyldihydrocodeine]]
 
* [[Acetyldihydrocodeine]]
 
* [[Benzylmorphine]]
 
* [[Benzylmorphine]]
Line 70: Line 67:
 
* [[Tipepidine]]
 
* [[Tipepidine]]
  
| group2 = Other  
+
  | group2 = Other
| list2 =
+
  | list2 =
 
* [[Benzonatate]]
 
* [[Benzonatate]]
 
* [[Benproperine]]
 
* [[Benproperine]]
Line 97: Line 94:
 
* [[Zipeprol]]
 
* [[Zipeprol]]
  
}}
+
}}
  
| belowstyle = background: transparent; padding: 0px;
+
| belowstyle = background: transparent; padding: 0px;
| below = {{Respiratory system navs}}
+
| below = {{Respiratory system navs}}
  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Antitussives]]
+
[[Category:Drug templates by ATC]]
[[Category:Drug_templates by ATC]]</noinclude>
+
</noinclude>

Revision as of 20:37, 5 April 2015

Initial visibility: currently defaults to autocollapse

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

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