Difference between revisions of "Template:Chocolate"

From blackwiki
Jump to navigation Jump to search
imported>Vegaswikian
m (Link)
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 2: Line 2:
 
|name = Chocolate
 
|name = Chocolate
 
|title = [[Chocolate|<span style="color: white;">Chocolate</span>]]
 
|title = [[Chocolate|<span style="color: white;">Chocolate</span>]]
 +
|listclass = hlist
 
|image = [[Image:Chocolate.jpg|100px|Chocolate]]
 
|image = [[Image:Chocolate.jpg|100px|Chocolate]]
 
|state = autocollapse
 
|state = autocollapse
Line 8: Line 9:
  
 
|group1 = Background
 
|group1 = Background
|list1 = [[Outline of chocolate]]{{·w}} [[History of chocolate]]{{·w}} [[Health effects of chocolate]]{{·w}} [[History of chocolate in Spain]]  
+
|list1 =  
 +
* [[Outline of chocolate]]
 +
* [[History of chocolate]]
 +
* [[Health effects of chocolate]]
 +
* [[History of chocolate in Spain]]  
  
 
|group2 = Origins
 
|group2 = Origins
|list2 = ''[[Theobroma cacao]]''{{·w}} [[Cocoa bean]]  
+
|list2 =  
 +
* ''[[Theobroma cacao]]''
 +
* [[Cocoa bean]]  
  
 
|group3 = Varieties
 
|group3 = Varieties
|list3 = [[Types of chocolate]]{{·w}} [[Chocolate chip]]{{·w}} [[Chocolate milk]]{{·w}} [[Fudge]]{{·w}} [[Chocolate bar]]{{·w}} [[Hot chocolate]]{{·w}} [[Chocolate ice cream]]
+
|list3 =  
 +
* [[Types of chocolate]]
 +
* [[Chocolate chip]]
 +
* [[Chocolate milk]]
 +
* [[Fudge]]
 +
* [[Chocolate bar]]
 +
* [[Hot chocolate]]
 +
* [[Chocolate ice cream]]
  
 
|group4 = Chemicals
 
|group4 = Chemicals
|list4 = [[Theobromine]]
+
|list4 =  
 +
* [[Theobromine]]
  
 
|group5 = See also
 
|group5 = See also
|list5 = [[List of bean-to-bar chocolate manufacturers]]{{·w}} [[Children in cocoa production]]
+
|list5 =  
 +
* [[List of bean-to-bar chocolate manufacturers]]
 +
* [[Children in cocoa production]]
  
 
|below =  
 
|below =  

Revision as of 18:58, 23 November 2011

Template documentation[view] [edit] [history] [purge]

Usage

{{Chocolate}}

Initial visibility: currently defaults to autocollapse

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

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

See also

ja:Template:チョコレート