Jump to content

Template:Football result list/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is used to create a match table data row on a national football team's results article. Use {{Football result list start}} to create the header row:

{{Football result list start}}
{{Football result list}}

Any table created using these templates must use {{End}} to close the table.

The "score" cell in each row is formatted to fill in green for a win, yellow for a draw, and red for a loss.

Parameters

[edit]

This template takes several parameters described in the template data below. For example:

{{Football result list start|teamname=Scotland}}
{{Football result list
|matchno=806
|date=15 November 2021
|stadium=[[Hampden Park]], [[Glasgow]]
|home=home
|opponent={{fb|DEN}}
|score1=2
|score2=0
|competition=[[2022 FIFA World Cup qualification (UEFA)|2022 FIFA World Cup qualification]]
|goalscorers=[[John Souttar]], [[Ché Adams]]
|attendance=49527
|reference=<ref>{{cite web |url=https://www.bbc.co.uk/sport/football/59202146 |title=Scotland 2-0 Denmark: Goals from John Souttar and Che Adams secure semi-final seeding |website=www.bbc.co.uk/sport |publisher=BBC Sport |date=15 November 2021 |access-date=15 November 2021}}</ref> }}
{{End}}

results in:

Scotland's score is shown first in each case.

Scotland national football team results
No. Date Venue Opponents Score Competition Scotland scorers Att. Ref.
806 15 November 2021 Hampden Park, Glasgow (H)  Denmark 2–0 2022 FIFA World Cup qualification John Souttar, Ché Adams 49,527 [1]
  1. ^ "Scotland 2-0 Denmark: Goals from John Souttar and Che Adams secure semi-final seeding". www.bbc.co.uk/sport. BBC Sport. 15 November 2021. Retrieved 15 November 2021.
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Football result list in articles based on its TemplateData.

TemplateData for Football result list

Create a data row for a national football team's results table

Template parameters

ParameterDescriptionTypeStatus
matchnomatchno

Match number

Numberrequired
datedate

Date of the match

Daterequired
date-formatdate-format

Date format, e.g. dmy or mdy

Default
dmy
Stringrequired
date-notedate-note

Used to add a footnote for the date

Stringsuggested
stadiumstadium

Name and location of the match venue, e.g. Hampden Park, Glasgow

Stringrequired
stadium-notestadium-note

Used to add a footnote for the match venue

Stringsuggested
homehome

Home or H / Away or A / Neutral or N; this is not case sensitive

Stringrequired
opponentopponent

Match opponent

Stringrequired
score1score1

Goals scored by this team

Numberrequired
score2score2

Goals scored by the opponent

Numberrequired
aetaet

Optional parameter to add ([[Overtime (sports)#Association football|a.e.t.]])

Stringsuggested
asdetasdet

Optional parameter to add ([[Sudden death (sport)#Association football|a.s.d.e.t.]])

Stringsuggested
aggetagget

Optional parameter to add ([[Overtime (sports)#Association football|a.e.t.]]/[[Golden goal#Association football|g.g.]])

Stringsuggested
asgetasget

Optional parameter to add ([[Overtime (sports)#Association football|a.e.t.]]/[[Golden goal#Silver goal|s.g.]])

Stringsuggested
penalties1penalties1

Optional parameter to add penalties scored in a penalty shootout by this team

Numbersuggested
penalties2penalties2

Optional parameter to add penalties scored in a penalty shootout by the opponent

Numbersuggested
competitioncompetition

Tournament the match was part of, e.g. 2022 FIFA World Cup

Stringsuggested
comp-notecomp-note

Used to add a footnote for the competition

Stringsuggested
goalscorersgoalscorers

List of this team's goalscorers

Stringsuggested
attendanceattendance

Match attendance

Numbersuggested
att-noteatt-note

Used to add a footnote for the attendance

Stringsuggested
referencereference

Source for the data in this row

Stringrequired

See Also

[edit]