Difference between revisions of "Template:Marvel Comics"

From blackwiki
Jump to navigation Jump to search
imported>RevelationDirect
(Carved out sections)
Line 6: Line 6:
  
 
  | titlestyle = background: red; color: white
 
  | titlestyle = background: red; color: white
 +
| basestyle = background: red; color:white;
  
 
  | group1 = Publishing lines<br />and imprints
 
  | group1 = Publishing lines<br />and imprints
 
  | list1 = {{Navbox|child
 
  | list1 = {{Navbox|child
 +
| basestyle = background: red; color:white;
  
 
   | group1 = Historical
 
   | group1 = Historical
Line 29: Line 31:
 
   | group4 = Defunct imprints
 
   | group4 = Defunct imprints
 
   | list4 = {{Navbox|child
 
   | list4 = {{Navbox|child
 +
  | basestyle = background: red; color:white;
  
 
     | group1 = Marvel
 
     | group1 = Marvel
Line 138: Line 141:
  
 
  | below =
 
  | below =
* '''{{Icon|Category}} [[:Category:Marvel Comics|Category]]'''
+
* '''{{Icon|Category}} [[:Category:Marvel Comics|{{color|white|Category}}]]'''
* '''{{Icon|Book}} [[Book:Marvel Comics|Book]]'''
+
* '''{{Icon|Book}} [[Book:Marvel Comics|{{color|white|Book}}]]'''
* '''{{Icon|Portal}} [[Portal:Comics|Comics portal]]'''
+
* '''{{Icon|Portal}} [[Portal:Comics|{{color|white|Comics portal}}]]'''
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 19:43, 15 July 2015

Initial visibility: currently defaults to autocollapse

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

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