Difference between revisions of "Template:Chicago Cubs"

From blackwiki
Jump to navigation Jump to search
imported>NatureBoyMD
Line 3: Line 3:
 
| title      = [[Chicago Cubs|{{color|white|Chicago Cubs}}]]
 
| title      = [[Chicago Cubs|{{color|white|Chicago Cubs}}]]
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| basestyle  = background:#D12325; color:white;  
+
| basestyle  = background:#CC3433; color:#FFFFFF;  
| titlestyle = background:#0E3386; color:white; border:2px solid #D12325;
+
| titlestyle = background:#0E3286; color:#FFFFFF; border:2px solid #CC3433;
 
| groupwidth = 10em
 
| groupwidth = 10em
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
Line 146: Line 146:
 
| list10  =
 
| list10  =
 
   {{Navbox|subgroup
 
   {{Navbox|subgroup
   | groupstyle = background:#D12325; color:white;  
+
   | groupstyle = background:#CC3433; color:#FFFFFF;  
  
 
   | group1 = East
 
   | group1 = East
Line 184: Line 184:
 
   {{Navbox|child
 
   {{Navbox|child
 
   | state      = collapsed
 
   | state      = collapsed
   | title      = Seasons (143)
+
   | title      = Seasons (142)
   | titlestyle = background:#0E3386; color:white; border:2px solid #D12325
+
   | titlestyle = background:#0E3286; color:#FFFFFF; border:2px solid #CC3433
   | basestyle  = background:#D12325; color:#FFFFFF;
+
   | basestyle  = background:#CC3433; color:#FFFFFF;
 
   | groupwidth = 10em
 
   | groupwidth = 10em
  
 
   | group1 = 1870s
 
   | group1 = 1870s
 
   | list1  = {{Navbox decade list
 
   | list1  = {{Navbox decade list
| [[National Association of Base Ball Players|1870]]
+
|
| [[1871 Chicago White Stockings season|1871]]
+
|
| {{color|#AAA|1872}}
+
|
| {{color|#AAA|1873}}
+
|
 
| [[1874 Chicago White Stockings season|1874]]
 
| [[1874 Chicago White Stockings season|1874]]
 
| [[1875 Chicago White Stockings season|1875]]
 
| [[1875 Chicago White Stockings season|1875]]

Revision as of 06:32, 12 March 2015

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.