Difference between revisions of "Template:Absinthe"

From blackwiki
Jump to navigation Jump to search
m (15 revisions imported)
 
(11 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
| title    = [[Absinthe]]
 
| title    = [[Absinthe]]
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
| name      = Absinthe
 
| name      = Absinthe
 
| image    = [[File:Absinthe-glass.jpg|80px]]
 
| image    = [[File:Absinthe-glass.jpg|80px]]
 
+
| titlestyle = background: #76B583
 +
| groupstyle = background: #76B583
 +
| belowstyle = background: #76B583
 
| group1 = Brands
 
| group1 = Brands
 
| list1  =  
 
| list1  =  
Line 30: Line 33:
 
* ''[[Acorus calamus]]''
 
* ''[[Acorus calamus]]''
 
* ''[[Angelica archangelica]]''
 
* ''[[Angelica archangelica]]''
* [[Fenchone]]
+
* ''[[Artemisia absinthium]]'' ([[Thujone]])
* [[Thujone]]
+
* ''[[Foeniculum vulgare]]'' ([[Fenchone]])
 +
* ''[[Hyssopus officinalis]]'' ([[Thujone]], [[phenol]])
  
 
| group4 = [[Absinthe in popular culture|Popular culture]]
 
| group4 = [[Absinthe in popular culture|Popular culture]]
Line 44: Line 48:
 
* [[Jean Lanfray]]
 
* [[Jean Lanfray]]
  
 +
|below =
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Drink navigational boxes]]
 
[[Category:Drink navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:40, 16 October 2020

Initial visibility: currently defaults to autocollapse

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

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