Difference between revisions of "Template:Antipruritics"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jsjsjs1111
m (19 revisions imported)
 
(5 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
| name  = Antipruritics
 
| name  = Antipruritics
 
| title = [[Antipruritic]]s ([[ATC code D04|D04]])
 
| title = [[Antipruritic]]s ([[ATC code D04|D04]])
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
| groupstyle = background-color: Linen
 
| groupstyle = background-color: Linen
Line 20: Line 21:
 
* [[Diphenhydramine]]
 
* [[Diphenhydramine]]
 
* [[Chlorphenoxamine]]
 
* [[Chlorphenoxamine]]
 +
 
| group2 = [[Anesthetic]]s for topical use
 
| group2 = [[Anesthetic]]s for topical use
 
|  list2 =
 
|  list2 =
 
* [[Lidocaine]]
 
* [[Lidocaine]]
* [[Cinchocaine]]
+
* [[Dibucaine]]
 
* [[Oxybuprocaine]]
 
* [[Oxybuprocaine]]
 
* [[Benzocaine]]
 
* [[Benzocaine]]
Line 29: Line 31:
 
* [[Tetracaine]]
 
* [[Tetracaine]]
 
* [[Pramocaine]]
 
* [[Pramocaine]]
| group3 =
+
 
 +
| group3 = Others
 
|  list3 =  
 
|  list3 =  
| group4 =
+
* [[Corticosteroid]]s (e.g., [[hydrocortisone]])
|  list4 =
+
* [[Counterirritant]]s (e.g., [[Mentha|mint oil]], [[menthol]], [[camphor]])
 +
* [[Nalfurafine]]
  
|  belowstyle = background: transparent; padding: 0px;
 
|  below = {{Integument navs}}
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Antipruritics]]
 
[[Category:Antipruritics]]
 
[[Category:Drug_templates by ATC]]
 
[[Category:Drug_templates by ATC]]
[[zh:Template:止痒药]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:22, 22 October 2020

Initial visibility: currently defaults to autocollapse

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

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