Template:Football result list league/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 league 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.

This template can also be used with Football result list start preseason to create a table of preseason results.

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 league 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" },   "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" },   "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" } } }