Difference between revisions of "Template:MLB seasons"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 2: Line 2:
 
|name = MLB seasons
 
|name = MLB seasons
 
|title = [[List of Major League Baseball seasons|Major League Baseball seasons]]
 
|title = [[List of Major League Baseball seasons|Major League Baseball seasons]]
 +
|listclass = hlist
 
|state = {{{state|autocollapse}}}|
 
|state = {{{state|autocollapse}}}|
  
Line 7: Line 8:
 
|list1={{Navbox subgroup
 
|list1={{Navbox subgroup
 
| group1 = Beginnings
 
| group1 = Beginnings
| list1 = {{mlby|1876}}{{·}} {{mlby|1877}}{{·}} {{mlby|1878}}{{·}} {{mlby|1879}}{{·}} {{mlby|1880}}{{·}} {{mlby|1881}}
+
| list1 =  
 +
* {{mlby|1876}}
 +
* {{mlby|1877}}
 +
* {{mlby|1878}}
 +
* {{mlby|1879}}
 +
* {{mlby|1880}}
 +
* {{mlby|1881}}
  
 
| group2 = Competition
 
| group2 = Competition
| list2 = {{mlby|1882}}{{·}} {{mlby|1883}}{{·}} {{mlby|1884}}{{·}} {{mlby|1885}}{{·}} {{mlby|1886}}{{·}} {{mlby|1887}}{{·}} {{mlby|1888}}{{·}} {{mlby|1889}}{{·}} {{mlby|1890}}{{·}} {{mlby|1891}}
+
| list2 =  
 +
* {{mlby|1882}}
 +
* {{mlby|1883}}
 +
* {{mlby|1884}}
 +
* {{mlby|1885}}
 +
* {{mlby|1886}}
 +
* {{mlby|1887}}
 +
* {{mlby|1888}}
 +
* {{mlby|1889}}
 +
* {{mlby|1890}}
 +
* {{mlby|1891}}
  
 
| group3 = NL monopoly
 
| group3 = NL monopoly
| list3 = {{mlby|1892}}{{·}} {{mlby|1893}}{{·}} {{mlby|1894}}{{·}} {{mlby|1895}}{{·}} {{mlby|1896}}{{·}} {{mlby|1897}}{{·}} {{mlby|1898}}{{·}} {{mlby|1899}}{{·}} {{mlby|1900}}  
+
| list3 =  
 +
* {{mlby|1892}}
 +
* {{mlby|1893}}
 +
* {{mlby|1894}}
 +
* {{mlby|1895}}
 +
* {{mlby|1896}}
 +
* {{mlby|1897}}
 +
* {{mlby|1898}}
 +
* {{mlby|1899}}
 +
* {{mlby|1900}}  
 
}}
 
}}
 
|group2=Modern era  
 
|group2=Modern era  
 
