User:Jkudlick/Football club season row/doc
![]() | This is a documentation subpage for User:Jkudlick/Football club season row. It may contain usage information, categories and other content that is not part of the original user template page. |
Usage
[edit]This template is used to create a match table data row on an association football club's season article, either for the season schedule or for a list of club tournament matches. Use {{User:Jkudlick/Football club season header}} to create the header row:
{{User:Jkudlick/Football club season header}}
{{User:Jkudlick/Football club season row}}
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:
{{User:Jkudlick/Football club season header|league=2021 Major League Soccer season}}
{{User:Jkudlick/Football club season row
|date = 8 March 2022
|date-format = mdy
|opponent = D.C. United
|home = away
|venue = Audi Field
|score1 = 2
|score2 = 1
|goalscorers = [[Tom Wilson|Wilson]] {{goal|5}}, [[Lukáš Dostál|Dostál]] {{goal|60}}
|attendance = 69420
}}
{{End}}
results in:
Date | Opponent | Score | Goalscorers | Venue | Attendance |
---|---|---|---|---|---|
March 8, 2022 | D.C. United | 2–1 | Wilson ![]() ![]() |
Audi Field (Away) | 69,420 |
TemplateData for Jkudlick/Football club season row
Create a data row for a football club's season or tournament schedule 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 |
opponent | opponent | Match opponent | String | suggested |
home | home | Home or H / Away or A / Neutral or N; this is not case sensitive | String | suggested |
venue | venue | Name of the match venue, e.g. Audi Field | String | suggested |
score1 | score1 | Goals scored by this team | Number | suggested |
score2 | score2 | Goals scored by the opponent | Number | suggested |
goalscorers | goalscorers | List of this team's goalscorers | String | suggested |
attendance | attendance | Match attendance | Number | optional |