Difference between revisions of "Template:Drug use"

From blackwiki
Jump to navigation Jump to search
imported>Marauder40
(Undid revision 584985517 by Marauder40 (talk) self revert, hit wrong button)
imported>Valoem
(added more legality lists)
Line 234: Line 234:
 
*[[Alcohol law|Alcohol legality]]
 
*[[Alcohol law|Alcohol legality]]
 
**[[List of countries by alcohol consumption|Alcohol consumption]]
 
**[[List of countries by alcohol consumption|Alcohol consumption]]
 +
*[[Legality of anabolic steroids|Anabolic steroid legality]]
 
*[[Legality of cannabis by country|Cannabis legality]]
 
*[[Legality of cannabis by country|Cannabis legality]]
 
**[[Annual cannabis use by country|Annual use]]
 
**[[Annual cannabis use by country|Annual use]]
Line 243: Line 244:
 
*[[List of countries by prevalence of opiates use|Opiates use]]
 
*[[List of countries by prevalence of opiates use|Opiates use]]
 
*[[Legal status of psilocybin mushrooms|Psilocybin mushrooms legality]]
 
*[[Legal status of psilocybin mushrooms|Psilocybin mushrooms legality]]
 +
*[[Legal status of Salvia divinorum|Salvia legality]]
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 21:27, 11 December 2013

Initial visibility: currently defaults to autocollapse

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

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