Template:Football result list league
{{{teamname}}}'s score is shown first in each case.
Date | Venue | Opponents | Score | {{{teamname}}} scorers | Att. | Ref. |
---|---|---|---|---|---|---|
Error in Template:Date table sorting: '{{{date}}}' is an invalid date |
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.
Date | Venue | Opponents | Score | Kilmarnock scorers | Att. | Ref. |
---|---|---|---|---|---|---|
5 August 2023 | Rugby Park, Kilmarnock (H) | Rangers | 1–0 | Lyons 65' | 9,256 | [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.
TemplateData for Football result list league
Create a data row for a football team's league 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 |
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 |
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 |