Difference between revisions of "Template:Cinema of Denmark"

From blackwiki
Jump to navigation Jump to search
imported>CactusWriter
(added state = collapsed or expanded option)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = CinemaofDenmark
 
|name = CinemaofDenmark
 +
|state  = <includeonly>{{{state|autocollapse}}}</includeonly>
 
|title = [[Cinema of Denmark]]
 
|title = [[Cinema of Denmark]]
 
|imageleft = [[Image:Danishfilm.svg|41px]]
 
|imageleft = [[Image:Danishfilm.svg|41px]]
Line 28: Line 29:
 
[[Category:Film country templates|Denmark, Cinema of]]
 
[[Category:Film country templates|Denmark, Cinema of]]
 
</noinclude>
 
</noinclude>
 +
<br/>{{collapsible option}}

Revision as of 07:34, 5 August 2008


Initial visibility: currently defaults to autocollapse

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

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