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

From blackwiki
Jump to navigation Jump to search
imported>McVahl
(sync)
imported>McVahl
Line 2: Line 2:
 
{{#switch: {{lc:{{{format|}}}}}
 
{{#switch: {{lc:{{{format|}}}}}
 
  | compact = {{Game log section header
 
  | compact = {{Game log section header
  | hide    = {{{hide|no}}}
+
   | style  = border-top:5px solid {{#switch: {{lc:{{{color|{{CollegeSecondaryHex|1={{{1}}}}}}}} }}
   | style  = {{#if:{{{bgcolor|}}}|background-color: {{{bgcolor}}}; color: {{{color}}}|{{NCAA {{#ifeq:{{{color_secondary|yes}}}|yes|secondary }}color cell|1={{{1}}}}}}}
+
      | white
 +
      | ffffff
 +
      | #ffffff  = {{{color|<nowiki>#</nowiki>{{CollegePrimaryHex  |1={{{1}}}}}}}}
 +
      | #default = {{{color|<nowiki>#</nowiki>{{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|}}}
 
   | width1  = 3%  | Game
 
   | width1  = 3%  | Game
Line 16: Line 20:
 
   | width10 = 17%  | Location
 
   | width10 = 17%  | Location
 
  }}
 
  }}
  | #default = {{Game log section start
+
  | #default = {{Game log section header
   | hide  = {{{hide|no}}}
+
   | style = border-top:5px solid {{#switch: {{lc:{{{color|{{CollegeSecondaryHex|1={{{1}}}}}}}} }}
  | style = {{#if:{{{bgcolor|}}}|background-color: {{{bgcolor}}}; color: {{{color}}}|{{NCAA {{#ifeq:{{{color_secondary|yes}}}|yes|secondary&nbsp;}}color cell|1={{{1}}}}}}}
+
      | white
 +
      | ffffff
 +
      | #ffffff  = {{{color|<nowiki>#</nowiki>{{CollegePrimaryHex  |1={{{1}}}}}}}}
 +
      | #default = {{{color|<nowiki>#</nowiki>{{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|}}}
 
   | align = left
 
   | align = left
   | Date<br />time, TV
+
   | width1 = auto | Date<br />time, TV
   | {{#ifeq:{{{rank|}}} | no | | Rank<sup>#</sup>}}
+
   | width2 = auto | {{#ifeq:{{{rank|}}} | no | | Rank<sup>#</sup>}}
   | Opponent{{#ifeq:{{{rank|}}} | no | |<sup>#</sup>}}
+
   | width3 = auto | Opponent{{#ifeq:{{{rank|}}} | no | |<sup>#</sup>}}
   | Result
+
   | width4 = auto | Result
   | Record
+
   | width5 = auto | Record
   | {{#ifeq:{{{gamehighs|}}} | yes | High points }}
+
   | width6 = auto | {{#ifeq:{{{gamehighs|}}} | yes | High points }}
   | {{#ifeq:{{{gamehighs|}}} | yes | High rebounds }}
+
   | width7 = auto | {{#ifeq:{{{gamehighs|}}} | yes | High rebounds }}
   | {{#ifeq:{{{gamehighs|}}} | yes | High assists }}
+
   | width8 = auto | {{#ifeq:{{{gamehighs|}}} | yes | High assists }}
   | {{#ifeq:{{{site|}}} | no | | Site {{#ifeq:{{{attend|}}} | yes |(attendance)}}<br />city, state}}
+
   | width9 = auto | {{#ifeq:{{{site|}}} | no | | Site {{#ifeq:{{{attend|}}} | yes |(attendance)}}<br />city, state}}
 
  }}
 
  }}
}}
+
}}<noinclude>{{CBB game log end}}
<noinclude>{{CBB game log end}}
 
 
{{documentation|content=
 
{{documentation|content=
 
== Related sandboxes ==
 
== Related sandboxes ==

Revision as of 11:50, 5 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