Template:Football result list cup/doc
This is a documentation subpage for Template:Football result list cup. It may contain usage information, categories and other content that is not part of the original template page. |
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.
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] |
- ^ "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.
TemplateData for Football result list cup
Create a data row for a football team's cup results table
Parameter | Description | Type | Status | |
---|---|---|---|---|
date | date | Date of the match | Date | required |
date-format | date-format | Date format, e.g. dmy or mdy
| String | required |
date-note | date-note | Used to add a footnote for the date | String | suggested |
round | round | Round of the competition, e.g. First round or Quarter-final | String | required |
stadium | stadium | Name and location of the match venue, e.g. Rugby Park, Kilmarnock | String | required |
stadium-note | stadium-note | Used to add a footnote for the match venue | String | suggested |
home | home | Home or H / Away or A / Neutral or N; this is not case sensitive | String | required |
opponent | opponent | Match opponent | String | required |
score1 | score1 | Goals scored by this team | Number | required |
score2 | score2 | Goals scored by the opponent | Number | required |
score-note | score-note | Used to add a footnote for the score | String | suggested |
aet | aet | Optional parameter to add ([[Overtime (sports)#Association football|a.e.t.]]) | String | suggested |
asdet | asdet | Optional parameter to add ([[Sudden death (sport)#Association football|a.s.d.e.t.]]) | String | suggested |
agget | agget | Optional parameter to add ([[Overtime (sports)#Association football|a.e.t.]]/[[Golden goal#Association football|g.g.]]) | String | suggested |
asget | asget | Optional parameter to add ([[Overtime (sports)#Association football|a.e.t.]]/[[Golden goal#Silver goal|s.g.]]) | String | suggested |
penalties1 | penalties1 | Optional parameter to add penalties scored in a penalty shootout by this team | Number | suggested |
penalties2 | penalties2 | Optional parameter to add penalties scored in a penalty shootout by the opponent | Number | suggested |
goalscorers | goalscorers | List of this team's goalscorers | String | suggested |
attendance | attendance | Match attendance | Number | suggested |
att-note | att-note | Used to add a footnote for the attendance | String | suggested |
reference | reference | Source for the data in this row | String | required |