Template:Football result list cup/doc

Usage
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:

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
This template takes several parameters described in the template data below. For example:

results in:

{ "description": "Create a data row for a football team's cup results table", "params": { "date": { "description": "Date of the match", "required": true, "type": "date" },   "date-format": { "description": "Date format, e.g. dmy or mdy", "required": true, "type": "string", "default": "dmy" },   "date-note": { "description": "Used to add a footnote for the date", "suggested": true, "type": "string" },   "round": { "description": "Round of the competition, e.g. First round or Quarter-final", "required": true, "type": "string" },   "stadium": { "description": "Name and location of the match venue, e.g. Rugby Park, Kilmarnock", "required": true, "type": "string" },   "stadium-note": { "description": "Used to add a footnote for the match venue", "suggested": true, "type": "string" },   "home": { "description": "Home or H / Away or A / Neutral or N; this is not case sensitive", "required": true, "type": "string" },   "opponent": { "description": "Match opponent", "required": true, "type": "string" },   "score1": { "description": "Goals scored by this team", "required": true, "type": "number" },   "score2": { "description": "Goals scored by the opponent", "required": true, "type": "number" },   "score-note": { "description": "Used to add a footnote for the score", "suggested": true, "type": "string" },   "aet": { "description": "Optional parameter to add (a.e.t.)", "suggested": true, "type": "string" },   "asdet": { "description": "Optional parameter to add (a.s.d.e.t.)", "suggested": true, "type": "string" },   "agget": { "description": "Optional parameter to add (a.e.t./g.g.)", "suggested": true, "type": "string" },   "asget": { "description": "Optional parameter to add (a.e.t./s.g.)", "suggested": true, "type": "string" },   "penalties1": { "description": "Optional parameter to add penalties scored in a penalty shootout by this team", "suggested": true, "type": "number" },   "penalties2": { "description": "Optional parameter to add penalties scored in a penalty shootout by the opponent", "suggested": true, "type": "number" },   "goalscorers": { "description": "List of this team's goalscorers", "suggested": true, "type": "string" },   "attendance": { "description": "Match attendance", "suggested": true, "type": "number" },   "att-note": { "description": "Used to add a footnote for the attendance", "suggested": true, "type": "string" },   "reference": { "description": "Source for the data in this row", "required": true, "type": "string" } } }