Difference between revisions of "Template:Chitty Chitty Bang Bang"

From blackwiki
Jump to navigation Jump to search
imported>SchroCat
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name  = Chitty Chitty Bang Bang
 
|name  = Chitty Chitty Bang Bang
 
|title = ''[[Chitty Chitty Bang Bang]]''
 
|title = ''[[Chitty Chitty Bang Bang]]''
 +
|state = {{{state|autocollapse}}}
 
|group1= Characters
 
|group1= Characters
 
|list1 = [[Caractacus Pott]]{{·}} [[Truly Scrumptious]]{{·}} [[Child Catcher]]{{·}} [[Baroness Bomburst]]{{·}} [[Baron Bomburst]]
 
|list1 = [[Caractacus Pott]]{{·}} [[Truly Scrumptious]]{{·}} [[Child Catcher]]{{·}} [[Baroness Bomburst]]{{·}} [[Baron Bomburst]]
Line 11: Line 12:
 
|list4 = [[Ian Fleming]] {{·}} [[Roald Dahl]] {{·}} [[Chitty Bang Bang|''Chitty Bang Bang'' (original car)]]
 
|list4 = [[Ian Fleming]] {{·}} [[Roald Dahl]] {{·}} [[Chitty Bang Bang|''Chitty Bang Bang'' (original car)]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:Comedy film navigational boxes|Chitty Chitty Bang Bang]]
 
[[Category:Comedy film navigational boxes|Chitty Chitty Bang Bang]]
 
[[Category:Novel (book) navigational boxes|{{PAGENAME}}]]
 
[[Category:Novel (book) navigational boxes|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 03:15, 25 July 2012

Initial visibility: currently defaults to autocollapse

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

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