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

From blackwiki
Jump to navigation Jump to search
imported>McVahl
(→‎Custom team colors: bgcolor param in {{CBB game log section header}} is no longer supported)
(only one status= per template)
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
 
== Usage ==
 
== Usage ==
 
=== Table format ===
 
=== Table format ===
Line 10: Line 11:
  
 
{{Collapse top|left=true|bg=#EEEEEE|title=Default format syntax}}
 
{{Collapse top|left=true|bg=#EEEEEE|title=Default format syntax}}
 +
 
===== Exhibitions and regular season =====
 
===== Exhibitions and regular season =====
 
<pre>
 
<pre>
Line 42: Line 44:
  
 
{{Collapse top|left=true|bg=#EEEEEE|title=Compact format syntax}}
 
{{Collapse top|left=true|bg=#EEEEEE|title=Compact format syntax}}
 +
 
===== Exhibitions and regular season =====
 
===== Exhibitions and regular season =====
 
<pre>
 
<pre>
Line 85: Line 88:
 
== Examples ==
 
== Examples ==
 
=== Default format ===
 
=== Default format ===
{{demo|br=|<nowiki>{{CBB game log start|Virginia Cavaliers|year=2018–19|record=35–3 (16–2)|}}
+
For default format, the game log templates {{tltt|CBB game log start}} and {{tltt|CBB game log end}} are backward compatible to schedule templates {{tltt|CBB schedule start}} and {{tltt|CBB schedule end}}, respectively—i.e. the parameters of {{tltt|CBB schedule start}} are reused in {{tltt|CBB game log start}}. Meanwhile, template {{tltt|CBB schedule entry}} is recommended to be used for entries in game log sections.
{{CBB game log section header|Virginia Cavaliers|Non-conference regular season|first=yes|attend=yes|gamehighs=yes|team_wins=1|team_losses=0}}
+
 
 +
==== Default column display ====
 +
{{nowiki template demo
 +
|code=<nowiki>{{CBB game log start | Georgia Tech Yellow Jackets |end_year=2019 |tournament=XYZ Division I}}
 +
{{CBB game log section header | Georgia Tech Yellow Jackets | Elimination round |first=yes}}
 +
<!-- Games played -->
 +
{{CBB schedule entry
 +
  |game=1 |date=June 1 |time=10:00 am |tv=ESPN
 +
  |site_stadium=[[Smart Araneta Coliseum]] |site_cityst=[[Quezon City]]
 +
  |opponent = [[Arizona Wildcats]] |score=95–82 |record=1–0 }}
 +
{{CBB schedule entry
 +
  |game=2 |date=June 2 |time=11:00 am |tv=ESPN
 +
  |site_stadium=[[Mall of Asia Arena]] |site_cityst=[[Pasay]]
 +
  |rank=2 |opprank=1
 +
  |opponent = [[Avila Eagles]] |score=70–71 |record=1–1 }}
 +
 
 +
<!-- Games played but scores are unknown -->
 +
{{CBB schedule entry
 +
  |game=3 |date=June 2 |time=5:00 pm |tv=ESPN
 +
  |site_stadium=[[Plaza de Toros de La Ribera]] |site_cityst=[[Logroño]]
 +
  |opponent  = [[Cal Poly Mustangs]] |record=2–1 |status = w }}
 +
{{CBB schedule entry
 +
  |game=4 |date=June 3 |nonconf=yes |away=yes |tv=ESPN
 +
  |site_stadium=[[Coliseum da Coruña]] |site_cityst=[[A Coruña]]
 +
  |opponent = [[Bucknell Bison]]  |record=2–2 |status = l }}
 +
 
 +
<!-- Cancelled matches -->
 +
{{CBB schedule entry
 +
  |game=5 |date=June 4 |time=12:00 nn |nonconf=yes |tv=ESPN
 +
  |site_stadium=[[Fernando Buesa Arena]] |site_cityst=[[Vitoria-Gasteiz]]
 +
  |opponent= [[Binghamton Bearcats]] |opprank=5
 +
  |status = p |record=2–2 |score=Cancelled
 +
  |result_cols = 2 }}
 +
{{CBB schedule entry
 +
  |game=6 |date=June 5 |time=1:00 pm |away=yes |tv=ESPN
 +
  |site_stadium=[[Palacio Vistalegre]] |site_cityst=[[Madrid]]
 +
  |opponent= [[Boston University Terriers]]
 +
  |status = p |record=2–2 |score=Cancelled due to something
 +
  |result_cols = 2}}
 +
 
 +
<!-- Postponed matches -->
 +
{{CBB schedule entry
 +
  |game=7 |date=June 6 |time=2:00 pm |gamename=College GameDay |tv=ESPN
 +
  |site_stadium=[[Bizkaia Arena]] |site_cityst=[[Barakaldo]]
 +
  |opponent= [[Bradley Braves]]
 +
  |status = p |record=2–2 |score=Postponed }}
 +
{{CBB schedule entry
 +
  |game=8 |date=June 7 |time=3:00 pm |tv=ESPN
 +
  |site_stadium=[[Caja Mágica]] |site_cityst=[[Madrid]]
 +
  |opponent= [[Bryant Bulldogs]]
 +
  |status = p |record=2–2 |score=Postponed due to something
 +
  |result_cols = 2 }}
 +
 
 +
<!-- Scheduled games; i.e. not yet played -->
 +
{{CBB schedule entry
 +
  |rank=1 |neutral = yes
 +
  |game=9 |date=June 10 |time=4:00 pm |tv=ESPN
 +
  |site_stadium=[[Plaza de Toros de Illumbe]] |site_cityst=[[San Sebastián]]
 +
  |opponent= [[Calgary Dinos]] |record= }}
 +
 
 +
<!-- Playoffs or postseason -->
 +
{{CBB game log section header | Georgia Tech Yellow Jackets | Postseason |playoff=yes |team_wins=2 |team_losses=0 }}
 +
{{CBB schedule entry
 +
  |game=1 |date=June 12 |time=4:00 pm |gamename=Semifinals |tv=ESPN
 +
  |site_stadium=Smart Araneta Coliseum |site_cityst=Quezon City
 +
  |rank=1  |opprank=3
 +
  |seed=4  |oppseed=2
 +
  |opponent = [[Carleton Knights]] |record=1–0 |score=89–69 }}
 +
{{CBB schedule entry
 +
  |game=1 |date=June 14 |time=6:00 pm |gamename=Finals |tv=ESPN
 +
  |site_stadium=Smart Araneta Coliseum |site_cityst=Quezon City
 +
  |seed=4 |oppseed=1
 +
  |opponent = [[Castleton Spartans]] |record=2–0 |score=68–65 |overtime=OT }}
 +
 
 +
{{CBB game log end}}</nowiki>}}
 +
 
 +
==== Game high columns shown, rank column hidden ====
 +
* Set {{para|gamehighs|yes}} in {{tltt|CBB game log section header}}; and
 +
* Set {{para|rank|no}} in all instances of {{tltt|CBB game log section header}} and {{tltt|CBB schedule entry}}
 +
 
 +
{{nowiki template demo
 +
|code=<nowiki>{{CBB game log start | Georgia Tech Yellow Jackets |end_year=2019 |tournament=XYZ Division I}}
 +
{{CBB game log section header | Georgia Tech Yellow Jackets | Elimination round |first=yes |gamehighs=yes |rank=no}}
 +
<!-- Games played -->
 +
{{CBB schedule entry
 +
  |game=1 |date=June 1 |time=10:00 am |tv=ESPN |rank=no
 +
  |site_stadium=[[Smart Araneta Coliseum]] |site_cityst=[[Quezon City]]
 +
  |opponent = [[Arizona Wildcats]] |score=95–82 |record=1–0 |highscorer    = Abando  |points  = 22
 +
  |highrebounder = Chabi Yo |rebounds = 12
 +
  |highassister  = Cansino  |assists  = 5 }}
 +
{{CBB schedule entry
 +
  |game=2 |date=June 2 |time=11:00 am |tv=ESPN
 +
  |site_stadium=[[Mall of Asia Arena]] |site_cityst=[[Pasay]]
 +
  |rank=no |opprank=1
 +
  |opponent = [[Avila Eagles]] |score=70–71 |record=1–1 |highscorer    = Chabi Yo |points  = 25
 +
  |highrebounder = Chabi Yo |rebounds = 13
 +
  |highassister  = Subido  |assists  = 6 }}
 +
 
 +
<!-- Games played but scores are unknown -->
 +
{{CBB schedule entry
 +
  |game=3 |date=June 2 |time=5:00 pm |tv=ESPN |rank=no
 +
  |site_stadium=[[Plaza de Toros de La Ribera]] |site_cityst=[[Logroño]]
 +
  |opponent  = [[Cal Poly Mustangs]] |record=2–1 |status = w
 +
  |highscorer    = Nonoy  |points  = 22
 +
  |highrebounder = ?      |rebounds = ?
 +
  |highassister  = Cansino |assists  = ? }}
 +
{{CBB schedule entry
 +
  |game=4 |date=June 3 |nonconf=yes |away=yes |tv=ESPN |rank=no
 +
  |site_stadium=[[Coliseum da Coruña]] |site_cityst=[[A Coruña]]
 +
  |opponent = [[Bucknell Bison]] |record=2–2 |status = l
 +
  |highscorer    = ? |points  = ?
 +
  |highrebounder = ? |rebounds = ?
 +
  |highassister  = ? |assists  = ? }}
 +
 
 +
<!-- Cancelled matches -->
 +
{{CBB schedule entry
 +
  |game=5 |date=June 4 |time=12:00 nn |nonconf=yes |tv=ESPN |rank=no
 +
  |site_stadium=[[Fernando Buesa Arena]] |site_cityst=[[Vitoria-Gasteiz]]
 +
  |opponent= [[Binghamton Bearcats]] |opprank=5
 +
  |status = p |record=2–2 |score=Cancelled
 +
  |highscorer    = ? |points  = ?
 +
  |highrebounder = ? |rebounds = ?
 +
  |highassister  = ? |assists  = ? }}
 +
{{CBB schedule entry
 +
  |game=6 |date=June 5 |time=1:00 pm |away=yes |tv=ESPN |rank=no
 +
  |site_stadium=[[Palacio Vistalegre]] |site_cityst=[[Madrid]]
 +
  |opponent= [[Boston University Terriers]]
 +
  |status = p |record=2–2 |score=Cancelled due to something
 +
  |highscorer    = ? |points  = ?
 +
  |highrebounder = ? |rebounds = ?
 +
  |highassister  = ? |assists  = ? }}
 +
 
 +
<!-- Postponed matches -->
 +
{{CBB schedule entry
 +
  |game=7 |date=June 6 |time=2:00 pm |gamename=College GameDay |tv=ESPN |rank=no
 +
  |site_stadium=[[Bizkaia Arena]] |site_cityst=[[Barakaldo]]
 +
  |opponent= [[Bradley Braves]]
 +
  |status = p |record=2–2 |score=Postponed
 +
  |highscorer    = ? |points  = ?
 +
  |highrebounder = ? |rebounds = ?
 +
  |highassister  = ? |assists  = ? }}
 +
{{CBB schedule entry
 +
  |game=8 |date=June 7 |time=3:00 pm |tv=ESPN |rank=no
 +
  |site_stadium=[[Caja Mágica]] |site_cityst=[[Madrid]]
 +
  |opponent= [[Bryant Bulldogs]]
 +
  |status = p |record=2–2 |score=Postponed due to something
 +
  |highscorer    = ? |points  = ?
 +
  |highrebounder = ? |rebounds = ?
 +
  |highassister  = ? |assists  = ? }}
 +
 
 +
<!-- Scheduled games; i.e. not yet played -->
 
{{CBB schedule entry
 
{{CBB schedule entry
| date         = November 6, 2018
+
  |rank=no |neutral = yes
| time         = 7:00 pm     | tv       = [[ACC Network|ACCN Extra]]
+
  |game=9 |date=June 10 |time=4:00 pm |tv=ESPN
| w/l          = w
+
  |site_stadium=[[Plaza de Toros de Illumbe]] |site_cityst=[[San Sebastián]]
| rank          = 5
+
  |opponent= [[Calgary Dinos]] |record=
| opponent     = [[2018–19 Towson Tigers men's basketball team|Towson]]
+
  |highscorer    = ? |points  = ?
| score        = 73–42      | nonconf  = yes
+
  |highrebounder = ? |rebounds = ?
| highscorer    = Jerome      | points  = 20
+
  |highassister  = ? |assists  = ? }}
| 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}}
+
<!-- Playoffs or postseason -->
 +
{{CBB game log section header | Georgia Tech Yellow Jackets | Postseason |playoff=yes |team_wins=2 |team_losses=0 |gamehighs=yes |rank=no }}
 
{{CBB schedule entry
 
{{CBB schedule entry
| date         = March 14, 2019
+
  |game=1 |date=June 12 |time=4:00 pm |gamename=Semifinals |tv=ESPN
| time         = 12:30 pm   | neutral  = yes
+
  |site_stadium=Smart Araneta Coliseum |site_cityst=Quezon City
| tv           = ESPN/Raycom | gamename = Quarterfinals
+
  |rank=no
| w/l          = w          | opponent = NC State
+
  |opponent = [[Carleton Knights]] |record=1–0 |score=89–69 |highscorer    =''Tied''  |points  = 17
| rank         = 2          | opprank  =     
+
  |highrebounder = Chabi Yo  |rebounds = 15
| seed          = 1          | oppseed  = 8
+
  |highassister  = Subido    |assists  = 12 }}
| 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
 
{{CBB schedule entry
| date         = March 15, 2019
+
  |game=1 |date=June 14 |time=6:00 pm |gamename=Finals |tv=ESPN
| time         = 7:00 pm     | neutral  = yes
+
  |site_stadium=Smart Araneta Coliseum |site_cityst=Quezon City
| tv           = ESPN/Raycom | gamename = Semifinals
+
  |rank=no
| w/l          = l          | opponent = Florida State
+
  |opponent = [[Castleton Spartans]] |record=2–0 |score=68–65 |overtime=OT |highscorer    = Chabi Yo |points  = 22
| rank         = 2          | opprank  = 12
+
  |highrebounder = Chabi Yo |rebounds = 16
| seed          = 1          | oppseed  = 4
+
  |highassister  = Nonoy    |assists  = 6 }}
| 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}}</nowiki>}}
 
{{CBB game log end}}</nowiki>}}
  
 
=== Compact format ===
 
=== Compact format ===
{{demo|br=|<nowiki>{{CBB game log start|UST Growling Tigers|season=UAAP Season 82|record=11–8|color_secondary=yes}}
+
For compact format, template {{tltt|CBB game log section entry}} is recommended to be used for entries in game log sections.
{{CBB game log section header|UST Growling Tigers|Elimination round|format=compact|team_wins=8|team_losses=6|first=yes|color_secondary=no}}
+
 
 +
==== Full, rank column shown ====
 +
{{nowiki template demo
 +
|code=<nowiki>{{CBB game log start | UST Growling Tigers |end_year=2019 |tournament=XYZ Division I}}
 +
{{CBB game log section header | UST Growling Tigers | Elimination round |format=compact |first=yes}}
 +
<!-- Games played -->
 
{{CBB game log section entry
 
{{CBB game log section entry
   |game=1 |date=Sep 4 |time=10:30 am  
+
   |game=1 |date=June 1 |time=10:00 am |site_stadium=[[Smart Araneta Coliseum]]
   |opponent      = [[UE Red Warriors]]
+
   |opponent      = [[Arizona Wildcats]] |score=95–82 |record=1–0  
  |score         = 95–82   |boxscore=http://google.com
 
  |record       = 1–0
 
 
   |highscorer    = Abando  |points  = 22
 
   |highscorer    = Abando  |points  = 22
 
   |highrebounder = Chabi Yo |rebounds = 12
 
   |highrebounder = Chabi Yo |rebounds = 12
   |highassister  = Cansino  |assists  = 5
+
   |highassister  = Cansino  |assists  = 5 }}
   |site_stadium = [[Smart Araneta Coliseum]] }}
+
{{CBB game log section entry
 +
   |game=2 |date=June 2 |time=11:00 am |site_stadium=[[Mall of Asia Arena]]
 +
  |rank=2 |opprank=1
 +
  |opponent      = [[Avila Eagles]] |score=70–71 |record=1–1
 +
  |highscorer    = Chabi Yo |points  = 25
 +
  |highrebounder = Chabi Yo |rebounds = 13
 +
  |highassister  = Subido  |assists  = 6 }}
 +
 
 +
<!-- Games played but scores are unknown -->
 
{{CBB game log section entry
 
{{CBB game log section entry
   |game=2 |date=Sep 7 |time=4:45 pm
+
   |game=3 |date=June 2 |time=5:00 pm |site_stadium=[[Plaza de Toros de La Ribera]]
   |opponent=[[UP Fighting Maroons]]
+
   |opponent     = [[Cal Poly Mustangs]] |status=win |record=2–1
  |status       = Cancelled
+
   |highscorer    = Nonoy |points  = 22
   |status_detail = Cancelled reason here
+
   |highassister = Cansino }}
   |site_stadium = Smart Araneta Coliseum }}
 
 
{{CBB game log section entry
 
{{CBB game log section entry
   |game=3 |date=Sep 11 |time=10:45 am
+
   |game=4 |date=June 3 |nonconf=yes |away=yes |site_stadium=[[Coliseum da Coruña]]
   |opponent     = [[Ateneo Blue Eagles]]
+
   |opponent = [[Bucknell Bison]]  |status=loss |record=2–2 }}
  |site_stadium = Smart Araneta Coliseum
+
 
  |status       = Postponed
+
<!-- Cancelled matches -->
  |status_detail = Postponed reason here }}
 
 
{{CBB game log section entry
 
{{CBB game log section entry
   |game=4 |date=Sep 15 |time=2:00 pm
+
   |game=5 |date=June 4 |time=12:00 nn |nonconf=yes |site_stadium=[[Fernando Buesa Arena]]
   |opponent     = [[NU Bulldogs]]
+
  |opponent= [[Binghamton Bearcats]] |opprank=5
   |site_stadium = [[Mall of Asia Arena]]
+
  |status=cancelled }}
   |score         = 87–74    |overtime=OT |boxscore=http://en.wikipedia.org
+
{{CBB game log section entry
   |record       = 2–0
+
  |game=6 |date=June 5 |time=1:00 pm |away=yes |site_stadium=[[Palacio Vistalegre]]
 +
  |opponent= [[Boston University Terriers]]
 +
  |status=cancelled |status_detail=Cancelled due to something }}
 +
 
 +
<!-- Postponed matches -->
 +
{{CBB game log section entry
 +
  |game=7 |date=June 6 |time=2:00 pm |gamename=College GameDay |site_stadium=[[Bizkaia Arena]]
 +
   |opponent= [[Bradley Braves]]
 +
   |status=postponed }}
 +
{{CBB game log section entry
 +
  |game=8 |date=June 7 |time=3:00 pm |site_stadium=[[Caja Mágica]]
 +
  |opponent= [[Bryant Bulldogs]]
 +
   |status=postponed |status_detail=Postponed due to something }}
 +
{{CBB game log section entry
 +
  |game=9 |date=June 8 |time=4:00 pm |site_stadium=Caja Mágica
 +
  |opponent= [[Bryant Bulldogs]] |score=91–81 |overtime=OT |boxscore=http://en.wikipedia.org }}
 +
 
 +
<!-- Scheduled games; i.e. not yet played -->
 +
{{CBB game log section entry
 +
  |rank=1 |neutral = yes
 +
  |game=9 |date=June 10 |time=4:00 pm |site_stadium=[[Plaza de Toros de Illumbe]]
 +
  |opponent= [[Calgary Dinos]] }}
 +
 
 +
<!-- Playoffs or postseason -->
 +
{{CBB game log section header | UST Growling Tigers | Postseason |format=compact |playoff=yes |team_wins=2 |team_losses=0 }}
 +
{{CBB game log section entry
 +
  |game=1 |date=June 12 |time=4:00 pm |gamename=Semifinals |site_stadium=Smart Araneta Coliseum
 +
  |rank=1  |opprank=3
 +
  |seed=4  |oppseed=2
 +
  |opponent      = [[Carleton Knights]] |record=1–0 |score=89–69 |boxscore=http://en.wikipedia.org
 +
  |highscorer    =''Tied''  |points  = 17
 +
  |highrebounder = Chabi Yo  |rebounds = 15
 +
  |highassister  = Subido    |assists  = 12 }}
 +
{{CBB game log section entry
 +
  |game=1 |date=June 14 |time=6:00 pm |gamename=Finals |site_stadium=Smart Araneta Coliseum
 +
  |seed=4 |oppseed=1
 +
   |opponent      = [[Castleton Spartans]] |record=2–0 |score=68–65 |overtime=OT
 +
  |highscorer    = Chabi Yo |points  = 22
 +
  |highrebounder = Chabi Yo |rebounds = 16
 +
  |highassister  = Nonoy    |assists  = 6 }}
 +
 
 +
{{CBB game log end}}</nowiki>}}
 +
 
 +
==== Rank column hidden ====
 +
Simply set {{para|rank|no}} in all instances of {{tltt|CBB game log section header}} and {{tltt|CBB game log section entry}}.
 +
 
 +
{{nowiki template demo
 +
|code=<nowiki>{{CBB game log start | UST Growling Tigers |end_year=2019 |tournament=XYZ Division I}}
 +
{{CBB game log section header | UST Growling Tigers | Elimination round |format=compact |first=yes |rank=no }}
 +
<!-- Games played -->
 +
{{CBB game log section entry
 +
  |game=1 |date=June 1 |time=10:00 am |site_stadium=[[Smart Araneta Coliseum]] |rank=no
 +
  |opponent      = [[Arizona Wildcats]] |score=95–82 |record=1–0
 +
  |highscorer    = Abando  |points  = 22
 +
  |highrebounder = Chabi Yo |rebounds = 12
 +
  |highassister  = Cansino  |assists  = 5 }}
 +
{{CBB game log section entry
 +
  |game=2 |date=June 2 |time=11:00 am |site_stadium=[[Mall of Asia Arena]] |rank=no
 +
  |opponent      = [[Avila Eagles]] |score=70–71 |record=1–1
 
   |highscorer    = Chabi Yo |points  = 25
 
   |highscorer    = Chabi Yo |points  = 25
   |highrebounder = Chabi Yo |rebounds = 20
+
   |highrebounder = Chabi Yo |rebounds = 13
   |highassister  = Chabi Yo |assists  = 4}}
+
   |highassister  = Subido  |assists  = 6 }}
 +
 
 +
<!-- Games played but scores are unknown -->
 +
{{CBB game log section entry
 +
  |game=3 |date=June 2 |time=5:00 pm |site_stadium=[[Plaza de Toros de La Ribera]] |rank=no
 +
  |opponent      = [[Cal Poly Mustangs]] |status=win |record=2–1
 +
  |highscorer    = Nonoy |points  = 22
 +
  |highassister  = Cansino }}
 
{{CBB game log section entry
 
{{CBB game log section entry
   |game=5 |date=Sep 18 |time=12:30 pm
+
   |game=4 |date=June 3 |nonconf=yes |away=yes |site_stadium=[[Coliseum da Coruña]] |rank=no
   |opponent     = [[Adamson Soaring Falcons]]
+
   |opponent = [[Bucknell Bison]] |status=loss |record=2–2 }}
  |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}}
+
<!-- Cancelled matches -->
 +
{{CBB game log section entry
 +
  |game=5 |date=June 4 |time=12:00 nn |nonconf=yes |site_stadium=[[Fernando Buesa Arena]] |rank=no
 +
  |opponent= [[Binghamton Bearcats]] |opprank=5
 +
  |status=cancelled }}
 
{{CBB game log section entry
 
{{CBB game log section entry
   |game=1 |date=Nov 10 |time=4:25 pm
+
   |game=6 |date=June 5 |time=1:00 pm |away=yes |site_stadium=[[Palacio Vistalegre]] |rank=no
  |seed          = 4
+
   |opponent= [[Boston University Terriers]]
  |oppseed      = 2        |opponent = {{UAAPteam-noicon|UP}}
+
   |status=cancelled |status_detail=Cancelled due to something }}
   |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}}
+
<!-- Postponed matches -->
 
{{CBB game log section entry
 
{{CBB game log section entry
   |game=1 |date=Nov 16 |time=4:00 pm
+
   |game=7 |date=June 6 |time=2:00 pm |gamename=College GameDay |site_stadium=[[Bizkaia Arena]] |rank=no
  |seed          = 4
+
   |opponent= [[Bradley Braves]]
  |oppseed      = 1      |opponent = {{UAAPteam-noicon|Ateneo}}
+
   |status=postponed }}
   |score        = 77–91   |record  = 0–1
+
{{CBB game log section entry
   |highscorer    = Nonoy  |points  = 26
+
   |game=8 |date=June 7 |time=3:00 pm |site_stadium=[[Caja Mágica]] |rank=no
  |highrebounder = Cansino |rebounds = 13
+
   |opponent= [[Bryant Bulldogs]]
   |highassister  = Cansino |assists  = 6
+
  |status=postponed |status_detail=Postponed due to something }}
  |site_stadium  = Smart Araneta Coliseum }}
+
{{CBB game log section entry
{{CBB game log end|hide_nonconf=yes|rank=no|timezone=[[UTC+08:00]]|notes=Additional notes here}}</nowiki>}}
+
  |game=9 |date=June 8 |time=4:00 pm |site_stadium=Caja Mágica |rank=no
 +
  |opponent= [[Bryant Bulldogs]] |score=91–81 |overtime=OT |boxscore=http://en.wikipedia.org }}
  
==== Automated check of win/loss results ====
+
<!-- Scheduled games; i.e. not yet played -->
{{Warning
+
{{CBB game log section entry
|heading=Automated check of win/loss results
+
  |neutral = yes |rank=no
|1=In compact format, win and loss results are automatically determined via parameter <code>score</code>. Only dash-separated numbers are accepted values.
+
  |game=10 |date=June 10 |time=4:00 pm |site_stadium=[[Plaza de Toros de Illumbe]]
 +
  |opponent= [[Calgary Dinos]] }}
  
To add external link to the scores such as boxscores, use <code>boxscore</code> parameter , e.g. {{para|boxscore|https://www.mysampleweb.com/stats/game/1}}.
+
<!-- Playoffs or postseason -->
For games decided in overtime, use <code>overtime</code> parameter, e.g. {{para|overtime|OT}} or {{para|overtime|2OT}}.
+
{{CBB game log section header | UST Growling Tigers | Postseason |format=compact |playoff=yes |rank=no |team_wins=2 |team_losses=0}}
}}
+
{{CBB game log section entry
 +
  |game=1 |date=June 12 |time=4:00 pm |gamename=Semifinals |site_stadium=Smart Araneta Coliseum
 +
  |rank=no
 +
  |opponent      = [[Carleton Knights]] |record=1–0 |score=89–69 |boxscore=http://en.wikipedia.org
 +
  |highscorer    =''Tied''  |points  = 17
 +
  |highrebounder = Chabi Yo  |rebounds = 15
 +
  |highassister  = Subido    |assists  = 12 }}
 +
{{CBB game log section entry
 +
  |game=1 |date=June 14 |time=6:00 pm |gamename=Finals |site_stadium=Smart Araneta Coliseum
 +
  |rank=no
 +
  |opponent      = [[Castleton Spartans]] |record=2–0 |score=68–65 |overtime=OT
 +
  |highscorer    = Chabi Yo |points  = 22
 +
  |highrebounder = Chabi Yo |rebounds = 16
 +
  |highassister  = Nonoy    |assists  = 6 }}
  
; Demo
+
{{CBB game log end}}</nowiki>}}
{{demo|br=|<nowiki>{{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}}
 
</nowiki>}}
 
  
 
=== Custom team colors ===
 
=== Custom team colors ===
{{demo|br=|<nowiki>{{CBB game log start|end_year=2016|tournament=XYZ Men's Basketball Tournament|record=1–1|bgcolor=#2D1653|color=#FFFFFF}}
+
{{nowiki template demo
 +
|code=<nowiki>{{CBB game log start|end_year=2016|tournament=XYZ Men's Basketball Tournament|record=1–1|bgcolor=#2D1653}}
  
{{CBB game log section header| |Custom colors in default format|team_wins=1|team_losses=1|first=yes|color=#9E1B32|hide=yes}}
+
{{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={{bk|ESP}} |date=June 1 |site_stadium=[[Pabellón Príncipe Felipe]] |site_cityst=[[Aragon]]                   |record= }}
+
{{CBB schedule entry |opponent=[[University of Western Australia]] |date=June 1
{{CBB schedule entry |opponent={{bk|GBR}} |date=June 8 |site_stadium=[[Emirates Arena]]           |site_cityst=[[Glasgow|Glasgow, Scotland]] |record= }}
+
  |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| |Custom colors in compact format|format=compact|team_wins=0|team_losses=1|color=#9E1B32|hide=yes}}
+
{{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={{bk|ARG}} |date=June 17 |time=6:00 pm |site_stadium=[[Estadio Obras Sanitarias]] }}
+
{{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>}}
 
{{CBB game log end}}</nowiki>}}
 
=== Test cases ===
 
For more examples, see [[Template:CBB game log start/testcases]].
 
  
 
== See also ==
 
== See also ==

Latest revision as of 04:03, 22 June 2020


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

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 column display

Template:Nowiki template demo

Game high columns shown, rank column hidden

Template:Nowiki template demo

Compact format

For compact format, template Template:Tltt is recommended to be used for entries in game log sections.

Full, rank column shown

Template:Nowiki template demo

Rank column hidden

Simply set |rank=no in all instances of Template:Tltt and Template:Tltt.

Template:Nowiki template demo

Custom team colors

Template:Nowiki template demo

See also