Difference between revisions of "Template:Batman characters"

From blackwiki
Jump to navigation Jump to search
imported>StickFigure1993
m
Line 1: Line 1:
 
{{Navbox  
 
{{Navbox  
 
|name  = Batman characters
 
|name  = Batman characters
|title  = ''[[Batman]]''  [[List of Batman supporting characters|characters]]
+
|title  = ''[[Batman|{{color|#fff|Batman}}]]''  [[List of Batman supporting characters|{{color|#fff|characters}}]]
 +
|titlestyle = background-color: Black
 +
|groupstyle = background-color: #BFBFBF
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
Line 9: Line 11:
 
  | group2 = Batman family
 
  | group2 = Batman family
 
  | list2 = {{Navbox|subgroup
 
  | list2 = {{Navbox|subgroup
 +
  | basestyle  = background-color: #FAE988
 
   | evenodd = swap
 
   | evenodd = swap
  
Line 32: Line 35:
  
 
| group2 = By public<br>identity
 
| group2 = By public<br>identity
  | list2 =
+
| list2 =
 
* [[Batman|Bruce Wayne]]
 
* [[Batman|Bruce Wayne]]
 
* [[Dick Grayson]]
 
* [[Dick Grayson]]
Line 58: Line 61:
 
| group3 = [[List of Batman supporting characters|Supporting<br>characters]]
 
| group3 = [[List of Batman supporting characters|Supporting<br>characters]]
 
  | list3 = {{Navbox|subgroup
 
  | list3 = {{Navbox|subgroup
 +
  | basestyle  = background-color: #FAE988
 
   | evenodd = swap
 
   | evenodd = swap
  
Line 152: Line 156:
 
  | group4 = [[List of Batman Family enemies|Enemies]]
 
  | group4 = [[List of Batman Family enemies|Enemies]]
 
  | list4 = {{Navbox|child
 
  | list4 = {{Navbox|child
 +
  | basestyle  = background-color: #FAE988
  
 
   | group1 = Central rogues<br>gallery  
 
   | group1 = Central rogues<br>gallery  
Line 306: Line 311:
 
  | group9 = Alternative versions
 
  | group9 = Alternative versions
 
  | list9 = {{Navbox|subgroup
 
  | list9 = {{Navbox|subgroup
 +
  | basestyle  = background-color: #FAE988
  
 
   | group1 = [[Alternative versions of Batman|Batman]]
 
   | group1 = [[Alternative versions of Batman|Batman]]
Line 338: Line 344:
 
  | group11 = Other media
 
  | group11 = Other media
 
  | list11 = {{Navbox|subgroup
 
  | list11 = {{Navbox|subgroup
 +
  | basestyle  = background-color: #FAE988
  
 
   | group1 = [[List of Gotham characters|''Gotham'']]
 
   | group1 = [[List of Gotham characters|''Gotham'']]

Revision as of 13:44, 8 April 2019

Initial visibility: currently defaults to autocollapse

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

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