Jump to content

Template:Football result list league/doc

From Wikipedia, the free encyclopedia

Usage[edit]

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

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

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.

This template can also be used with {{Football result list start preseason}} to create a table of preseason results.

Parameters[edit]

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

{{Football result list start league|teamname=Kilmarnock|competition=2023–24 Scottish Premiership}}
{{Football result list league
|date=5 August 2023
|stadium=[[Rugby Park]], [[Kilmarnock]]
|home=home
|opponent=[[Rangers F.C.|Rangers]]
|score1=1
|score2=0
|goalscorers=[[Brad Lyons|Lyons]] 65'
|attendance=9256
|reference=<ref>{{Cite news |url=https://www.bbc.co.uk/sport/football/66194509 |title=Kilmarnock 1–0 Rangers: Brad Lyons winner stuns new-look visitors in opening defeat |work=BBC Sport |publisher=bbc.co.uk |date=5 August 2023 |accessdate=6 August 2023}}</ref> }}
{{End}}

results in:

Kilmarnock's score is shown first in each case.

Kilmarnock in the 2023–24 Scottish Premiership
Date Venue Opponents Score Kilmarnock scorers Att. Ref.
5 August 2023 Rugby Park, Kilmarnock (H) Rangers 1–0 Lyons 65' 9,256 [1]
  1. ^ "Kilmarnock 1–0 Rangers: Brad Lyons winner stuns new-look visitors in opening defeat". BBC Sport. bbc.co.uk. 5 August 2023. Retrieved 6 August 2023.
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 league in articles based on its TemplateData.

TemplateData for Football result list league

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

Template parameters

ParameterDescriptionTypeStatus
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. Rugby Park, Kilmarnock

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
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]