Difference between revisions of "Template:Major League Soccer"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Walter Görlitz
(Reverted to revision 711577859 by Dsm mls (talk): The version with columns is much more visually appealing. (TW))
Line 1: Line 1:
{{Navbox
+
{{Navbox with columns
 
| name            = Major League Soccer
 
| name            = Major League Soccer
 
| title          = [[Major League Soccer]]
 
| title          = [[Major League Soccer]]
 
| bodyclass      = hlist
 
| bodyclass      = hlist
| listtyle        = hlist
 
 
| state          = {{{state|autocollapse}}}
 
| state          = {{{state|autocollapse}}}
 +
| fullwidth      = yes
 +
| col1headerstyle = background:#D0E7FF;
 +
| col2headerstyle = background:#FFE6BD;
 +
| col1header      = [[Eastern Conference (MLS)|Eastern Conference]]
 +
| col2header      = [[Western Conference (MLS)|Western Conference]]
 +
| col1headercolspan = 2
 +
| col2headercolspan = 2
  
 
| above =  
 
| above =  
Line 15: Line 21:
 
*[[United States Soccer Federation|USSF]]
 
*[[United States Soccer Federation|USSF]]
 
*[[Canadian Soccer Association|CSA]]
 
*[[Canadian Soccer Association|CSA]]
| group1style = background:#D0E7FF;
+
 
| group1=[[Eastern Conference (MLS)|Eastern Conference]]
+
| col1      =
| list1style = background:#D0E7FF;
+
  {{Navbox|child
| list1=
+
  | liststyle = background:#D0E7FF;text-align:center;
 +
  | list1     =  
 
* [[Chicago Fire Soccer Club|Chicago Fire]]
 
* [[Chicago Fire Soccer Club|Chicago Fire]]
 +
  | list2 =
 
* [[Columbus Crew SC]]
 
* [[Columbus Crew SC]]
 +
  | list3 =
 
* [[D.C. United]]
 
* [[D.C. United]]
 +
  | list4 =
 
* [[Montreal Impact]]
 
* [[Montreal Impact]]
 +
  | list5 =
 
* [[New England Revolution]]
 
* [[New England Revolution]]
 +
  }}
 +
| col2      =
 +
  {{Navbox|child
 +
  | titlestyle = background:#D0E7FF;
 +
  | liststyle  = background:#D0E7FF;text-align:center;
 +
  | list1      =
 
* [[New York City FC]]
 
* [[New York City FC]]
 +
  | list2 =
 
* [[New York Red Bulls]]
 
* [[New York Red Bulls]]
 +
  | list3 =
 
* [[Orlando City SC]]  
 
* [[Orlando City SC]]  
 +
  | list4 =
 
* [[Philadelphia Union]]
 
* [[Philadelphia Union]]
 +
  | list5 =
 
* [[Toronto FC]]
 
* [[Toronto FC]]
| group2style = background:#FFE6BD;
+
  }}
| group2=[[Western Conference (MLS)|Western Conference]]
+
| col3      =
| list2style = background:#FFE6BD;
+
  {{Navbox|child
| list2     =  
+
  | titlestyle = background:#FFE6BD;
 +
  | liststyle  = background:#FFE6BD;text-align:center;
 +
  | list1     =  
 
* [[Colorado Rapids]]
 
* [[Colorado Rapids]]
 +
  | list2 =
 
* [[FC Dallas]]
 
* [[FC Dallas]]
 +
  | list3 =
 
* [[Houston Dynamo]]
 
* [[Houston Dynamo]]
 +
  | list4 =
 
* [[LA Galaxy]]
 
* [[LA Galaxy]]
 +
  | list5 =
 
* [[Portland Timbers]]
 
* [[Portland Timbers]]
 +
  }}
 +
| col4      =
 +
  {{Navbox|child
 +
  | titlestyle = background:#FFE6BD;
 +
  | liststyle  = background:#FFE6BD;text-align:center;
 +
  | list1      =
 
* [[Real Salt Lake]]
 
* [[Real Salt Lake]]
 +
  | list2 =
 
* [[San Jose Earthquakes]]
 
* [[San Jose Earthquakes]]
 +
  | list3 =
 
* [[Seattle Sounders FC]]
 
* [[Seattle Sounders FC]]
 +
  | list4 =
 
* [[Sporting Kansas City]]
 
* [[Sporting Kansas City]]
 +
  | list5 =
 
* [[Vancouver Whitecaps FC]]
 
* [[Vancouver Whitecaps FC]]
 +
  }}
  
| below =
+
|group1 = [[Expansion of Major League Soccer|Future teams]]
|group3 = [[Expansion of Major League Soccer|Future teams]]
+
|list1 =
|list3 =
 
 
*[[Atlanta United FC]] (2017)
 
*[[Atlanta United FC]] (2017)
 
*[[Los Angeles FC]] (2018)
 
*[[Los Angeles FC]] (2018)
*[[Minnesota United FC (MLS)|Minnesota United FC]] (2017 or 2018)
+
*[[Minnesota United FC (MLS)|Minnesota United FC]] (2018)
 
*[[Miami MLS team|Miami]] (TBA)
 
*[[Miami MLS team|Miami]] (TBA)
  
|group4 = [[List of Major League Soccer defunct clubs|Former teams]]
+
|group2 = [[List of Major League Soccer defunct clubs|Former teams]]
|list4 =
+
|list2 =
 
*[[Tampa Bay Mutiny]] (1996–2001)
 
*[[Tampa Bay Mutiny]] (1996–2001)
 
*[[Miami Fusion]] (1998–2001)
 
*[[Miami Fusion]] (1998–2001)
 
*[[Chivas USA]] (2005–2014)
 
*[[Chivas USA]] (2005–2014)
  
|group5 = Competition
+
|group3 = Competition
|list5 =
+
|list3 =
 
*[[MLS Cup]]
 
*[[MLS Cup]]
 
**[[MLS Cup Playoffs|Playoffs]]
 
**[[MLS Cup Playoffs|Playoffs]]
Line 78: Line 115:
 
**[[List of MLS Cup broadcasters|MLS Cup]]
 
**[[List of MLS Cup broadcasters|MLS Cup]]
  
|group6 = Associated<br/>competitions
+
|group4 = Associated competitions
|list6 =
+
|list4 =
 
*[[Supporters' Shield]]
 
*[[Supporters' Shield]]
 
*[[Major League Soccer All-Star Game|All-Star Game]] ([[Major League Soccer Homegrown Game|Homegrown Game]])
 
*[[Major League Soccer All-Star Game|All-Star Game]] ([[Major League Soccer Homegrown Game|Homegrown Game]])
Line 87: Line 124:
 
*[[MLS Reserve League|Reserve League]]
 
*[[MLS Reserve League|Reserve League]]
  
 +
| below =
 
* {{icon|category}} [[:Category:Major League Soccer|Category]]
 
* {{icon|category}} [[:Category:Major League Soccer|Category]]
 
* {{icon|portal}} [[Portal:Association football|Portal]]
 
* {{icon|portal}} [[Portal:Association football|Portal]]

Revision as of 20:33, 14 May 2016

Initial visibility: currently defaults to autocollapse

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

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