Difference between revisions of "Template:Chicago Sky"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
m (Plastikspork moved page Template:Chicago Sky navbox to Template:Chicago Sky: Standard name)
imported>Plastikspork
(Update after move)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name  = Chicago Sky navbox
+
| name  = Chicago Sky
 
| title = [[Chicago Sky|<font color=#FDE910>Chicago Sky</font>]]
 
| title = [[Chicago Sky|<font color=#FDE910>Chicago Sky</font>]]
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| titlestyle = background:#6495ED; color: #FDE910;
 
| titlestyle = background:#6495ED; color: #FDE910;
| groupstyle = background:#FDE910; color: #6495ED;
+
| basestyle = background:#FDE910; color: #6495ED;
| bodystyle = width:{{{width|100%}}}; <!--if width not specified, use width of former template-->
+
 
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| abovestyle = background:#FDE910; color:#6495ED;
+
 
 
| above =
 
| above =
 
* Founded in 2005
 
* Founded in 2005

Revision as of 18:59, 15 November 2014

Initial visibility: currently defaults to autocollapse

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

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