Difference between revisions of "Template:Bay Area Sports"

From blackwiki
Jump to navigation Jump to search
(updated soccer clubs for 2017 per league website http://npsl.bonzidev.com/team_directory)
(updated to match other California sports templates)
Line 3: Line 3:
 
| title  = Sports teams based in the [[San Francisco Bay Area]]
 
| title  = Sports teams based in the [[San Francisco Bay Area]]
 
| listclass = hlist
 
| listclass = hlist
| state = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
 +
| basestyle = background: {{California/color}}
  
 
| group1 = [[Baseball]]
 
| group1 = [[Baseball]]
| list1 =
+
| list1 =  
:[[Major League Baseball|MLB]]
+
;[[Major League Baseball|MLB]]
 
:[[Oakland Athletics]]
 
:[[Oakland Athletics]]
 
:[[San Francisco Giants]]
 
:[[San Francisco Giants]]
:[[California League|CL]]
+
; [[California League|CL]]
 
:[[San Jose Giants]]
 
:[[San Jose Giants]]
 
;[[Pacific Association of Professional Baseball Clubs|PA]]
 
;[[Pacific Association of Professional Baseball Clubs|PA]]
Line 19: Line 20:
  
 
| group2 = [[Basketball]]
 
| group2 = [[Basketball]]
| list2 =
+
| list2 =  
:[[National Basketball Association|NBA]]
+
;[[National Basketball Association|NBA]]
 
:[[Golden State Warriors]]
 
:[[Golden State Warriors]]
 
;[[American Basketball Association (2000–present)|ABA]]
 
;[[American Basketball Association (2000–present)|ABA]]
Line 26: Line 27:
 
:[[San Francisco Rumble]]
 
:[[San Francisco Rumble]]
  
| group3 = [[American football|Football]]
+
| group3 = [[American football]]
| list3 =
+
| list3 =  
:[[National Football League|NFL]]
+
;[[National Football League|NFL]]
 
:[[Oakland Raiders]]
 
:[[Oakland Raiders]]
 
:[[San Francisco 49ers]]
 
:[[San Francisco 49ers]]
  
| group4 = [[Ice hockey|Hockey]]
+
| group4 = [[Ice hockey]]
| list4 =
+
| list4 =  
:[[National Hockey League|NHL]]
+
;[[National Hockey League|NHL]]
 
:[[San Jose Sharks]]
 
:[[San Jose Sharks]]
:[[American Hockey League|AHL]]
+
;[[American Hockey League|AHL]]
 
:[[San Jose Barracuda]]
 
:[[San Jose Barracuda]]
  
|group5 = [[Roller derby]]
+
| group5 = [[Association football|Soccer]]
 
| list5 =
 
| list5 =
:[[Women's Flat Track Derby Association|WFTDA]]
 
:[[Bay Area Derby]]
 
:[[Silicon Valley Roller Girls]]
 
:[[Sonoma County Roller Derby]]
 
 
| group6 = [[Association football|Soccer]]
 
| list6 =
 
 
;[[Major League Soccer|MLS]]
 
;[[Major League Soccer|MLS]]
 
:[[San Jose Earthquakes]]
 
:[[San Jose Earthquakes]]
Line 60: Line 54:
 
:[[Burlingame Dragons FC]]
 
:[[Burlingame Dragons FC]]
 
:[[San Francisco City FC]]
 
:[[San Francisco City FC]]
 +
 +
|group6 = [[Roller derby]]
 +
| list6 =
 +
;[[Women's Flat Track Derby Association|WFTDA]]
 +
:[[Bay Area Derby]]
 +
:[[Silicon Valley Roller Girls]]
 +
:[[Sonoma County Roller Derby]]
  
 
| group7 = [[Ultimate (sport)|Ultimate]]
 
| group7 = [[Ultimate (sport)|Ultimate]]
Line 66: Line 67:
 
:[[San Francisco Dogfish]]
 
:[[San Francisco Dogfish]]
  
| group8 = [[College athletics in the United States|Intercollegiate]]
+
| group8 = [[College athletics in the United States|College athletics]]<br/>([[NCAA Division I|NCAA Div. I]])
| list8 =
+
| list8  =
:[[NCAA Division I]]
+
:[[California Golden Bears|California]]
:[[California Golden Bears]]
+
:[[Saint Mary's Gaels|Saint Mary's]]
:[[Saint Mary's Gaels]]
+
:[[San Jose State Spartans|San Jose State]]
:[[San Jose State Spartans]]
+
:[[Santa Clara Broncos|Santa Clara]]
:[[Santa Clara Broncos]]
+
:[[Stanford Cardinal|Stanford]]
:[[Stanford Cardinal]]
+
:[[San Francisco Dons|San Francisco]]
:[[San Francisco Dons|USF Dons]]
 
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 18:58, 2 February 2017

Initial visibility: currently defaults to autocollapse

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

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