Difference between revisions of "Template:Iowa Barnstormers"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name  = Iowa Barnstormers
 
| name  = Iowa Barnstormers
 
| title = <font style="color:#EEC900;">[[Iowa Barnstormers]]</font>
 
| title = <font style="color:#EEC900;">[[Iowa Barnstormers]]</font>
| titlestyle = background:black;; color:#EEC900; border: 2px solid #EEC900;
+
| titlestyle = background:black;; color:#EEC900; border: 2px solid #EF3D33;
 
| bodystyle = width:{{{width|100%}}}; <!--if width not specified, use width of former template-->
 
| bodystyle = width:{{{width|100%}}}; <!--if width not specified, use width of former template-->
| groupstyle=background:black; color:#EF3D33;
+
| groupstyle=background:#EEC900; color:#EF3D33;
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| abovestyle = background:black; color:#EF3D33;
+
| abovestyle = background:#EEC900; color:#EF3D33;
 
| above=Founded in 1995 • Based in '''[[Des Moines, Iowa|<span style="color:#EF3D33;">Des Moines<span>]]''', '''[[Iowa|<span style="color:#EF3D33;">Iowa<span>]]'''
 
| above=Founded in 1995 • Based in '''[[Des Moines, Iowa|<span style="color:#EF3D33;">Des Moines<span>]]''', '''[[Iowa|<span style="color:#EF3D33;">Iowa<span>]]'''
  

Revision as of 19:57, 20 August 2012

Initial visibility: currently defaults to autocollapse

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

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