Template:CBB game log start/doc
| This is a documentation subpage for Template:CBB game log start. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Table format
Default
For default format, the game log templates Template:Tltt and Template:Tltt are backward compatible to schedule templates Template:Tltt and Template:Tltt, respectively—i.e. the parameters of Template:Tltt are reused in Template:Tltt. Meanwhile, template Template:Tltt is recommended to be used for entries in game log sections.
Default format syntax
|
|---|
Exhibitions and regular season{{CBB game log start |TEAM_NAME|season=|year=|end_year=|tournament=|record=}}
{{CBB game log section header|TEAM_NAME|Exhibition|first=yes|team_wins=|team_losses=}}
{{CBB schedule entry}}
...
{{CBB game log section header|TEAM_NAME|Non-conference regular season|team_wins=|team_losses=}}
{{CBB schedule entry}}
...
{{CBB game log section header|TEAM_NAME|ACC regular season|team_wins=|team_losses=}}
{{CBB schedule entry}}
...
{{CBB game log end}}
Playoffs{{CBB game log start |TEAM_NAME|playoff=yes|season=|year=|end_year=|tournament=|record=}}
{{CBB game log section header|TEAM_NAME|ACC Tournament|playoff=yes|first=yes|team_wins=|team_losses=}}
{{CBB schedule entry}}
...
{{CBB game log section header|TEAM_NAME|NCAA Tournament|playoff=yes|team_wins=|team_losses=}}
{{CBB schedule entry}}
...
{{CBB game log end}}
|
Compact
For compact format, template Template:Tltt is recommended to be used for entries in game log sections.
Compact format syntax
|
|---|
Exhibitions and regular season{{CBB game log start |TEAM_NAME|season=|year=|end_year=|tournament=|record=}}
{{CBB game log section header|TEAM_NAME|Exhibition|format=compact|first=yes|team_wins=|team_losses=}}
{{CBB game log section entry}}
...
{{CBB game log section header|TEAM_NAME|Non-conference regular season|format=compact|team_wins=|team_losses=}}
{{CBB game log section entry}}
...
{{CBB game log section header|TEAM_NAME|ACC regular season|format=compact|team_wins=|team_losses=}}
{{CBB game log section entry}}
...
{{CBB game log end}}
Playoffs{{CBB game log start |TEAM_NAME|playoff=yes|season=|year=|end_year=|tournament=|record=}}
{{CBB game log section header|TEAM_NAME|ACC Tournament|format=compact|playoff=yes|first=yes|team_wins=|team_losses=}}
{{CBB game log section entry}}
...
{{CBB game log section header|TEAM_NAME|NCAA Tournament|format=compact|playoff=yes|team_wins=|team_losses=}}
{{CBB game log section entry}}
...
{{CBB game log end}}
|
Colors
By default, the table utilizes Template:Tltt and Template:Tltt templates for team colors. Team's name and colors must be listed in Module:College color for colors to take effect, e.g. for Harvard Crimson appearing on the teams list:
{{CBB game log start |Harvard Crimson|..}} <!-- primary color is applied -->
{{CBB game log section header|Harvard Crimson|..}} <!-- secondary color is applied -->
If team does not appear in Module:College color list, custom colors can be supplied as follows:
{{CBB game log start |color=#000000|..}}
{{CBB game log start |color=black |..}}
Examples
Default format
{{CBB game log start|Virginia Cavaliers|year=2018–19|record=35–3 (16–2)|}}
{{CBB game log section header|Virginia Cavaliers|Non-conference regular season|first=yes|attend=yes|gamehighs=yes|team_wins=1|team_losses=0}}
{{CBB schedule entry
| date = November 6, 2018
| time = 7:00 pm | tv = [[ACC Network|ACCN Extra]]
| w/l = w
| rank = 5
| opponent = [[2018–19 Towson Tigers men's basketball team|Towson]]
| score = 73–42 | nonconf = yes
| highscorer = Jerome | points = 20
| highrebounder = Hunter | rebounds = 10
| highassister = Clark | assists = 6
| attend = 13,807 | record = 1–0
| site_stadium = [[John Paul Jones Arena]]
| site_cityst = [[Charlottesville, Virginia|Charlottesville, VA]]
}}
{{CBB game log section header|Virginia Cavaliers|ACC Tournament|attend=yes|gamehighs=yes|team_wins=1|team_losses=1}}
{{CBB schedule entry
| date = March 14, 2019
| time = 12:30 pm | neutral = yes
| tv = ESPN/Raycom | gamename = Quarterfinals
| w/l = w | opponent = NC State
| rank = 2 | opprank =
| seed = 1 | oppseed = 8
| score = 76–56
| highscorer = Guy | points = 29
| highrebounder = Key | rebounds = 7
| highassister = Jerome | assists = 10
| attend = 19,691 | record = 29–2
| site_stadium = [[Spectrum Center (arena)|Spectrum Center]]
| site_cityst = [[Charlotte, North Carolina|Charlotte, NC]]
}}
{{CBB schedule entry
| date = March 15, 2019
| time = 7:00 pm | neutral = yes
| tv = ESPN/Raycom | gamename = Semifinals
| w/l = l | opponent = Florida State
| rank = 2 | opprank = 12
| seed = 1 | oppseed = 4
| score = 59–69
| highscorer = Hunter | points = 13
| highrebounder = Salt | rebounds = 5
| highassister = Guy | assists = 4
| attend = 20,116 | record = 29–3
| site_stadium = Spectrum Center
| site_cityst = Charlotte, NC }}
{{CBB game log end}}
| style="Template:NCAA color cell" | Script error: No such module "If empty". Virginia Cavaliers game log 35–3 (16–2) | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| *Non-conference game. #Rankings from AP Poll. (#) Tournament seedings in parentheses. | |||||||||||||||||||||||||||
Compact format
{{CBB game log start|UST Growling Tigers|season=UAAP Season 82|record=11–8|color_secondary=yes}}
{{CBB game log section header|UST Growling Tigers|Elimination round|format=compact|team_wins=8|team_losses=6|first=yes|color_secondary=no}}
{{CBB game log section entry
|game=1 |date=Sep 4 |time=10:30 am
|opponent = [[UE Red Warriors]]
|score = 95–82 |boxscore=http://google.com
|record = 1–0
|highscorer = Abando |points = 22
|highrebounder = Chabi Yo |rebounds = 12
|highassister = Cansino |assists = 5
|site_stadium = [[Smart Araneta Coliseum]] }}
{{CBB game log section entry
|game=2 |date=Sep 7 |time=4:45 pm
|opponent=[[UP Fighting Maroons]]
|status = Cancelled
|status_detail = Cancelled reason here
|site_stadium = Smart Araneta Coliseum }}
{{CBB game log section entry
|game=3 |date=Sep 11 |time=10:45 am
|opponent = [[Ateneo Blue Eagles]]
|site_stadium = Smart Araneta Coliseum
|status = Postponed
|status_detail = Postponed reason here }}
{{CBB game log section entry
|game=4 |date=Sep 15 |time=2:00 pm
|opponent = [[NU Bulldogs]]
|site_stadium = [[Mall of Asia Arena]]
|score = 87–74 |overtime=OT |boxscore=http://en.wikipedia.org
|record = 2–0
|highscorer = Chabi Yo |points = 25
|highrebounder = Chabi Yo |rebounds = 20
|highassister = Chabi Yo |assists = 4}}
{{CBB game log section entry
|game=5 |date=Sep 18 |time=12:30 pm
|opponent = [[Adamson Soaring Falcons]]
|site_stadium = Mall of Asia Arena }}
{{CBB game log section header|UST Growling Tigers|Semifinals|format=compact|playoff=yes|team_wins=1|team_losses=0|color_secondary=no}}
{{CBB game log section entry
|game=1 |date=Nov 10 |time=4:25 pm
|seed = 4
|oppseed = 2 |opponent = {{UAAPteam-noicon|UP}}
|record = 1–0 |score = 89–69
|highscorer = ''Tied'' |points = 17
|highrebounder = Chabi Yo |rebounds = 15
|highassister = Subido |assists = 12
|site_stadium=Smart Araneta Coliseum }}
{{CBB game log section header|UST Growling Tigers|Finals|format=compact|playoff=yes|team_wins=0|team_losses=1|color_secondary=no}}
{{CBB game log section entry
|game=1 |date=Nov 16 |time=4:00 pm
|seed = 4
|oppseed = 1 |opponent = {{UAAPteam-noicon|Ateneo}}
|score = 77–91 |record = 0–1
|highscorer = Nonoy |points = 26
|highrebounder = Cansino |rebounds = 13
|highassister = Cansino |assists = 6
|site_stadium = Smart Araneta Coliseum }}
{{CBB game log end|hide_nonconf=yes|rank=no|timezone=[[UTC+08:00]]|notes=Additional notes here}}
| style="Template:NCAA secondary color cell" | UAAP Season 82 game log 11–8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (#) Tournament seedings in parentheses. All times are in UTC+08:00. Additional notes here | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Automated check of win/loss results
Automated check of win/loss results In compact format, win and loss results are automatically determined via parameter score. Only dash-separated numbers are accepted values.
To add external link to the scores such as boxscores, use overtime parameter, e.g. |overtime=OT or |overtime=2OT. |
- Demo
{{CBB game log start|Dartmouth Big Green|end_year=2017}}
{{CBB game log section header|Dartmouth Big Green|Test scores|format=compact|first=yes|rank=no}}
{{CBB game log section entry |game=1 |rank=no |score=87-74}}
{{CBB game log section entry |game=2 |rank=no |score=87–74 }}
{{CBB game log section entry |game=3 |rank=no |score=74-87 }}
{{CBB game log section entry |game=4 |rank=no |score=74–87 }}
{{CBB game log section entry |game=5 |rank=no |score=87–74<sup>OT</sup> }}
{{CBB game log section entry |game=6 |rank=no |score=0–0 }}
{{CBB game log section entry |game=7 |rank=no |score=87–87 }}
{{CBB game log section entry |game=8 |rank=no |score=- }}
{{CBB game log section entry |game=9 |rank=no |score=[[87–74]] }}
{{CBB game log section entry |game=10 |rank=no |score=[http://https://www.mysampleweb.com/stats/game/1 87–74] }}
{{CBB game log section entry |game=11 |rank=no |score=87-AA }}
{{CBB game log section entry |game=12 |rank=no |score=87–74AA }}
{{CBB game log section entry |game=13 |rank=no |score=87-74-AA }}
{{CBB game log section entry |game=14 |rank=no |score=AA-74-87 }}
{{CBB game log section entry |game=15 |rank=no |score=87 }}
{{CBB game log section entry |game=16 |rank=no |score=87- }}
{{CBB game log section entry |game=17 |rank=no |score=-87 }}
{{CBB game log end}}
| style="Template:NCAA color cell" | Script error: No such module "If empty". Dartmouth Big Green game log | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| *Non-conference game. #Rankings from AP Poll. (#) Tournament seedings in parentheses. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Custom team colors
{{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| |Custom colors in default format|team_wins=1|team_losses=1|first=yes|color=#9E1B32|hide=yes}}
{{CBB schedule entry |opponent={{bk|ESP}} |date=June 1 |site_stadium=[[Pabellón Príncipe Felipe]] |site_cityst=[[Aragon]] |record= }}
{{CBB schedule entry |opponent={{bk|GBR}} |date=June 8 |site_stadium=[[Emirates Arena]] |site_cityst=[[Glasgow|Glasgow, Scotland]] |record= }}
{{CBB game log section header| |Custom colors in compact format|format=compact|team_wins=0|team_losses=1|color=#9E1B32|hide=yes}}
{{CBB game log section entry |opponent={{bk|ARG}} |date=June 17 |time=6:00 pm |site_stadium=[[Estadio Obras Sanitarias]] }}
{{CBB game log end}}
| Script error: No such module "If empty". XYZ Men's Basketball Tournament game log 1–1 | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
| ||||||||||||||||||||
| *Non-conference game. #Rankings from AP Poll. (#) Tournament seedings in parentheses. | ||||||||||||||||||||
Test cases
For more examples, see Template:CBB game log start/testcases.
See also
- {{CBB game log section header}}
- {{CBB game log end}}
- Section entry template/s:
- {{CBB schedule entry}} – for default format
- {{CBB game log section entry}} – for compact format