Difference between revisions of "Template:Charlie and the Chocolate Factory"

From blackwiki
Jump to navigation Jump to search
imported>Neelix
(General cleanup; combined sections, removed unlinked text, etc.)
imported>Neelix
(Added link to franchise and split off books into their own section)
Line 2: Line 2:
 
|name    = Charlie and the Chocolate Factory
 
|name    = Charlie and the Chocolate Factory
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
|title  =  ''[[Charlie and the Chocolate Factory]]''
+
|title  =  ''[[Charlie and the Chocolate Factory (franchise)|Charlie and the Chocolate Factory]]''
 
|listclass = hlist
 
|listclass = hlist
 
|image  =  
 
|image  =  
 
|above  =
 
|above  =
  
|group1  = Film adaptations
+
|group1  = Books
 
|list1  =
 
|list1  =
 +
* ''[[Charlie and the Chocolate Factory]]''
 +
* ''[[Charlie and the Great Glass Elevator]]''
 +
 +
|group2  = Films
 +
|list2  =
 
* ''[[Willy Wonka & the Chocolate Factory]]''
 
* ''[[Willy Wonka & the Chocolate Factory]]''
 
* ''[[Charlie and the Chocolate Factory (film)|Charlie and the Chocolate Factory]]''
 
* ''[[Charlie and the Chocolate Factory (film)|Charlie and the Chocolate Factory]]''
  
|group2 = Other
+
|group3 = Other
|list2   =
+
|list3   =
 
* [[List of Charlie and the Chocolate Factory characters|Characters]]
 
* [[List of Charlie and the Chocolate Factory characters|Characters]]
 
**[[Willy Wonka]]
 
**[[Willy Wonka]]
 
* [[Wonka Bar]]
 
* [[Wonka Bar]]
* ''[[Charlie and the Great Glass Elevator]]''
 
 
* [[Roald Dahl]]
 
* [[Roald Dahl]]
 
* ''[[The Candy Man]]''
 
* ''[[The Candy Man]]''

Revision as of 01:23, 29 October 2012

Initial visibility: currently defaults to autocollapse

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

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