Difference between revisions of "Template:2014 San Francisco Giants"

From blackwiki
Jump to navigation Jump to search
blackwiki>Charlesaaronthompson
(I updated the HTML colors in the title.)
Line 1: Line 1:
 
{{Baseball navbox
 
{{Baseball navbox
 
| name = 2014 San Francisco Giants
 
| name = 2014 San Francisco Giants
| title = [[San Francisco Giants|<span style="color:#FFFFFF;">San Francisco Giants</span>]] [[2014 World Series|<span style="color:#FFFFFF;">2014 World Series</span>]] champions
+
| title = [[San Francisco Giants|<span style="color:#FFFFFF;">San Francisco Giants</span>]] [[2014 World Series|<span style="color:#FFFFFF;">2014 World Series</span>]] Champions
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist

Revision as of 18:37, 4 November 2016

Initial visibility: currently defaults to autocollapse

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

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