Template:Infobox football league season/doc

Usage


Parameters
All parameters are optional. Note: If dates are to be added to the matches, these must be accompanied by a source containing the date of the match. ''Note: The following parameters require a mandatory source which explicitly states that the streak is a record. Taking the information from a fixture/results list would consist original research as these lists usually do not point out any streaks. If a source cannot be provided, please do not add any data for these parameters.''
 * &mdash; The commonly-used name of the competition (including sponsorship). If this is omitted, it will be automatically derived from the article title.
 * &mdash; The dates of the first and last matches played in the season, separated by an endash
 * &mdash; Champions
 * &mdash; MLS Cup winners. Note that this supersedes the field.
 * &mdash; The name of the title given to the regular season winners if not "Supporters' Shield" (where applicable)
 * &mdash; Supporters' Shield winners (where applicable)
 * &mdash; promoted (if any)
 * &mdash; relegated (if any)
 * &mdash; Continental cup1, e.g., Champions League
 * &mdash; Continental cup1 qualifiers
 * &mdash; Total number of matches played
 * &mdash; Total number of goals scored. Works with *  to provide average goals scored.
 * &mdash; Manual input of average goals scored. Round to 2 decimal places.
 * &mdash; The name of the top scorer in the domestic league level, and the number of scored goals, in the form "Footballer (goals)".
 * &mdash; The name of the best goalkeeper in the domestic league level, and the number of clean sheets or goals-to-games ratio, in the form "Goalkeeper (clean sheets/goals-to-games ratio)".
 * &mdash; Result (date)
 * &mdash; As above
 * &mdash; As above, mutually exclusive with, which takes precedence
 * &mdash; As above
 * &mdash; No. games - team (date from-date to)
 * &mdash; As above
 * &mdash; As above
 * &mdash; As above
 * &mdash; Attendance - match (date)
 * &mdash; As above
 * &mdash; Total Attendance for season. Average attendance per match is calculated automatically when matches has a number in it.
 * &mdash; A reference or note about the attendance. Include  tags or efn as appropriate.
 * &mdash; Any additional information about the season, if any.
 * &mdash; The date/time at which the season's infobox and article were most recently updated.

TemplateData
{	"params": { "image": { "required": false, "label": "Image", "type": "wiki-page-name", "description": "Image of logo of the league." },		"pixels": { "required": false, "label": "Pixels", "type": "number", "description": "Width of the image in pixels" },		"caption": { "required": false, "label": "Image Caption", "type": "string", "description": "Caption for the image that is provided" },		"competition": { "required": false, "label": "Competition", "type": "string", "description": "Commonly used name of competition", "example": "Premier League" },		"winners": { "required": false, "label": "Winners", "type": "string", "description": "Champions of the competition.", "example": "Manchester City" },		"premiers": { "required": false, "label": "Premiers", "type": "string", "description": "League's Premier" },		"promoted": { "required": false, "label": "Promoted", "type": "string", "description": "Promoted(if any)", "example": "Swansea City Stoke City" },		"relegated": { "required": false, "label": "Relegated", "type": "string", "description": "Relegated(if any)", "example": "Swansea City Stoke City" },		"Dissolved": { "required": false, "label": "Dissolved", "type": "string", "description": "Dissolved" },		"continentalcup1": { "required": false, "label": "Continental Cup 1", "type": "string", "description": "Continental Cup1", "example": "Champions League" },		"continentalcup1 qualifiers": { "required": false, "label": "Continental Cup1 Qualifiers", "type": "string", "description": "Qualifiers for continental cup 1", "example": "Manchester United Tottenham Hotspur" },		"continentalcup2": { "required": false, "label": "Continental cup 2", "type": "string", "description": "Continental Cup 2 ", "example": "Europa League" },		"continentalcup2 qualifiers": { "required": false, "label": "Continental Cup2 Qualifiers", "type": "string", "description": "Qualifiers for continental cup 2", "example": "Chelsea Arsenal" },		"matches": { "required": false, "label": "Matches played", "type": "number", "description": "Total matches played", "example": "380" },		"total goals": { "required": false, "label": "Goals scored", "type": "number", "description": "Total Goals scored", "example": "1018" },		"average goals": { "required": false, "label": "Average goals/game", "type": "string", "description": "Manual input of average goals scored. Round to 2 decimal places" },		"league topscorer": { "required": false, "label": "Top goalscorer", "type": "string", "description": "The name of league's top scorer", "example": "Mohamed Salah (32 goals) " },		"biggest home win": { "required": false, "label": "Biggest home win", "type": "line", "description": "Result (with date)" },		"biggest away win": { "required": false, "label": "Biggest away win", "type": "line", "description": "Result (with date)" },		"highest scoring": { "required": false, "label": "Highest Scoring", "type": "line", "description": "Result (with date)" },		"longest wins": { "required": false, "label": "Longest Wins", "type": "line", "description": "No. of games won - Team(date from - date to)" },		"longest unbeaten": { "required": false, "label": "Longest Unbeaten", "type": "line", "description": "No. of games won - Team(date from - date to)" },		"longest winless": { "required": false, "label": "Longest winless", "type": "line", "description": "No. of games lost - Team(date from - date to)" },		"longest losses": { "required": false, "label": "Longest losses", "type": "line", "description": "No. of games lost - Team(date from - date to)" },		"highest attendance": { "required": false, "label": "Highest Attendance", "type": "line", "description": "Attendance (with date)" },		"lowest attendance": { "required": false, "label": "Lowest Attendance", "type": "line", "description": "Attendance (with date)" },		"attendance": { "required": false, "label": "Attendance", "type": "number", "description": "Total attendance for season" },		"average attendance": { "required": false, "label": "Average Attendance", "type": "number", "description": "Average attendance for season" },		"prevseason": { "required": false, "label": "Previous Season", "type": "wiki-page-name", "description": "Link to the page of the previous season" },		"nextseason": { "required": false, "label": "Next Season", "type": "wiki-page-name", "description": "Link to the page of the next season" },		"extra information": { "required": false, "label": "Extra Information", "type": "string", "description": "Any additional information about the season" },		"updated": { "required": false, "label": "Updated", "type": "line", "description": "The date/time at which the infobox was most recently updated" },		"dates": { "label": "Dates", "description": "The dates of the first and last matches played in the season, separated by an endash", "example": "11 August 2017 – 13 May 2018", "type": "date" },		"season": { "label": "Season", "description": "season of the competition", "example": "2017–18", "type": "string" },		"matches footnote": { "label": "Matches Footnote", "description": "Footnote that appears under the number of matches" },		"best player": { "label": "Best player", "description": "The name of league's official best player", "type": "string" },		"best goalkeeper": { "label": "Best goalkeeper", "description": "The name of league's official best goalkeeper", "type": "string" }	},	"description": "Infobox to use in football league season's articles", "paramOrder": [ "image", "pixels", "caption", "competition", "season", "dates", "winners", "premiers", "promoted", "relegated", "Dissolved", "continentalcup1", "continentalcup1 qualifiers", "continentalcup2", "continentalcup2 qualifiers", "matches", "matches footnote", "total goals", "average goals", "best player", "league topscorer", "best goalkeeper", "biggest home win", "biggest away win", "highest scoring", "longest wins", "longest unbeaten", "longest winless", "longest losses", "highest attendance", "lowest attendance", "attendance", "average attendance", "prevseason", "nextseason", "updated", "extra information" ],	"format": "block" }

Example
The input: 

produces