Difference between revisions of "Template:Example/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Picsovina
imported>Picsovina
(Undid revision 986686940 by Picsovina (talk))
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{navbox
 
{{navbox
| name = Searchlight Pictures films
+
|name =  
| title = [[Searchlight Pictures]] films
+
|title = Films directed by [[]]
| listclass  = hlist
+
|state = {{{state|autocollapse}}}
| nowrapitems = yes
+
|listclass = hlist
| group1 = [[Lists of Paramount Pictures films|Lists of films]]
+
 
| list1 =
+
|list1 =  
*[[List of Paramount Pictures films (1912–1919)|1912–1919]]
+
* ''[[]]'' ()
*[[List of Paramount Pictures films (1920–1929)|1920–1929]]
+
* ''[[]]'' ()
*[[List of Paramount Pictures films (1930–1939)|1930–1939]]
+
* ''[[]]'' ()
*[[List of Paramount Pictures films (1940–1949)|1940–1949]]
+
* ''[[|]]'' ()
*[[List of Paramount Pictures films (1950–1959)|1950–1959]]
+
* ''[[|]]'' ()
*[[List of Paramount Pictures films (1960–1969)|1960–1969]]
+
* ''[[|]]'' ()
*[[List of Paramount Pictures films (1970–1979)|1970–1979]]
+
}}<noinclude>
*[[List of Paramount Pictures films (1980–1989)|1980–1989]]
+
{{collapsible option}}
*[[List of Paramount Pictures films (1990–1999)|1990–1999]]
+
[[Category:American film director navigational boxes|American film director navigational boxes]]
*[[List of Paramount Pictures films (2000–2009)|2000–2009]]
+
</noinclude>
*[[List of Paramount Pictures films (2010–2019)|2010–2019]]
 
*[[List of Paramount Pictures films (2020–2029)|2020–2029]]
 
}}<noinclude>[[Category:Film navigational boxes]]</noinclude>
 

Latest revision as of 11:44, 2 November 2020

Initial visibility: currently defaults to autocollapse

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

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