Difference between revisions of "Template:MLBAllStarGame"

From blackwiki
Jump to navigation Jump to search
imported>DSisyphBot
m (r2.5.1) (Robot: Modifying fr:Modèle:Palette MLBAllStarGame)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name = MLBAllStarGame
 
|name = MLBAllStarGame
 
|title= [[Major League Baseball All-Star Game]]
 
|title= [[Major League Baseball All-Star Game]]
 +
|state = {{{state|autocollapse}}}
 
|group1=Games
 
|group1=Games
 
|list1={{Navbox subgroup
 
|list1={{Navbox subgroup
Line 24: Line 25:
 
|list5=[[List of Major League Baseball All-Star Game broadcasters|Broadcasters]]{{·}} [[All-Star Final Vote|Final Vote]]{{·}} [[List of Major League Baseball All-Star Game venues|Venues]]{{·}} [[Arch Ward]]
 
|list5=[[List of Major League Baseball All-Star Game broadcasters|Broadcasters]]{{·}} [[All-Star Final Vote|Final Vote]]{{·}} [[List of Major League Baseball All-Star Game venues|Venues]]{{·}} [[Arch Ward]]
 
|below= ² — Two All-Star Games were played these seasons. ''Italics'' indicate future games.
 
|below= ² — Two All-Star Games were played these seasons. ''Italics'' indicate future games.
}}<noinclude>{{DEFAULTSORT:{{PAGENAME}}}}
+
}}<noinclude>
 +
{{collapsible option}}
 +
{{DEFAULTSORT:{{PAGENAME}}}}
 
[[Category:Major League Baseball All-Star Game]]
 
[[Category:Major League Baseball All-Star Game]]
 
[[Category:Major League Baseball navigational boxes]]
 
[[Category:Major League Baseball navigational boxes]]

Revision as of 01:27, 5 May 2012

Initial visibility: currently defaults to autocollapse

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

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

fr:Modèle:Palette MLBAllStarGame ja:Template:MLBAllStarGame