Difference between revisions of "Template:MLB All-Time rosters"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>RobDe68
(moved Houston Astros to American League West)
Line 29: Line 29:
 
| col3width = 33%
 
| col3width = 33%
 
| col3 = '''[[American League West|West Division]]'''
 
| col3 = '''[[American League West|West Division]]'''
 +
*[[Houston Astros all-time roster|Houston Astros]]
 
*[[Los Angeles Angels of Anaheim all-time roster|Los Angeles Angels of Anaheim]]
 
*[[Los Angeles Angels of Anaheim all-time roster|Los Angeles Angels of Anaheim]]
 
*[[Oakland Athletics all-time roster|Oakland Athletics]]
 
*[[Oakland Athletics all-time roster|Oakland Athletics]]
Line 54: Line 55:
 
*[[Chicago Cubs all-time roster|Chicago Cubs]]
 
*[[Chicago Cubs all-time roster|Chicago Cubs]]
 
*[[Cincinnati Reds all-time roster|Cincinnati Reds]]
 
*[[Cincinnati Reds all-time roster|Cincinnati Reds]]
*[[Houston Astros all-time roster|Houston Astros]]
 
 
*[[Milwaukee Brewers all-time roster|Milwaukee Brewers]]
 
*[[Milwaukee Brewers all-time roster|Milwaukee Brewers]]
 
*[[Pittsburgh Pirates all-time roster|Pittsburgh Pirates]]
 
*[[Pittsburgh Pirates all-time roster|Pittsburgh Pirates]]

Revision as of 20:30, 30 May 2013

Initial visibility: currently defaults to autocollapse

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

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