Difference between revisions of "Template:Chocolate drinks"

From blackwiki
Jump to navigation Jump to search
imported>Bri
(format sublists)
imported>Frietjes
m (copyedit)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name       = Chocolate beverages
+
| name     = Chocolate beverages
|title     = [[:Category:Chocolate beverages|<span style="color:white">Chocolate beverages</span>]]
+
| title     = [[:Category:Chocolate beverages|{{color|white|Chocolate beverages}}]]
|listclass = hlist
+
| listclass = hlist
|state     = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
|image      =
+
| basestyle = background:chocolate; color:white;
|above      =
+
 
|basestyle = background:chocolate; color:white;
+
| group1 = Generic drinks
|group1     = Generic drinks
+
| list1 =
|list1     =  
 
 
* [[Bicerin]]
 
* [[Bicerin]]
 
* [[Cafe mocha]]
 
* [[Cafe mocha]]
Line 21: Line 20:
 
* [[Xicolatada]]
 
* [[Xicolatada]]
  
|group2     = Brand names
+
| group2 = Brand names
|list2     = {{Navbox subgroup
+
| list2 =
   |group1=Mexican|list1=
+
  {{Navbox|subgroup
 +
  | basestyle = background:chocolate; color:white;
 +
 
 +
   | group1 = Mexican
 +
  | list1 =
 
* [[Abuelita]]
 
* [[Abuelita]]
 
* [[Ibarra (chocolate)|Ibarra]]
 
* [[Ibarra (chocolate)|Ibarra]]
 
* [[Mayordomo]]
 
* [[Mayordomo]]
   |group2=Others|list2=
+
 
 +
   | group2 = Others
 +
  |list2   =
 
* [[Banania]]
 
* [[Banania]]
 
* [[Boost (health food)|Boost]]
 
* [[Boost (health food)|Boost]]
Line 49: Line 54:
 
* [[Vi-Co]]
 
* [[Vi-Co]]
 
* [[Yoo-hoo]]
 
* [[Yoo-hoo]]
}}<!-- end of brands subgroup-->
+
  }}<!-- end of brands subgroup-->
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 19:09, 13 February 2013

Initial visibility: currently defaults to autocollapse

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

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