Template:Football result list/doc

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

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 national football team's results table", "params": { "matchno": { "description": "Match number", "required": true, "type": "number" },   "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. Hampden Park, Glasgow", "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" },   "competition": { "description": "Tournament the match was part of, e.g. 2022 FIFA World Cup", "suggested": true, "type": "string" },   "comp-note": { "description": "Used to add a footnote for the competition", "suggested": true, "type": "string" },   "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" } } }