Difference between revisions of "Template:Chicago Cubs managers"

From blackwiki
Jump to navigation Jump to search
imported>Muboshgu
m (Nowrap navbox template, replaced: {{Navbox → {{Baseball navbox using AWB)
 
(12 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Baseball navbox
 
{{Baseball navbox
 
| name  = Chicago Cubs managers
 
| name  = Chicago Cubs managers
| title = <font color=#ffffff>[[List of Chicago Cubs managers|Chicago Cubs managers]]</font>
+
| title = [[List of Chicago Cubs managers|<span style="color:#ffffff;">Chicago Cubs managers</span>]]
 
|listclass = hlist
 
|listclass = hlist
| titlestyle = background:#0E3386; color:#ffffff; border:2px solid #D12325;
+
| titlestyle = {{baseball primary style|Chicago Cubs|border=2}}
| groupstyle = background:#D12325; color:#ffffff; border:2px solid #0E3386;
 
| belowstyle = background:#0E3386; color:#ffffff; border:2px solid #D12325;
 
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 +
| nowrapitems = yes
 
| list1 =
 
| list1 =
* [[Albert Spalding]] (1876–1877)
+
* [[A. G. Spalding|Albert Spalding]] (1876–1877)
 
* [[Bob Ferguson (infielder)|Bob Ferguson]] (1878)
 
* [[Bob Ferguson (infielder)|Bob Ferguson]] (1878)
 
* [[Cap Anson]] (1879)
 
* [[Cap Anson]] (1879)
Line 66: Line 65:
 
* [[Mike Quade]] (2010–2011)
 
* [[Mike Quade]] (2010–2011)
 
* [[Dale Sveum]] (2012–2013)
 
* [[Dale Sveum]] (2012–2013)
* [[Rick Renteria]] (2014–)
+
* [[Rick Renteria]] (2014)
 +
* [[Joe Maddon]] (2015–2019)
 +
* [[David Ross (baseball)|David Ross]] (2020–)
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 07:01, 29 January 2020

Initial visibility: currently defaults to autocollapse

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

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