|list2={{Navbox subgroup
 
|list2={{Navbox subgroup
 
| group1 = Deadball era
 
| group1 = Deadball era
| list1  ={{mlby|1901}}{{·}} {{mlby|1902}}{{·}} {{mlby|1903}}{{·}} {{mlby|1904}}{{·}} {{mlby|1905}}{{·}} {{mlby|1906}}{{·}} {{mlby|1907}}{{·}} {{mlby|1908}}{{·}} {{mlby|1909}}{{·}} {{mlby|1910}}{{·}} {{mlby|1911}}{{·}} {{mlby|1912}}{{·}} {{mlby|1913}}{{·}} {{mlby|1914}}{{·}} {{mlby|1915}}{{·}} {{mlby|1916}}{{·}} {{mlby|1917}}{{·}} {{mlby|1918}}{{·}} {{mlby|1919}}{{·}} {{mlby|1920}}
+
| list1  =
 +
* {{mlby|1901}}
 +
* {{mlby|1902}}
 +
* {{mlby|1903}}
 +
* {{mlby|1904}}
 +
* {{mlby|1905}}
 +
* {{mlby|1906}}
 +
* {{mlby|1907}}
 +
* {{mlby|1908}}
 +
* {{mlby|1909}}
 +
* {{mlby|1910}}
 +
* {{mlby|1911}}
 +
* {{mlby|1912}}
 +
* {{mlby|1913}}
 +
* {{mlby|1914}}
 +
* {{mlby|1915}}
 +
* {{mlby|1916}}
 +
* {{mlby|1917}}
 +
* {{mlby|1918}}
 +
* {{mlby|1919}}
 +
* {{mlby|1920}}
  
 
| group2 =Liveball era
 
| group2 =Liveball era
| list2 ={{mlby|1921}}{{·}} {{mlby|1922}}{{·}} {{mlby|1923}}{{·}} {{mlby|1924}}{{·}} {{mlby|1925}}{{·}} {{mlby|1926}}{{·}} {{mlby|1927}}{{·}} {{mlby|1928}}{{·}} {{mlby|1929}}{{·}} {{mlby|1930}}{{·}} {{mlby|1931}}{{·}} {{mlby|1932}}{{·}} {{mlby|1933}}{{·}} {{mlby|1934}}{{·}} {{mlby|1935}}{{·}} {{mlby|1936}}{{·}} {{mlby|1937}}{{·}} {{mlby|1938}}{{·}} {{mlby|1939}}{{·}} {{mlby|1940}}{{·}} {{mlby|1941}}  
+
| list2 =
 +
* {{mlby|1921}}
 +
* {{mlby|1922}}
 +
* {{mlby|1923}}
 +
* {{mlby|1924}}
 +
* {{mlby|1925}}
 +
* {{mlby|1926}}
 +
* {{mlby|1927}}
 +
* {{mlby|1928}}
 +
* {{mlby|1929}}
 +
* {{mlby|1930}}
 +
* {{mlby|1931}}
 +
* {{mlby|1932}}
 +
* {{mlby|1933}}
 +
* {{mlby|1934}}
 +
* {{mlby|1935}}
 +
* {{mlby|1936}}
 +
* {{mlby|1937}}
 +
* {{mlby|1938}}
 +
* {{mlby|1939}}
 +
* {{mlby|1940}}
 +
* {{mlby|1941}}  
  
 
| group3 =Wartime
 
| group3 =Wartime
| list3 ={{mlby|1942}}{{·}} {{mlby|1943}}{{·}} {{mlby|1944}}{{·}} {{mlby|1945}}
+
| list3 =
 +
* {{mlby|1942}}
 +
* {{mlby|1943}}
 +
* {{mlby|1944}}
 +
* {{mlby|1945}}
  
 
| group4 =Postwar
 
| group4 =Postwar
| list4 ={{mlby|1946}}{{·}} {{mlby|1947}}{{·}} {{mlby|1948}}{{·}} {{mlby|1949}}{{·}} {{mlby|1950}}{{·}} {{mlby|1951}}{{·}} {{mlby|1952}}{{·}} {{mlby|1953}}{{·}} {{mlby|1954}}{{·}} {{mlby|1955}}{{·}} {{mlby|1956}}{{·}} {{mlby|1957}}{{·}} {{mlby|1958}}{{·}} {{mlby|1959}}{{·}} {{mlby|1960}}   
+
| list4 =
 +
* {{mlby|1946}}
 +
* {{mlby|1947}}
 +
* {{mlby|1948}}
 +
* {{mlby|1949}}
 +
* {{mlby|1950}}
 +
* {{mlby|1951}}
 +
* {{mlby|1952}}
 +
* {{mlby|1953}}
 +
* {{mlby|1954}}
 +
* {{mlby|1955}}
 +
* {{mlby|1956}}
 +
* {{mlby|1957}}
 +
* {{mlby|1958}}
 +
* {{mlby|1959}}
 +
* {{mlby|1960}}   
  
 
| group5 =Expansion  
 
| group5 =Expansion  
| list5  ={{mlby|1961}}{{·}} {{mlby|1962}}{{·}} {{mlby|1963}}{{·}} {{mlby|1964}}{{·}} {{mlby|1965}}{{·}} {{mlby|1966}}{{·}} {{mlby|1967}}{{·}} {{mlby|1968}}
+
| list5  =
 +
* {{mlby|1961}}
 +
* {{mlby|1962}}
 +
* {{mlby|1963}}
 +
* {{mlby|1964}}
 +
* {{mlby|1965}}
 +
* {{mlby|1966}}
 +
* {{mlby|1967}}
 +
* {{mlby|1968}}
  
 
| group6 =Division play
 
| group6 =Division play
| list6  ={{mlby|1969}}{{·}} {{mlby|1970}}{{·}} {{mlby|1971}}{{·}} {{mlby|1972}}{{·}} {{mlby|1973}}{{·}} {{mlby|1974}}{{·}} {{mlby|1975}}{{·}} {{mlby|1976}}{{·}} {{mlby|1977}}{{·}} {{mlby|1978}}{{·}} {{mlby|1979}}{{·}} {{mlby|1980}}{{·}} {{mlby|1981}}{{·}} {{mlby|1982}}{{·}} {{mlby|1983}}{{·}} {{mlby|1984}}{{·}} {{mlby|1985}}{{·}} {{mlby|1986}}{{·}} {{mlby|1987}}{{·}} {{mlby|1988}}{{·}} {{mlby|1989}}{{·}} {{mlby|1990}}{{·}} {{mlby|1991}}{{·}} {{mlby|1992}}{{·}} {{mlby|1993}}
+
| list6  =
 +
* {{mlby|1969}}
 +
* {{mlby|1970}}
 +
* {{mlby|1971}}
 +
* {{mlby|1972}}
 +
* {{mlby|1973}}
 +
* {{mlby|1974}}
 +
* {{mlby|1975}}
 +
* {{mlby|1976}}
 +
* {{mlby|1977}}
 +
* {{mlby|1978}}
 +
* {{mlby|1979}}
 +
* {{mlby|1980}}
 +
* {{mlby|1981}}
 +
* {{mlby|1982}}
 +
* {{mlby|1983}}
 +
* {{mlby|1984}}
 +
* {{mlby|1985}}
 +
* {{mlby|1986}}
 +
* {{mlby|1987}}
 +
* {{mlby|1988}}
 +
* {{mlby|1989}}
 +
* {{mlby|1990}}
 +
* {{mlby|1991}}
 +
* {{mlby|1992}}
 +
* {{mlby|1993}}
  
 
|group7 =Wildcard   
 
|group7 =Wildcard   
|list7 = {{mlby|1994}}{{·}} {{mlby|1995}}{{·}} {{mlby|1996}}{{·}} {{mlby|1997}}{{·}} {{mlby|1998}}{{·}} {{mlby|1999}}{{·}} {{mlby|2000}}{{·}} {{mlby|2001}}{{·}} {{mlby|2002}}{{·}} {{mlby|2003}}{{·}} {{mlby|2004}}{{·}} {{mlby|2005}}{{·}} {{mlby|2006}}{{·}} {{mlby|2007}}{{·}} {{mlby|2008}}{{·}} {{mlby|2009}}{{·}} {{mlby|2010}}{{·}} {{mlby|2011}}
+
|list7 =  
 +
* {{mlby|1994}}
 +
* {{mlby|1995}}
 +
* {{mlby|1996}}
 +
* {{mlby|1997}}
 +
* {{mlby|1998}}
 +
* {{mlby|1999}}
 +
* {{mlby|2000}}
 +
* {{mlby|2001}}
 +
* {{mlby|2002}}
 +
* {{mlby|2003}}
 +
* {{mlby|2004}}
 +
* {{mlby|2005}}
 +
* {{mlby|2006}}
 +
* {{mlby|2007}}
 +
* {{mlby|2008}}
 +
* {{mlby|2009}}
 +
* {{mlby|2010}}
 +
* {{mlby|2011}}
  
 
|group8 =Expanded Wildcard
 
|group8 =Expanded Wildcard
|list8 ={{mlby|2012}}{{·}} {{mlby|2013}}
+
|list8 =
 +
* {{mlby|2012}}
 +
* {{mlby|2013}}
  
 
}}
 
}}
 
|group3 = See also
 
|group3 = See also
|list3 = [[Major League Baseball schedule]]{{·}} [[Major League Baseball]]
+
|list3 =
 +
* [[Major League Baseball schedule]]
 +
* [[Major League Baseball]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Major League Baseball navigational boxes|{{PAGENAME}}]]
+
[[Category:Major League Baseball navigational boxes]]
 
[[Category:Major League Baseball seasons|*]]
 
[[Category:Major League Baseball seasons|*]]
 
[[de:Vorlage:Navigationsleiste MLB Saisons]]
 
[[de:Vorlage:Navigationsleiste MLB Saisons]]

Revision as of 21:42, 23 September 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{MLB seasons|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{MLB seasons|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{MLB seasons|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. de:Vorlage:Navigationsleiste MLB Saisons fr:Modèle:Palette saisons de la Ligue majeure de baseball it:Template:Stagioni MLB ja:Template:各年のメジャーリーグベースボール