Difference between revisions of "Template:Gatorade Baseball Player of the Year"

From blackwiki
Jump to navigation Jump to search
imported>Yankees10
(Ryan Weathers)
imported>Charlesaaronthompson
(I updated the color codes in the template, per https://mediacentral.nba.com/wp-content/uploads/logos/nba%20g%20league%20logos/NBA_G_League_Logosheet.jpg)
Line 1: Line 1:
 
{{Baseball navbox
 
{{Baseball navbox
|name = Gatorade Baseball Player of the Year
+
| name = Gatorade Baseball Player of the Year
|title = [[Gatorade Player of the Year awards#Baseball (boys only)|<span style="color:white;font-family:Arial;">Gatorade High School Baseball Player of the Year Award</span>]]
+
| title = [[Gatorade Player of the Year awards|<span style="color:black; font-family:Arial;">Gatorade High School Baseball Player of the Year Award</span>]]
|state = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
|listclass = hlist
+
| listclass = hlist
|titlestyle = background:#F9A350; color:#FFFFFF; {{box-shadow border|a|#000000|2px}}
+
| titlestyle = background:#FF6900; color:#000000; {{box-shadow border|a|#E4002B|2px}}
|basestyle = background:#F9A350; color:#FFFFFF; {{box-shadow border|a|#000000|2px}}
+
| basestyle = background:#FF6900; color:#000000; {{box-shadow border|a|#E4002B|2px}}
|list1 =  
+
| list1 =
 
* 1986: [[Gary Sheffield|G. Sheffield]]
 
* 1986: [[Gary Sheffield|G. Sheffield]]
 
* 1987: [[Willie Banks (baseball)|Banks]]
 
* 1987: [[Willie Banks (baseball)|Banks]]

Revision as of 18:13, 11 July 2019

Initial visibility: currently defaults to autocollapse

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

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