Difference between revisions of "Template:Chicago Cubs"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Funandtrvl
(fx code)
Line 6: Line 6:
 
| titlestyle = background: #003366; color:white;
 
| titlestyle = background: #003366; color:white;
 
| 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-->
|state = {{{state|<includeonly>autocollapse</includeonly><noinclude>
+
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
{{collapsible option}}
 
uncollapsed</noinclude>}}}
 
 
| abovestyle = background:#CC0033; color:#FFFFFF;
 
| abovestyle = background:#CC0033; color:#FFFFFF;
 
| above = Formerly the '''Chicago White Stockings''', '''Chicago Colts''' and the '''Chicago Orphans''' • Based in [[Chicago|<span style="color:white;">Chicago</span>]], [[Illinois|<span style="color:white;">Illinois</span>]]
 
| above = Formerly the '''Chicago White Stockings''', '''Chicago Colts''' and the '''Chicago Orphans''' • Based in [[Chicago|<span style="color:white;">Chicago</span>]], [[Illinois|<span style="color:white;">Illinois</span>]]
Line 111: Line 109:
 
     |list15  =[[2010 Chicago Cubs season|2010]] • [[2011 Chicago Cubs season|2011]] • [[2012 Chicago Cubs season|2012]]
 
     |list15  =[[2010 Chicago Cubs season|2010]] • [[2011 Chicago Cubs season|2011]] • [[2012 Chicago Cubs season|2012]]
 
     }}
 
     }}
}}<noinclude>[[Category:Major League Baseball team navigational boxes|{{PAGENAME}}]]
+
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Major League Baseball team navigational boxes]]
 +
 
 
[[fr:Modèle:Palette Chicago Cubs]]
 
[[fr:Modèle:Palette Chicago Cubs]]
 
[[ja:Template:Chicago Cubs]]
 
[[ja:Template:Chicago Cubs]]
 
</noinclude>
 
</noinclude>

Revision as of 22:08, 18 May 2012

Initial visibility: currently defaults to autocollapse

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

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

fr:Modèle:Palette Chicago Cubs ja:Template:Chicago Cubs