Difference between revisions of "Template:Chocolate"

From blackwiki
Jump to navigation Jump to search
imported>Xb2u7Zjzc32
(Drugs)
imported>Poeticbent
(please respect our going standards → they are perfectly fine, no red links in templates please, navigation only)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name = Chocolate
 
  | name = Chocolate
  | title = [[Chocolate|{{color|white|Chocolate}}]]
+
  | title = [[Chocolate]]
 
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
  | listclass = hlist
 
  | listclass = hlist
 
 
  | image = [[File:Starr 020813-0016 Theobroma cacao.jpg|100px|Cacao fruit]]
 
  | image = [[File:Starr 020813-0016 Theobroma cacao.jpg|100px|Cacao fruit]]
 
| basestyle = background: #7B3F00;color:white;
 
 
 
  | group1 = Overview
 
  | group1 = Overview
 
  | list1 =
 
  | list1 =
Line 14: Line 10:
 
* [[History of chocolate|History]] ([[History of chocolate in Spain|in Spain]])
 
* [[History of chocolate|History]] ([[History of chocolate in Spain|in Spain]])
  
  | group2 = ''[[Theobroma|{{color|white|Theobroma}}]]''
+
  | group2 = ''[[Theobroma]]''
 
  | list2 =
 
  | list2 =
 
* ''[[Theobroma]]''
 
* ''[[Theobroma]]''
 
** ''[[Theobroma cacao]]''
 
** ''[[Theobroma cacao]]''
 
** ''[[Cupuaçu|Theobroma grandiflorum]]''
 
** ''[[Cupuaçu|Theobroma grandiflorum]]''
** ''[[Theobroma speciosum]]''
 
 
** ''[[Theobroma bicolor]]''
 
** ''[[Theobroma bicolor]]''
  

Revision as of 05:33, 30 January 2016

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