Difference between revisions of "Template:Euphoriants"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Funandtrvl
(fx code)
Line 2: Line 2:
 
| name  = Euphoriants
 
| name  = Euphoriants
 
| title = [[Euphoriant]]s
 
| title = [[Euphoriant]]s
| state = {{{state|autocollapse}}}
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
  
| group1 = [[Canabinoids]]
+
| group1 = [[Cannabinoid]]s
 
| list1 =
 
| list1 =
 
* [[AM-2201]]
 
* [[AM-2201]]
 
* [[JWH-018]]
 
* [[JWH-018]]
* [[Tetrahydrocannabinol|THC]] (found in [[Cannabis]])
+
* [[Tetrahydrocannabinol|THC]] (found in ''[[Cannabis]]'')
 
* [[UR-144]]
 
* [[UR-144]]
  
 
| group2 = Depressants
 
| group2 = Depressants
| list2 = {{Navbox subgroup|groupstyle = width:13em; |liststyle = width:auto;
+
| list2 = {{Navbox subgroup|groupstyle = width:13em; |liststyle = width:auto; |evenodd=swap
  
 
| group1 = General
 
| group1 = General
Line 26: Line 26:
 
| group2 = [[Alcohol]]s
 
| group2 = [[Alcohol]]s
 
| list2 =
 
| list2 =
* [[Ethanol]] ([[Alcoholic beverage|drinking alcohol]])
+
* [[tert-Amyl alcohol|2M2B]]
 +
* [[Ethanol]]
 +
** [[Alcoholic beverage|drinking alcohol]]
 
* [[Ethchlorvynol]]
 
* [[Ethchlorvynol]]
* [[2M2B]]
 
 
* [[Methylpentynol]]
 
* [[Methylpentynol]]
* [[UMB68]]
+
* [[4-Hydroxy-4-methylpentanoic acid|UMB68]]
  
 
| group3 = [[Opioid]]s
 
| group3 = [[Opioid]]s
 
| list3 =
 
| list3 =
 +
* [[7-Hydroxymitragynine]] (Kratom)
 
* [[Buprenorphine]]
 
* [[Buprenorphine]]
 
* [[Codeine]]
 
* [[Codeine]]
 
* [[Dipipanone]]
 
* [[Dipipanone]]
 
* [[Fentanyl]]
 
* [[Fentanyl]]
 +
* [[Heroin]]
 
* [[Heterocodeine]]
 
* [[Heterocodeine]]
* [[Heroin]]
 
 
* [[Hydromorphone]]
 
* [[Hydromorphone]]
* [[7-Hydroxymitragynine]] (Kratom)
 
 
* [[Methadone]]
 
* [[Methadone]]
 
* [[Morphine]]
 
* [[Morphine]]
Line 50: Line 51:
 
}}
 
}}
  
| group4 = Drugs with mixed [[mechanism of action]]s (MoA)
+
| group3 = Drugs with mixed [[mechanism of action]]s (MoA)
| list4 =
+
| list3 =
 
* [[Cocaine]]
 
* [[Cocaine]]
 
* [[Dimethyltryptamine]] (DMT)
 
* [[Dimethyltryptamine]] (DMT)
Line 58: Line 59:
 
* [[Pentazocine]]
 
* [[Pentazocine]]
 
* [[Tramadol]]
 
* [[Tramadol]]
 +
 +
| group4 = Stimulants
 +
| list4 = {{Navbox subgroup|groupstyle = width:13em; |liststyle = width:auto; |evenodd=swap
 +
 +
| group1 = General
 +
| list1 = [[Nicotine]] (found in [[Tobacco]])
 +
 +
| group2 = Releasing agents (RA)
 +
| list2 =
 +
* [[4-Methylaminorex]]
 +
* [[Amphetamine]]
 +
* [[Mephedrone]]
 +
* [[Methamphetamine]]
 +
 +
| group3 = [[Reuptake inhibitor]]s (RI)
 +
| list3 =
 +
* [[Cocaine]]
 +
* [[Ethylphenidate]]
 +
* [[Methylphenidate]]
 +
}}
  
 
| group5 = Entactogens
 
| group5 = Entactogens
Line 65: Line 86:
  
 
| group6 = Hallucinogens
 
| group6 = Hallucinogens
| list6 = {{Navbox subgroup|groupstyle = width:13em; |liststyle = width:auto;
+
| list6 = {{Navbox subgroup|groupstyle = width:13em; |liststyle = width:auto; |evenodd=swap
  
 
| group1 = [[Deliriant]]s
 
| group1 = [[Deliriant]]s
Line 91: Line 112:
 
* [[Psilocybin]]
 
* [[Psilocybin]]
 
}}
 
}}
 
| group4 = Stimulants
 
| list4 = {{Navbox subgroup|groupstyle = width:13em; |liststyle = width:auto;
 
 
| group1 = General
 
| list1 = [[Nicotine]] (found in [[Tobacco]])
 
 
| group2 = Releasing agents (RA)
 
| list2 =
 
* [[Amphetamine]]
 
* [[Mephedrone]]
 
* [[Methamphetamine]]
 
* [[4-Methylaminorex]]
 
 
| group3 = [[Reuptake inhibitor]]s (RI)
 
| list3 =
 
* [[Cocaine]]
 
* [[Ethylphenidate]]
 
* [[Methylphenidate]]
 
}}
 
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Drug templates]]
 
[[Category:Drug templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:43, 26 June 2013

Initial visibility: currently defaults to autocollapse

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

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