Difference between revisions of "Template:Films by genre"

From blackwiki
Jump to navigation Jump to search
imported>DoctorHver
(x)
imported>DoctorHver
(x)
 
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Films by genre
 
|name  = Films by genre
|title  = Lists of [[film]]s by [[Film genre|genre]]
+
|title  = Lists of [[film]]s by [[Film genre|genre]] and themes
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 70: Line 70:
 
**[[List of science fiction horror films|Sci-fi horror]]
 
**[[List of science fiction horror films|Sci-fi horror]]
 
**[[List of American superhero films|Superhero]]
 
**[[List of American superhero films|Superhero]]
 +
**[[List of time travel works of fiction#Time travel in films|Time travel]]
 
*[[Spy_film#Films|Spy]]
 
*[[Spy_film#Films|Spy]]
 
*[[List of sports films|Sports]]
 
*[[List of sports films|Sports]]

Latest revision as of 15:00, 7 September 2020

Initial visibility: currently defaults to autocollapse

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

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

See also