This is the template sandbox page for Template:Basketballbox (diff). See also the companion subpage for test cases. |
This template is used on approximately 4,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
edit- bg = Background color
- date = Date
- time = Time
- report = Report/recap external link
- team1 = Team's name (to use North American convention)
- team2 = Team's name (to use North American convention)
- score1 = Team 1's score (to use North American convention)
- score2 = Team 2's score (to use North American convention)
- teamA = Team's name (to use International convention)
- teamB = Team's name (to use International convention)
- scoreA = Team 1's score (to use International convention)
- scoreB = Team 2's score (to use International convention)
- Q1 = First quarter score
- Q2 = Second quarter score
- Q3 = Third quarter score
- Q4 = Fourth quarter score
- H1 = First half score (use only in tournaments/leagues which divide the game into halves)
- H2 = Second half score (use only in tournaments/leagues which divide the game into halves)
- OT = Overtime score (if multiple overtimes, separate by a comma (,)
- points1 = Top scorer from the first team
- rebounds1 = Top rebounder from the first team
- assist1 = Top assist-man from the first team
- otherstat1 = Player from team 1 that garnered other notable statistics
- points2 = Top scorer from the second team
- rebounds2 = Top rebounder from the second team
- assist2 = Top assist-man from the second team
- otherstat2 = Player from team 2 that garnered other notable statistics
- place = Place of game (stadium and city)
- attendance = Number of people that watched in the stadium
- referee = Referees that officiated the game
- TV = TV broadcaster/s
- series = Standings from the playoff series (e.g. "Dallas leads series 3-1")
Note: The default for the template is to show scores the American convention (ex: Dallas Mavericks 100, San Antonio Spurs 103). To use the European convention (CSKA Moscow 83 - 85 FC Barcelona), replace team1 with teamA, team2 with teamB, and so on; the stats categories can work properly using the points1 convention.
Preforms
editNBA style
edit{{{TV}}}
|
{{{date}}}
{{{time}}} |
{{{report}}}
|
{{{team1}}} {{{score1}}}, {{{team2}}} {{{score2}}} ({{{overtime}}}) | ||
Scoring by quarter: {{{Q1}}}, {{{Q2}}}, {{{Q3}}}, {{{Q4}}}, Overtime: {{{OT}}} | ||
Pts: {{{points1}}} Rebs: {{{rebounds1}}} Asts: {{{assist1}}} {{{otherstat1}}} |
Pts: {{{points2}}} Rebs: {{{rebounds2}}} Asts: {{{assist2}}} {{{otherstat2}}} | |
{{{series}}} |
{{{place}}}
Attendance: {{{attendance}}} Referees: {{{referee}}} |
U.S. NCAA style
edit{{{TV}}}
|
{{{date}}}
{{{time}}} |
{{{report}}}
|
{{{team1}}} {{{score1}}}, {{{team2}}} {{{score2}}} ({{{overtime}}}) | ||
Scoring by half: {{{H1}}}, {{{H2}}} Overtime: {{{OT}}} | ||
Pts: {{{points1}}} Rebs: {{{rebounds1}}} Asts: {{{assist1}}} {{{otherstat1}}} |
Pts: {{{points2}}} Rebs: {{{rebounds2}}} Asts: {{{assist2}}} {{{otherstat2}}} | |
{{{series}}} |
{{{place}}}
Attendance: {{{attendance}}} Referees: {{{referee}}} |
European style
edit{{{TV}}}
|
{{{date}}}
{{{time}}} |
{{{report}}}
|
{{{teamA}}} | 0*–1* (OT) | {{{teamB}}} |
Scoring by quarter: {{{Q1}}}, {{{Q2}}}, {{{Q3}}}, {{{Q4}}}, Overtime: {{{OT}}} | ||
Pts: {{{points1}}} Rebs: {{{rebounds1}}} Asts: {{{assist1}}} {{{otherstat1}}} |
Pts: {{{points2}}} Rebs: {{{rebounds2}}} Asts: {{{assist2}}} {{{otherstat2}}} | |
{{{series}}} |
{{{place}}}
Attendance: {{{attendance}}} Referees: {{{referee}}} |
- Notes: 0 = {{{scoreA}}}; 1 = {{{scoreB}}}
Blank template
edit{{basketballbox
| id = "team1 v team2"
| bg = #e3e3e3 #ffdead or blank
| date =
| time =
| report =
| team1 =
| score1 =
| team2 =
| score2 =
| overtime =
| Q1 = Please don't
| Q2 = boldface quarter
| Q3 = "winners". Basketball
| Q4 = isn't played
| H1 = this way.
| H2 = Only add HT if quarter scores
| OT = are not available.
| points1 =
| rebounds1 =
| assist1 =
| otherstat1 =
| points2 =
| rebounds2 =
| assist2 =
| otherstat2 =
| duration =
| place =
| attendance =
| referee =
| TV =
| series =
}}
TemplateData
editTemplateData for Basketballbox
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | no description | Unknown | optional |
size | size | no description | Unknown | optional |
bg | bg | no description | Unknown | optional |
TV | TV | no description | Unknown | optional |
date | date | no description | Unknown | optional |
time | time | no description | Unknown | optional |
report | report | no description | Unknown | optional |
team1 | team1 | no description | Unknown | optional |
score1 | score1 | no description | Unknown | optional |
team2 | team2 | no description | Unknown | optional |
score2 | score2 | no description | Unknown | optional |
overtime | overtime | no description | Unknown | optional |
OT | OT | no description | Unknown | optional |
teamA | teamA | no description | Unknown | optional |
scoreA | scoreA | no description | Unknown | optional |
scoreB | scoreB | no description | Unknown | optional |
teamB | teamB | no description | Unknown | optional |
Q1 | Q1 | no description | Unknown | optional |
Q2 | Q2 | no description | Unknown | optional |
Q3 | Q3 | no description | Unknown | optional |
Q4 | Q4 | no description | Unknown | optional |
H1 | H1 | no description | Unknown | optional |
H2 | H2 | no description | Unknown | optional |
note | note | no description | Unknown | optional |
points1 | points1 | no description | Unknown | optional |
rebounds1 | rebounds1 | no description | Unknown | optional |
assist1 | assist1 | no description | Unknown | optional |
otherstat1 | otherstat1 | no description | Unknown | optional |
points2 | points2 | no description | Unknown | optional |
rebounds2 | rebounds2 | no description | Unknown | optional |
assist2 | assist2 | no description | Unknown | optional |
otherstat2 | otherstat2 | no description | Unknown | optional |
series | series | no description | Unknown | optional |
place | place | no description | Unknown | optional |
attendance | attendance | no description | Unknown | optional |
referee | referee | no description | Unknown | optional |