Template:Football result list/doc
This is a documentation subpage for Template:Football result list. 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 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.
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] |
- ^ "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.
TemplateData for Football result list
Create a data row for a national football team's results table
Parameter | Description | Type | Status | |
---|---|---|---|---|
matchno | matchno | Match number | Number | required |
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. Hampden Park, Glasgow | 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 |
competition | competition | Tournament the match was part of, e.g. 2022 FIFA World Cup | String | suggested |
comp-note | comp-note | Used to add a footnote for the competition | String | 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 |