Usage

This template is meant to be used for abbreviated regular season results with expandable details. The goal with this template is to display only one line of text (when collapsed) for each match. Therefore, avoid using line breaks (<br />) in parameters that are still visible when the box score is collapsed.

Sample:

((Football box collapsible
|id           = Italy v France
|date         = ((Start date|2006|7|9|df=y))
|time         = 20:00 [[Central European Summer Time|CEST]] ([[UTC+02:00|UTC+2]])
|round        = [[2006 FIFA World Cup Final|Final]]
|score        = 1–1
|aet          = yes
|report       = https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html
|team1        = ((fb-rt|ITA))
|goals1       =
* [[Gianluca Zambrotta|Zambrotta]] ((yel|5))
* [[Marco Materazzi|Materazzi]] ((goal|19))
|team2        = ((fb|FRA))
|goals2       =
* [[Willy Sagnol|Sagnol]] ((yel|12))
* [[Claude Makélélé|Makélélé]] ((yel|76))
* [[Zinedine Zidane|Zidane]] ((goal|7|pen.)) ((sent off|0|110))
* [[Florent Malouda|Malouda]] ((yel|111))
|stadium      = [[Olympiastadion (Berlin)|Olympiastadion]]
|location     = [[Berlin]], Germany
|attendance   = 69,000
|referee      = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]])
|penaltyscore = 5–3
|penalties1   =
* [[Andrea Pirlo|Pirlo]] ((pengoal))
* [[Marco Materazzi|Materazzi]] ((pengoal))
* [[Daniele De Rossi|De Rossi]] ((pengoal))
* [[Alessandro Del Piero|Del Piero]] ((pengoal))
* [[Fabio Grosso|Grosso]] ((pengoal))
|penalties2   =
* ((pengoal)) [[Sylvain Wiltord|Wiltord]]
* ((penmiss)) [[David Trezeguet|Trezeguet]]
* ((pengoal)) [[Éric Abidal|Abidal]]
* ((pengoal)) [[Willy Sagnol|Sagnol]]
))

Sample result:

9 July 2006 (2006-07-09) Final Italy  1–1 (a.e.t.)
(5–3 p)
 France Berlin, Germany
20:00 CEST (UTC+2)
Report
Stadium: Olympiastadion
Attendance: 69,000
Referee: Horacio Elizondo (Argentina)
Penalties

Blank template

All available parameters are shown here.

((football box collapsible
<!-- recommended or required parameters -->
|id = 
|date = <!-- ((Start date|YYYY|MM|DD|df=y)) -->
|time = 
|round = 
|score = 
|report = 
|team1 = 
|goals1 = 
|team2 = 
|goals2 = 
|stadium = 

<!-- optional parameters -->
|scorenote = 
|aet = <!-- "yes" for extra time -->
|location = 
|attendance = 
|referee = 
|assistantreferees = 
|assistantreferee2 = <!-- rarely used, see explanation -->
|fourthofficial = 
|fifthofficial = 
|goallineassistants = 
|goallineassistant2 = <!-- rarely used, see explanation -->
|aggregatescore = 
|motm = 
|mvp = 
|note = 

<!-- penalty parameters, required if the match went to shootout -->
|penalties1 = 
|penaltyscore = 
|penalties2 = 

<!-- formatting/color parameters -->
|format = <!-- 1 to allow more space for round/date and location -->
|size = <!-- for example 80%, by default 100% -->
|result = <!-- W, L, T/D, V/P -->
|bg = <!-- color without number sign -->
|nobars = <!-- "1" to hide bars -->
|class = <!-- "uncollapsed " for removal of collapse function, "collapsible " for expanded with collapsible option, "collapsible collapsed " for box being initially collapsed (default) -->
))

Parameters

Required parameters: team1, team2, score (if the match has occurred), and report. Everything else is optional, though goals1, goals2, referee, location, and stadium are highly encouraged wherever this template is used.

Content parameters

Formatting Parameters

Legend

Simple coloring legend recommended when an article makes use of result parameter:

