Difference between revisions of "Template:Components of opium"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(style)
imported>Marcocapelle
(more specific categorisation)
 
(5 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|name  = Components of opium
 
|name  = Components of opium
 
|title = [[Opium]] components
 
|title = [[Opium]] components
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|groupstyle = line-height:1.2em;
 
|groupstyle = line-height:1.2em;
Line 13: Line 14:
 
* [[Coptisine]]
 
* [[Coptisine]]
 
* [[Coreximine]]
 
* [[Coreximine]]
* [[Cycloartenol]]
 
 
* [[Cycloartenone]]
 
* [[Cycloartenone]]
 
* [[Cyclolaudenol]]
 
* [[Cyclolaudenol]]
Line 106: Line 106:
 
|list9  =  
 
|list9  =  
 
* [[Meconic acid]]
 
* [[Meconic acid]]
 +
* [[Cycloartenol]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Drug templates]]
+
{{collapsible option}}
 +
[[Category:Psychoactive drug templates]]
 +
[[Category:Components]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:32, 12 September 2020

Initial visibility: currently defaults to autocollapse

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

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