Difference between revisions of "Template:Alcoholic drinks"
Jump to navigation
Jump to search
Template documentation
| Line 6: | Line 6: | ||
| selected = {{{selected|}}} | | selected = {{{selected|}}} | ||
| + | <!-------------------------------------> | ||
| abbr1 = hist/prod | | abbr1 = hist/prod | ||
| Line 12: | Line 13: | ||
{{Navbox|child | {{Navbox|child | ||
| image = [[File:16th century brewer 80px.png|80px]] | | image = [[File:16th century brewer 80px.png|80px]] | ||
| + | | groupwidth = 6.5em | ||
| group1 = History | | group1 = History | ||
| Line 41: | Line 43: | ||
}} | }} | ||
| + | <!-------------------------------------> | ||
| abbr2 = types | | abbr2 = types | ||
| Line 47: | Line 50: | ||
{{Navbox |child | {{Navbox |child | ||
| image = [[File:Alcoholic beverages.jpg|100px]] | | image = [[File:Alcoholic beverages.jpg|100px]] | ||
| + | | groupwidth = 6.5em | ||
| group1 = [[Fermentation (food)|Fermented]] | | group1 = [[Fermentation (food)|Fermented]] | ||
| Line 79: | Line 83: | ||
}} | }} | ||
| + | <!-------------------------------------> | ||
| abbr3 = distilled | | abbr3 = distilled | ||
| Line 85: | Line 90: | ||
{{Navbox |child | {{Navbox |child | ||
| image = [[File:Alambic.svg|50px]] | | image = [[File:Alambic.svg|50px]] | ||
| + | | groupwidth = 6.5em | ||
| group1 = [[Fruit]] | | group1 = [[Fruit]] | ||
| Line 150: | Line 156: | ||
}} | }} | ||
| + | <!-------------------------------------> | ||
| abbr4 = liqueurs | | abbr4 = liqueurs | ||
Revision as of 11:28, 14 February 2015
How to manage this template's collapsible groups/sections option
- This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter
|namewhere name is one of the following words that identify the groups/sections (omit any speech or quotation marks): - hist/prod
- types
- distilled
- liqueurs
- For example:
{{Alcoholic drinks |hist/prod}}
Initial visibility: currently defaults to collapsed
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Alcoholic drinks|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Alcoholic drinks|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Alcoholic drinks|state=autocollapse}}
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 collapsed.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |

