Difference between revisions of "Template:CBB game log section header/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>McVahl
(+toggle between primary and secondary colors)
imported>McVahl
 
Line 2: Line 2:
 
{{#switch: {{lc:{{{format|}}}}}
 
{{#switch: {{lc:{{{format|}}}}}
 
  | compact = {{Game log section header
 
  | compact = {{Game log section header
   | style  = border-top:5px solid {{{color|<nowiki>#</nowiki>{{#switch:{{lc:{{{{#ifeq:{{{color_primary|no}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}}}
+
   | style  = border-top:5px solid {{{color|<nowiki>#</nowiki>{{#switch:{{lc:{{{{#ifeq:{{{color_secondary|yes}}}|no|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}}}
 
       | white
 
       | white
       | ffffff  = {{{{#ifeq:{{{color_primary|no}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
+
       | ffffff  = {{{{#ifeq:{{{color_secondary|yes}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
       | #default = {{{{#ifeq:{{{color_primary|no}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
+
       | #default = {{{{#ifeq:{{{color_secondary|yes}}}|no |CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
 
     }} }}}
 
     }} }}}
 
   | title  = {{{2}}}{{#if:{{{team_wins|}}}|&#58; {{{team_wins|0}}}–{{{team_losses|0}}}}} {{{record|}}}
 
   | title  = {{{2}}}{{#if:{{{team_wins|}}}|&#58; {{{team_wins|0}}}–{{{team_losses|0}}}}} {{{record|}}}
Line 20: Line 20:
 
  }}
 
  }}
 
  | #default = {{Game log section header
 
  | #default = {{Game log section header
   | style  = border-top:5px solid {{{color|<nowiki>#</nowiki>{{#switch:{{lc:{{{{#ifeq:{{{color_primary|no}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}}}
+
   | style  = border-top:5px solid {{{color|<nowiki>#</nowiki>{{#switch:{{lc:{{{{#ifeq:{{{color_secondary|yes}}}|no|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}}}
 
       | white
 
       | white
       | ffffff  = {{{{#ifeq:{{{color_primary|no}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
+
       | ffffff  = {{{{#ifeq:{{{color_secondary|yes}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
       | #default = {{{{#ifeq:{{{color_primary|no}}}|yes|CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
+
       | #default = {{{{#ifeq:{{{color_secondary|yes}}}|no |CollegePrimaryHex|CollegeSecondaryHex}}|1={{{1}}}}}
 
     }} }}}
 
     }} }}}
 
   | title = {{{2}}}{{#if:{{{team_wins|}}}|&#58; {{{team_wins|0}}}–{{{team_losses|0}}}}} {{{record|}}}
 
   | title = {{{2}}}{{#if:{{{team_wins|}}}|&#58; {{{team_wins|0}}}–{{{team_losses|0}}}}} {{{record|}}}

Latest revision as of 06:09, 8 June 2020

{{{2}}}
Date
time, TV
Rank# Opponent# Result Record Site
city, state
*Non-conference game. #Rankings from AP Poll. (#) Tournament seedings in parentheses.
Template documentation

Related sandboxes