User:Jkudlick/Football club season row/doc

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

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 club's season or tournament schedule 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" },   "opponent": { "description": "Match opponent", "suggested": true, "type": "string" },   "home": { "description": "Home or H / Away or A / Neutral or N; this is not case sensitive", "suggested": true, "type": "string" },   "venue": { "description": "Name of the match venue, e.g. Audi Field", "suggested": true, "type": "string" },   "score1": { "description": "Goals scored by this team", "suggested": true, "type": "number" },   "score2": { "description": "Goals scored by the opponent", "suggested": true, "type": "number" },   "goalscorers": { "description": "List of this team's goalscorers", "suggested": true, "type": "string" },   "attendance": { "description": "Match attendance", "required": false, "type": "number" } } }