Difference between revisions of "Template:Drug policy nav"

From blackwiki
Jump to navigation Jump to search
imported>BigJolly9
m
imported>Colonies Chris
(wp:datescript-assisted date/terms audit; see wp:unlinkdates, wp:overlink)
Line 5: Line 5:
 
| bodyclass = hlist
 
| bodyclass = hlist
  
| group1 = [[Africa]]
+
| group1 = Africa
 
| list1  =  
 
| list1  =  
  
| group2 = [[Asia]]
+
| group2 = Asia
 
| list2  =  
 
| list2  =  
 
*[[Drug policy of India|India]]
 
*[[Drug policy of India|India]]
  
| group3 = [[Europe]]
+
| group3 = Europe
 
| list3  =  
 
| list3  =  
 
*[[Drug policy of the Third Reich|Nazi Germany]]
 
*[[Drug policy of the Third Reich|Nazi Germany]]
Line 21: Line 21:
 
*[[Drug policy of Sweden|Sweden]]
 
*[[Drug policy of Sweden|Sweden]]
  
| group4 = [[North America]]
+
| group4 = North America
 
| list4 =  
 
| list4 =  
 
*[[Drug policy of Canada|Canada]]
 
*[[Drug policy of Canada|Canada]]
 
*[[Drug policy of the United States|United States]]
 
*[[Drug policy of the United States|United States]]
  
| group5 = [[South America]]
+
| group5 = South America
 
| list5  =  
 
| list5  =  
  
| group6 = [[Oceania]]
+
| group6 = Oceania
 
| list6  =  
 
| list6  =  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 10:46, 6 December 2013

Initial visibility: currently defaults to autocollapse

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

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