Template:Theatre: Difference between revisions

From Good Old TV Fan Wiki
m (1 revision imported)
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
|name = Theatre
|name = Theatre
|title = [[Theatre]]
|title = [[Theatre]]
|listclass = hlist
|bodyclass = hlist
|image = <!--[[File:EXAMPLE|70px]] -->
 
|above = [[Outline of theatre]]
|above = [[Outline of theatre]]


Line 66: Line 66:


|group5 = [[List of theatre personnel|Personnel]]
|group5 = [[List of theatre personnel|Personnel]]
|list5 ={{Navbox subgroup
|list5 ={{Navbox|subgroup
|group1 = Performers
|group1 = Performers
|list1 =
|list1 =
Line 133: Line 133:


| belowstyle = font-weight:bold;
| belowstyle = font-weight:bold;
| belowclass = hlist
| below =  
| below =  
* {{icon|category}} [[:Category:Theatre|Category]]
* {{icon|category}} [[:Category:Theatre|Category]]

Latest revision as of 12:29, 11 October 2017

Initial visibility

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

  • |state=collapsed: {{Theatre|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Theatre|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Theatre|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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.