• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Basketballbox/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Basketballbox
This is the template sandbox page for Template:Basketballbox (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 4,700 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.

Contents

  • 1 Usage
  • 2 Preforms
    • 2.1 NBA style
    • 2.2 U.S. NCAA style
    • 2.3 European style
    • 2.4 Blank template
  • 3 TemplateData
  • 4 See also

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/arena 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

edit

NBA 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

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Basketballbox in articles based on its TemplateData.

TemplateData for Basketballbox

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
idid

no description

Unknownoptional
sizesize

no description

Unknownoptional
bgbg

no description

Unknownoptional
TVTV

no description

Unknownoptional
datedate

The date the game took place.

Unknownoptional
timetime

no description

Unknownoptional
reportreport

no description

Unknownoptional
team1team1

no description

Unknownoptional
score1score1

no description

Unknownoptional
team2team2

no description

Unknownoptional
score2score2

no description

Unknownoptional
overtimeovertime

no description

Unknownoptional
OTOT

no description

Unknownoptional
teamAteamA

no description

Unknownoptional
scoreAscoreA

no description

Unknownoptional
scoreBscoreB

no description

Unknownoptional
teamBteamB

no description

Unknownoptional
Q1Q1

no description

Unknownoptional
Q2Q2

no description

Unknownoptional
Q3Q3

no description

Unknownoptional
Q4Q4

no description

Unknownoptional
H1H1

no description

Unknownoptional
H2H2

no description

Unknownoptional
notenote

no description

Unknownoptional
points1points1

no description

Unknownoptional
rebounds1rebounds1

no description

Unknownoptional
assist1assist1

no description

Unknownoptional
otherstat1otherstat1

no description

Unknownoptional
points2points2

no description

Unknownoptional
rebounds2rebounds2

no description

Unknownoptional
assist2assist2

no description

Unknownoptional
otherstat2otherstat2

no description

Unknownoptional
seriesseries

no description

Unknownoptional
placeplace

The venue the game took place.

Unknownoptional
attendanceattendance

no description

Unknownoptional
refereereferee

no description

Unknownoptional

See also

edit
  • {{Basketballbox collapsible}}
The above documentation is transcluded from Template:Basketballbox/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Basketballbox/sandbox&oldid=1294195817"
Last edited on 6 June 2025, at 06:23

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 6 June 2025, at 06:23 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop