Difference between revisions of "Template:College Football Playoff navbox"

From blackwiki
Jump to navigation Jump to search
imported>Charlesaaronthompson
m (I updated the HTML formatting in the template.)
imported>Zzyzx11
({CollegePrimaryStyle}} does not seem to be currently working here, and is displaying an almost unreadable white-on-gray)
Line 5: Line 5:
 
| listclass = hlist
 
| listclass = hlist
  
| basestyle = {{CollegePrimaryStyle|College Football Playoff|border=2|color=white}};
+
| basestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#C9920E|2px}}
  
 
| group1 = Championships
 
| group1 = Championships
 
| list1 = {{Navbox|subgroup
 
| list1 = {{Navbox|subgroup
  | basestyle = {{CollegePrimaryStyle|College Football Playoff|border=2|color=white}};
+
  | basestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#C9920E|2px}}
  
 
  | group1 = Overview
 
  | group1 = Overview
Line 27: Line 27:
 
| group2 = Semifinal bowl games
 
| group2 = Semifinal bowl games
 
| list2 = {{Navbox|subgroup
 
| list2 = {{Navbox|subgroup
  | basestyle = {{CollegePrimaryStyle|College Football Playoff|border=2|color=white}};
+
  | basestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#C9920E|2px}}
  
 
  | group1 = [[Rose Bowl Game|{{color|white|Rose}}]]
 
  | group1 = [[Rose Bowl Game|{{color|white|Rose}}]]
Line 60: Line 60:
 
* [[2016 Fiesta Bowl (December)|2016 <small>(Dec 2016)</small>]]
 
* [[2016 Fiesta Bowl (December)|2016 <small>(Dec 2016)</small>]]
 
* ''2019 <small>(Dec 2019)</small>''
 
* ''2019 <small>(Dec 2019)</small>''
 +
 
}}
 
}}
  

Revision as of 23:25, 23 December 2018

Initial visibility: currently defaults to autocollapse

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

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