Difference between revisions of "Template:Houston Astros"

From blackwiki
Jump to navigation Jump to search
imported>NatureBoyMD
(linking to list of minor league affiliates)
imported>Frietjes
(navbox subgroup syntax update)
Line 27: Line 27:
  
 
| group2 = Ballparks
 
| group2 = Ballparks
| list2 = {{Navbox subgroup
+
| list2 = {{Navbox|subgroup
  
 
  | group1 =
 
  | group1 =
Line 138: Line 138:
 
  {{Navbox|child
 
  {{Navbox|child
 
  | title = Seasons (56)
 
  | title = Seasons (56)
  | state = collapsed
+
  | state = <includeonly>collapsed</includeonly>
 
  | titlestyle = {{Baseball primary style|Houston Astros|border=2}}
 
  | titlestyle = {{Baseball primary style|Houston Astros|border=2}}
 
  | basestyle  = {{Baseball secondary style|Houston Astros}}
 
  | basestyle  = {{Baseball secondary style|Houston Astros}}

Revision as of 23:46, 29 August 2017

Initial visibility: currently defaults to autocollapse

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

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