Difference between revisions of "Template:CBB game log start/testcases"

From blackwiki
Jump to navigation Jump to search
imported>McVahl
imported>McVahl
(+test case for custom colours)
Line 717: Line 717:
  
 
{{CBB game log end/sandbox}}</nowiki>}}
 
{{CBB game log end/sandbox}}</nowiki>}}
 +
 +
== Custom team colors ==
 +
; Live results
 +
: '''{{tl2|CBB game log start}}'''
 +
: '''{{tl2|CBB game log section header}}'''
 +
{{nowiki template demo
 +
|showcode=no
 +
|code=<nowiki><div></div>{{CBB game log start|end_year=2016|tournament=XYZ Men's Basketball Tournament|record=1–1|bgcolor=#2D1653|color=#FFFFFF}}
 +
 +
{{CBB game log section header|2=Custom colors in default format|team_wins=1|team_losses=1|first=yes|color=#9E1B32|gamehighs=yes}}
 +
{{CBB schedule entry |opponent=[[University of Western Australia]] |date=June 1
 +
  |site_stadium=[[Perth Arena]] |site_cityst=[[Perth]], WA
 +
  |record= |highscorer=&nbsp; |points = |highrebounder=&nbsp; |rebounds = |highassister=&nbsp; |assists  = }}
 +
{{CBB schedule entry |opponent=[[La Trobe University]] |date=June 8
 +
  |site_stadium=[[State Basketball Centre]] |site_cityst=[[Melbourne]], VIC
 +
  |record= |highscorer=&nbsp; |points = |highrebounder=&nbsp; |rebounds = |highassister=&nbsp; |assists  = }}
 +
 +
{{CBB game log section header|2=Custom colors in compact format|format=compact|team_wins=0|team_losses=1|color=#9E1B32|hide=yes}}
 +
{{CBB game log section entry |opponent=[[University of Adelaide]]  |date=June 17 |time=6:00 pm |site_stadium=[[Sydney Super Dome]] }}
 +
 +
{{CBB game log end}}</nowiki>}}
 +
 +
; Sandbox results
 +
: '''{{tl2|CBB game log start/sandbox}}'''
 +
: '''{{tl2|CBB game log section header/sandbox}}'''
 +
{{nowiki template demo
 +
|showcode=no
 +
|code=<nowiki><div></div>{{CBB game log start/sandbox|end_year=2016|tournament=XYZ Men's Basketball Tournament|record=1–1|bgcolor=#2D1653|color=#FFFFFF}}
 +
 +
{{CBB game log section header/sandbox|2=Custom colors in default format|team_wins=1|team_losses=1|first=yes|color=#9E1B32|gamehighs=yes}}
 +
{{CBB schedule entry|opponent=[[University of Western Australia]] |date=June 1
 +
  |site_stadium=[[Perth Arena]] |site_cityst=[[Perth]], WA
 +
  |record= |highscorer=&nbsp; |points = |highrebounder=&nbsp; |rebounds = |highassister=&nbsp; |assists  = }}
 +
{{CBB schedule entry |opponent=[[La Trobe University]] |date=June 8
 +
  |site_stadium=[[State Basketball Centre]] |site_cityst=[[Melbourne]], VIC
 +
  |record= |highscorer=&nbsp; |points = |highrebounder=&nbsp; |rebounds = |highassister=&nbsp; |assists  = }}
 +
 +
{{CBB game log section header/sandbox|2=Custom colors in compact format|format=compact|team_wins=0|team_losses=1|color=#9E1B32|hide=yes}}
 +
{{CBB game log section entry |opponent=[[University of Adelaide]]  |date=June 17 |time=6:00 pm |site_stadium=[[Sydney Super Dome]] }}
 +
 +
{{CBB game log end}}</nowiki>}}

Revision as of 15:19, 5 June 2020

Default format

Default column display

Live results
{{CBB game log start}}
{{CBB game log section header}}
{{CBB schedule entry}}
{{CBB game log end}}

Template:Nowiki template demo

Sandbox results
{{CBB game log start/sandbox}}
{{CBB game log section header/sandbox}}
{{CBB schedule entry/sandbox}}
{{CBB game log end/sandbox}}

Template:Nowiki template demo

Game high columns shown, rank column hidden

Live results
{{CBB game log start}}
{{CBB game log section header}}
{{CBB schedule entry}}
{{CBB game log end}}

Template:Nowiki template demo

Sandbox results
{{CBB game log start/sandbox}}
{{CBB game log section header/sandbox}}
{{CBB schedule entry/sandbox}}
{{CBB game log end/sandbox}}

Template:Nowiki template demo

Compact format

Rank column shown

Live results
{{CBB game log start}}
{{CBB game log section header}}
{{CBB game log section entry}}
{{CBB game log end}}

Template:Nowiki template demo

Sandbox results
{{CBB game log start/sandbox}}
{{CBB game log section header/sandbox}}
{{CBB game log section entry/sandbox}}
{{CBB game log end/sandbox}}

Template:Nowiki template demo

Rank column hidden

Live results
{{CBB game log start}}
{{CBB game log section header}}
{{CBB game log section entry}}
{{CBB game log end}}

Template:Nowiki template demo

Sandbox results
{{CBB game log start/sandbox}}
{{CBB game log section header/sandbox}}
{{CBB game log section entry/sandbox}}
{{CBB game log end/sandbox}}

Template:Nowiki template demo

Custom team colors

Live results
{{CBB game log start}}
{{CBB game log section header}}

Template:Nowiki template demo

Sandbox results
{{CBB game log start/sandbox}}
{{CBB game log section header/sandbox}}

Template:Nowiki template demo