Difference between revisions of "Template:Major Leagues"

From blackwiki
Jump to navigation Jump to search
imported>Oknazevad
(Undid revision 559230587 by 210.4.62.18 (talk)minor league)
imported>WikiOriginal-9
 
(9 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
|name      = Major Leagues
 
|name      = Major Leagues
 
|title    = [[Major professional sports leagues in the United States and Canada]]
 
|title    = [[Major professional sports leagues in the United States and Canada]]
 +
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|list1    =  
 
|list1    =  
Line 7: Line 8:
 
* [[Major League Baseball]]
 
* [[Major League Baseball]]
 
* [[Major League Soccer]]
 
* [[Major League Soccer]]
 
 
* [[National Basketball Association]]
 
* [[National Basketball Association]]
 
* [[National Football League]]
 
* [[National Football League]]
 
* [[National Hockey League]]
 
* [[National Hockey League]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Sports templates]]
+
{{collapsible option}}
 
+
[[Category:Canada sports navigational boxes]]
 
+
[[Category:United States sports navigational boxes]]
[[ka:თარგი:მთავარი ლიგები]]
 
[[ru:Шаблон:Спортивные лиги Северной Америки]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 00:42, 26 January 2018

Initial visibility: currently defaults to autocollapse

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

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