Jump to content

Template:Football result list cup/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 cup}} to create the header row:

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

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 cup|teamname=Kilmarnock|competition=2023–24 Scottish League Cup}}
{{Football result list cup
|date=20 August 2023
|round=Second round
|stadium=[[Rugby Park]], [[Kilmarnock]]
|home=home
|opponent=[[Celtic F.C.|Celtic]]
|score1=1
|score2=0
|goalscorers=[[Marley Watkins|Watkins]] 60'
|attendance=8002
|reference=<ref>{{Cite news |url=https://www.bbc.co.uk/sport/football/66501742 |title=Kilmarnock 1–0 Celtic: Holders lose grip on Viaplay Cup after Brendan Rodgers first cup defeat |work=BBC Sport |publisher=bbc.co.uk |date=20 August 2023 |accessdate=20 August 2023}}</ref> }}
{{End}}

results in:

Kilmarnock's score is shown first in each case.

Kilmarnock in the 2023–24 Scottish League Cup
Date Round Venue Opponents Score Kilmarnock scorers Att. Ref.
20 August 2023 Second round Rugby Park, Kilmarnock (H) Celtic 1–0 Watkins 60' 8,002 [1]
  1. ^ "Kilmarnock 1–0 Celtic: Holders lose grip on Viaplay Cup after Brendan Rodgers first cup defeat". BBC Sport. bbc.co.uk. 20 August 2023. Retrieved 20 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 cup in articles based on its TemplateData.

TemplateData for Football result list cup

Create a data row for a football team's cup 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
roundround

Round of the competition, e.g. First round or Quarter-final

Stringrequired
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
score-notescore-note

Used to add a footnote for the score

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