Difference between revisions of "Template:Gatorade National Athlete of the Year"

From blackwiki
Jump to navigation Jump to search
imported>Joeykai
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:
 
{{Navbox
 
{{Navbox
|state = {{{state<includeonly>|collapsed</includeonly>}}}
+
| state = {{{state<includeonly>|collapsed</includeonly>}}}
|name = Gatorade National Athlete of the Year
+
| name = Gatorade National Athlete of the Year
|title = [[Gatorade_Player_of_the_Year_awards#Athletes_of_the_Year|<span style="color:white;font-family:Arial;">Gatorade High School Athlete of the Year Award</span>]]
+
| title = [[Gatorade Player of the Year awards|<span style="color:black; font-family:Arial;">Gatorade High School Athlete of the Year Award</span>]]
|listclass = hlist
+
| listclass = hlist
|nowrapitems = yes
+
| nowrapitems = yes
|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}}
  
|group1=Boys  
+
| group1 = Boys
|list1 =  
+
| list1 =
 
* 2003: [[LeBron James|James]]  
 
* 2003: [[LeBron James|James]]  
 
* 2004: [[Dwight Howard|Howard]]  
 
* 2004: [[Dwight Howard|Howard]]  
Line 26: Line 26:
 
* 2017: [[MacKenzie Gore|Gore]]
 
* 2017: [[MacKenzie Gore|Gore]]
  
|group2= Girls
+
| group2 = Girls
|list2=  
+
| list2 =
 
* 2003: [[Allyson Felix|Felix]]
 
* 2003: [[Allyson Felix|Felix]]
 
* 2004: [[Candace Parker|Parker]]  
 
* 2004: [[Candace Parker|Parker]]  

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