((legend2|#BBF3BB|Win|border=1px solid #AAAAAA))
((legend2|#FFFFBB|Draw|border=1px solid #AAAAAA))
((legend2|#FFBBBB|Loss|border=1px solid #AAAAAA))
((legend2|#BBBBBB|Void|border=1px solid #AAAAAA)) <!-- optional -->
((legend2|#BBBBBB|Postponed|border=1px solid #AAAAAA)) <!-- optional -->

Which produces:

  Win   Draw   Loss   Void   Postponed


Note: Given the rarity of voided results and postponements, those entries are optional and can be omitted in most cases.

Microformats

The HTML markup produced by this template includes an hCard microformat, which makes the person's or organisation's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

The hCard in this template uses at least some of these HTML classes:

Please do not rename or remove these classes nor collapse nested elements which use them.

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

Tracking

TemplateData

This template displays the summary of a football (soccer) match. The summary include date and time, stadium, competing teams, goal scorers and the minute of goal, a link to the official match report and attendance of the stadium. It also includes whether or not the match went to extra-time or penalty-shoots and displays respective results. It is collapsible.

Template parameters

ParameterDescriptionTypeStatus
IDid

Unique anchor to the match.

Example
Italy v France
Stringsuggested
Datedate

Displays the date the match took place.

Example
9 July 2006
Dateoptional
Timetime

Time the match took place.

Example
20:00 CEST (UTC+02:00)
Stringoptional
Roundround

The competition round the match belongs to.

Example
2006 FIFA World Cup Final
Stringsuggested
Scorescore

The match score.

Example
1–1
Stringsuggested
Reportreport

The URL of a match report.

Example
https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html#nosticky
URLrequired
Team 1team1

First team displayed, usually home team.

Example
Italy
Stringrequired
Goals 1goals1

The goals (and cards) for the home team.

Example
[[Marco Materazzi|Materazzi]] ((goal|19))
Stringsuggested
Team 2team2

Second team displayed, usually guest team.

Example
France
Stringrequired
Goals 2goals2

The goals (and cards) for the guest team.

Example
[[Zinédine Zidane|Zidane]] ((goal|7)), ((sent off|0|110))
Stringsuggested
scorenotescorenote

An optional note clarifying the final score

Default
no
Example
Decided by a coin flip
Auto value
Stringoptional
Stadiumstadium

The name of the stadium that was played in.

Example
Olympiastadion
Stringsuggested
AETaet

Set to "yes" if the match went into extra time.

Default
no
Example
yes
Auto value
Booleanoptional
Locationlocation

The city the match took place in.

Example
Berlin, Germany
Stringsuggested
Attendanceattendance

The number of people attending the match.

Example
69,000
Numberoptional
Refereereferee

The referee for the match.

Example
Horacio Elizondo (Argentina)
Unknownoptional
Assistant Refereesassistantreferees

The assistant referees for the match.

Example
Dario García (Argentina)
Stringoptional
Assistant Referee 2assistantreferee2

Second assistant referee; rarely used as usually both assistants go in the "assistantreferees" field

Example
Rodolfo Otero (Argentina)
Unknownoptional
Fourth Officialfourthofficial

The fourth official for the match.

Example
Luis Medina Cantalejo (Spain)
Stringoptional
Fifth Officialfifthofficial

The fifth official for the match.

Example
Victoriano Giraldez Carrasco (Spain)
Stringoptional
Goal Line Assistantsgoallineassistants

The goal line assistants for the match.

Stringoptional
Goal Line Assistant 2goallineassistant2

Second goal line assistant; rarely used as usually both assistants go in the "goallineassistants" field

Stringoptional
Aggregate Scoreaggregatescore

The aggregate score for matches played over two legs.

Stringoptional
Man of the Matchmotm

The Man of the Match.

Example
Andrea Pirlo
Stringoptional
MVPmvp

The Most Valuable Player

Stringoptional
Notenote

Space for any notes regarding the match.

Stringoptional
Penalties 1penalties1

The penalties for the home team.

Example
[[Andrea Pirlo|Pirlo]] ((pengoal))
Stringoptional
Penalty Scorepenaltyscore

The score in the penalty shoot-out.

Example
5–3
Stringoptional
Penalties 2penalties2

The penalties for the guest team.

Example
((pengoal)) [[Sylvain Wiltord|Wiltord]]
Stringoptional
Shootout 1shootout1

The shootout goal attempts for the home team.

Example
[[Andrea Pirlo|Pirlo]] ((pengoal))
Stringoptional
Shootout Scoreshootoutscore

The score in the penalty shoot-out (alternative to penaltyscore).

Example
5–3
Stringoptional
Shootout 2shootout2

The shootout goal attempts for the guest team.

Example
((pengoal)) [[Sylvain Wiltord|Wiltord]]
Stringoptional
Formatformat

Set to 1 to leave more space for round/date and location.

Example
1
Numberoptional
Sizesize

Width of the box.

Default
100%
Example
80%
Numberoptional
Resultresult

Changes the color of the box based on result.

Example
W, D, L
Stringoptional
Backgroundbg

Background color.

Example
red
Stringoptional
No Barsnobars

Set to 1 to hide bars.

Example
1
Numberoptional
Classclass

Used to uncollapse the box.

Example
uncollapsed, collapsible, collapsible collapsed
Stringoptional

See also