Difference between revisions of "Template:2009 New York Yankees"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name      = 2009 New York Yankees
 
| name      = 2009 New York Yankees
 
| title      = [[New York Yankees|<font color="white">New York Yankees</font>]] [[2009 World Series|<font color="white">2009 World Series</font>]] Champions
 
| title      = [[New York Yankees|<font color="white">New York Yankees</font>]] [[2009 World Series|<font color="white">2009 World Series</font>]] Champions
 +
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| titlestyle = background:#1c2841; color:white;
 
| titlestyle = background:#1c2841; color:white;
Line 48: Line 49:
 
: [[2009 American League Championship Series|<span style="color:#1c2841">American League Championship Series</span>]]
 
: [[2009 American League Championship Series|<span style="color:#1c2841">American League Championship Series</span>]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:World Series championship navigational boxes]]
 
[[Category:World Series championship navigational boxes]]

Revision as of 02:44, 7 May 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{2009 New York Yankees|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{2009 New York Yankees|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{2009 New York Yankees|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. ja:Template:2009 ニューヨーク・ヤンキース zh:模板:2009 World Series Champions ko:틀:2009년 뉴욕 양키스