Difference between revisions of "Template:DC Comics films"

From blackwiki
Jump to navigation Jump to search
imported>MAinternational
Line 86: Line 86:
 
     | list3  =
 
     | list3  =
 
* ''[[Man of Steel (film)|Man of Steel]]''
 
* ''[[Man of Steel (film)|Man of Steel]]''
* ''[[Batman v Superman: Dawn of Justice|Dawn of Justice]]''
+
* ''[[Batman v Superman: Dawn of Justice]''
 
     }}
 
     }}
  

Revision as of 01:01, 22 May 2014

{{navbox | name = DC Comics films | title = Live-action films based on DC Comics | state = autocollapse | listclass = hlist

| group1 = Serials | list1 =

| group2 = Single films | list2 =


| group3 = Film franchises | list3 =

 {{navbox
 | child
 | group1 = Batman
 | list1  =
 | group2 = Superman
 | list2  =
   {{navbox
   | child
   | evenodd = swap
   | group1 = 1951
   | list1  =
   | group2 = 1978
   | list2  =
   | group3 = 2013
   | list3  =
   }}
 | group3 = RED
 | list3  =
 | group4 = Swamp Thing
 | list4  =
 }}

}} Initial visibility: currently defaults to autocollapse

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

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