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

From blackwiki
Jump to navigation Jump to search
blackwiki>Jack Cox
blackwiki>Charlesaaronthompson
(I updated the wiki-code formatting in the template.)
Line 1: Line 1:
 
{{Baseball navbox
 
{{Baseball navbox
 
| name = 2010 San Francisco Giants
 
| name = 2010 San Francisco Giants
| title = [[San Francisco Giants|{{color|#FFFFFF|San Francisco Giants}}]] [[2010 World Series|{{color|#FFFFFF|2010 World Series}}]] champions
+
| title = {{Baseball primary link|San Francisco Giants|San Francisco Giants}} {{Baseball primary link|San Francisco Giants|2010 World Series}} champions
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| titlestyle = {{Baseball primary style|San Francisco Giants|border=2}};
 
| titlestyle = {{Baseball primary style|San Francisco Giants|border=2}};
| belowstyle = {{Baseball secondary style|San Francisco Giants|border=2}}
+
| belowstyle = {{Baseball secondary style|San Francisco Giants|border=2}};
 
 
 
| list1 =
 
| list1 =
 
: 5 [[Juan Uribe]]
 
: 5 [[Juan Uribe]]
Line 47: Line 46:
  
 
| below =
 
| below =
: [[2010 San Francisco Giants season|{{color|#000000|Regular season}}]]
+
: {{Baseball secondary link|San Francisco Giants|2010 San Francisco Giants season|Regular season}}
: [[2010 National League Division Series|{{color|#000000|National League Division Series}}]]
+
: {{Baseball secondary link|San Francisco Giants|2010 National League Division Series|National League Division Series}}
: [[2010 National League Championship Series|{{color|#000000|National League Championship Series}}]]
+
: {{Baseball secondary link|San Francisco Giants|2010 National League Championship Series|National League Championship Series}}
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 23:05, 16 June 2020

Initial visibility: currently defaults to autocollapse

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

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