{{{competition}}}
[[File:{{{logo}}}|{{{pixels}}}|alt={{{alt}}}]]
{{{caption}}}
Season{{{season}}}
Dates{{{dates}}}
Champion(s){{{winners}}}
{{{shieldtitle}}}{{{shield}}}
Premiers{{{premiers}}}
Promoted{{{promoted}}}
Relegated{{{relegated}}}
{{{continentalcup1}}}{{{continentalcup1 qualifiers}}}
{{{continentalcup2}}}{{{continentalcup2 qualifiers}}}
{{{continentalcup3}}}{{{continentalcup3 qualifiers}}}
{{{continentalcup4}}}{{{continentalcup4 qualifiers}}}
Matches played{{{matches}}}{{{matches footnote}}}
Goals scored{{{total goals}}} (Expression error: Unrecognized punctuation character "&". per match){{{total goals footnote}}}
Average goals/game{{{average goals}}}
Best Player{{{best player}}}
Top goalscorer{{{league topscorer}}}
Best goalkeeper{{{best goalkeeper}}}
Biggest home win{{{biggest home win}}}
Biggest away win{{{biggest away win}}}
Highest scoring{{{highest scoring}}}
Longest winning run{{{longest wins}}}
Longest unbeaten run{{{longest unbeaten}}}
Longest winless run{{{longest winless}}}
Longest losing run{{{longest losses}}}
Highest attendance{{{highest attendance}}}
Lowest attendance{{{lowest attendance}}}
Total attendance{{{attendance}}}
Average attendance{{{average attendance}}}
← {{{prevseason}}}
{{{nextseason}}} →
All statistics correct as of {{{updated}}}.
{{{extra information}}}

Usage

edit
{{Infobox football league season
| competition               = 
| logo                      = 
| image                     = 
| pixels                    = <!-- width of image in pixels (px) -->
| alt                       = 
| caption                   = 
| season                    = 
| dates                     = 
| mlscup                    = <!-- for MLS only; supersedes "winners" parameter -->
| islcup                    = <!-- for ISL only; supersedes "winners" parameter -->
| winners                   = 
| American                  = <!-- changes "Champions" to "Champion(s)" -->
| shieldtitle               = 
| shield                    = 
| premiers                  = 
| promoted                  = 
| relegated                 = 
| continentalcup1           = 
| continentalcup1 qualifiers= 
| continentalcup2           = 
| continentalcup2 qualifiers= 
| continentalcup3           = 
| continentalcup3 qualifiers= 
| continentalcup4           = 
| continentalcup4 qualifiers= 
| matches                   = <!-- no commas -->
| matches footnote          = 
| total goals               = 
| total goals footnote      = 
| 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         = 
}}

Parameters

edit

All parameters are optional.

  • {{{competition}}} — The commonly-used name of the competition (including sponsorship). If this is omitted, it will be automatically derived from the article title.
  • {{{dates}}} — The dates of the first and last matches played in the season, separated by an endash
  • {{{winners}}} — Champions
  • {{{mlscup}}} — MLS Cup winners. Note that this supersedes the {{{winners}}} field.
  • {{{islcup}}} — ISL Cup winners. Note that this supersedes the {{{winners}}} field.
  • {{{shieldtitle}}} — The name of the title given to the regular season winners if not "Supporters' Shield" (where applicable)
  • {{{shield}}} — Supporters' Shield winners (where applicable)
  • {{{promoted}}} — promoted (if any)
  • {{{relegated}}} — relegated (if any)
  • {{{continentalcup1}}} — Continental cup1, e.g., Champions League
  • {{{continentalcup1 qualifiers}}} — Continental cup1 qualifiers
  • {{{matches}}} — Total number of matches played
  • {{{total goals}}} — Total number of goals scored. Works with *{{{matches}}} to provide average goals scored.
  • {{{average goals}}} — Manual input of average goals scored. Round to 2 decimal places.
  • {{{league topscorer}}} — The name of the top scorer in the domestic league level, and the number of scored goals, in the form "Footballer (goals)".
  • {{{best goalkeeper}}} — 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)".

Note: If dates are to be added to the matches, these must be accompanied by a source containing the date of the match.

  • {{{biggest home win}}} — Result (date)
  • {{{biggest away win}}} — As above
  • {{{biggest win}}} — As above, mutually exclusive with {{{biggest home win}}}, which takes precedence
  • {{{highest scoring}}} — As above

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.

  • {{{longest wins}}} — No. games - team (date from-date to)
  • {{{longest unbeaten}}} — As above
  • {{{longest winless}}} — As above
  • {{{longest losses}}} — As above
  • {{{highest attendance}}} — Attendance - match (date)
  • {{{lowest attendance}}} — As above
  • {{{attendance}}} — Total Attendance for season. Average attendance per match is calculated automatically when |matches= has a number in it.
  • {{{attendance note}}} — A reference or note about the attendance. Include <ref>...</ref> tags or {{efn}} as appropriate.
  • {{{extra information}}} — Any additional information about the season, if any.
  • {{{updated}}} — The date/time at which the season's infobox and article were most recently updated.

Tracking category

edit

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox football league season in articles based on its TemplateData.

TemplateData for Infobox football league season

Infobox to use in football league season's articles

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Image of logo of the league.

Page nameoptional
Pixelspixels

Width of the image in pixels

Numberoptional
Image Captioncaption

Caption for the image that is provided

Stringoptional
Competitioncompetition

Commonly used name of competition

Example
[[Premier League]]
Stringoptional
Seasonseason

season of the competition

Example
[[2017–18 in English football|2017–18]]
Stringoptional
Datesdates

The dates of the first and last matches played in the season, separated by an endash

Example
11 August 2017 – 13 May 2018
Dateoptional
Winnerswinners

Champions of the competition.

Example
[[Manchester City F.C.|Manchester City]]
Stringoptional
Premierspremiers

League's Premier

Stringoptional
Promotedpromoted

Promoted(if any)

Example
[[Swansea City A.F.C.|Swansea City]]<br />[[Stoke City F.C.|Stoke City]]
Stringoptional
Relegatedrelegated

Relegated(if any)

Example
[[Swansea City A.F.C.|Swansea City]]<br />[[Stoke City F.C.|Stoke City]]
Stringoptional
DissolvedDissolved

Dissolved

Stringoptional
Continental Cup 1continentalcup1

Continental Cup1

Example
[[2018–19 UEFA Champions League|Champions League]]
Stringoptional
Continental Cup1 Qualifierscontinentalcup1 qualifiers

Qualifiers for continental cup 1

Example
[[Manchester United F.C.|Manchester United]]<br />[[Tottenham Hotspur F.C.|Tottenham Hotspur]]
Stringoptional
Continental cup 2continentalcup2

Continental Cup 2

Example
[[2018–19 UEFA Europa League|Europa League]]
Stringoptional
Continental Cup2 Qualifierscontinentalcup2 qualifiers

Qualifiers for continental cup 2

Example
[[Chelsea F.C.|Chelsea]]<br />[[Arsenal F.C.|Arsenal]]
Stringoptional
Matches playedmatches

Total matches played

Example
380
Numberoptional
Matches Footnotematches footnote

Footnote that appears under the number of matches

Unknownoptional
Goals scoredtotal goals

Total Goals scored

Example
1018
Numberoptional
Average goals/gameaverage goals

Manual input of average goals scored. Round to 2 decimal places

Stringoptional
Best playerbest player

The name of league's official best player

Stringoptional
Top goalscorerleague topscorer

The name of league's top scorer

Example
[[Mohamed Salah]]<br />(32 goals)<ref name=topscorer />
Stringoptional
Best goalkeeperbest goalkeeper

The name of league's official best goalkeeper

Stringoptional
Biggest home winbiggest home win

Result (with date)

Lineoptional
Biggest away winbiggest away win

Result (with date)

Lineoptional
Highest Scoringhighest scoring

Result (with date)

Lineoptional
Longest Winslongest wins

No. of games won - Team(date from - date to)

Lineoptional
Longest Unbeatenlongest unbeaten

No. of games won - Team(date from - date to)

Lineoptional
Longest winlesslongest winless

No. of games lost - Team(date from - date to)

Lineoptional
Longest losseslongest losses

No. of games lost - Team(date from - date to)

Lineoptional
Highest Attendancehighest attendance

Attendance (with date)

Lineoptional
Lowest Attendancelowest attendance

Attendance (with date)

Lineoptional
Attendanceattendance

Total attendance for season

Numberoptional
Average Attendanceaverage attendance

Average attendance for season

Numberoptional
Previous Seasonprevseason

Link to the page of the previous season

Page nameoptional
Next Seasonnextseason

Link to the page of the next season

Page nameoptional
Updatedupdated

The date/time at which the infobox was most recently updated

Lineoptional
Extra Informationextra information

Any additional information about the season

Stringoptional

Example

edit

The input:

{{Infobox football league season
| competition                = La Liga
| season                     = 2011–12
| dates                      = 27 August 2011 – 13 May 2012
| winners                    = [[Real Madrid CF|Real Madrid]]<br>32nd title
| relegated                  = [[Villareal CF|Villarreal]] <br> [[Sporting de Gijón]] <br> [[Racing de Santander|Racing Santander]]
| continentalcup1            = [[2012–13 UEFA Champions League|Champions League]]
| continentalcup1 qualifiers = [[Real Madrid CF|Real Madrid]]<br>[[FC Barcelona|Barcelona]]<br>[[Valencia CF|Valencia]]<br>[[Málaga CF| Málaga]]
| continentalcup2            = [[2012–13 UEFA Europa League|Europa League]]
| continentalcup2 qualifiers = [[Athletic Bilbao]]<br/>[[Atlético Madrid]]<br>[[Levante UD|Levante]]
| best player                = [[Cristiano Ronaldo]]
| league topscorer           = [[Lionel Messi]] (50)
| best goalkeeper            = [[Víctor Valdés]]<br />(0.8 goals conceded per game)
| biggest home win           = [[FC Barcelona|Barcelona]]&nbsp;8–0&nbsp;[[CA Osasuna|Osasuna]] (17&nbsp;September&nbsp;2011)
| biggest away win           = [[Rayo Vallecano]]&nbsp;0–7&nbsp;[[FC Barcelona|Barcelona]] (29&nbsp;April&nbsp;2012)<ref name="Rayo Vallecano 0-7 Barcelona">{{cite web|title=Rayo Vallecano 0-7 Barcelona|url=http://actas.rfef.es/actas/RFEF_CmpPartido?cod_primaria=1000144&CodActa=16983|publisher=[[Royal Spanish Football Federation|RFEF]]|date=29 April 2012 |accessdate=29 April 2012|language=Spanish}}</ref>
| highest scoring            = [[FC Barcelona|Barcelona]]&nbsp;8–0&nbsp;[[CA Osasuna|Osasuna]] (17&nbsp;September&nbsp;2011)<br>
[[Real Madrid CF|Real&nbsp;Madrid]]&nbsp;6–2&nbsp;[[Rayo Vallecano|Rayo&nbsp;Vallecano]] (24&nbsp;September&nbsp;2011) <br>
[[Real Madrid CF|Real&nbsp;Madrid]]&nbsp;7–1&nbsp;[[CA Osasuna|Osasuna]] (6&nbsp;November&nbsp;2011)<br/>
[[Sevilla FC|Sevilla]]&nbsp;2–6&nbsp;[[Real Madrid CF|Real&nbsp;Madrid]] (17&nbsp;December&nbsp;2011)<br>
[[Levante UD|Levante]]&nbsp;3–5&nbsp;[[Rayo Vallecano|Rayo&nbsp;Vallecano]] (19&nbsp;February&nbsp;2012)
[[FC Barcelona|Barcelona]]&nbsp;5–3&nbsp;[[Granada CF|Granada]] (20&nbsp;March&nbsp;2012)
| matches                    = 380
| total goals                = 1050
| longest wins               = 11 games by [[Real Madrid CF|Real Madrid]] and [[FC Barcelona|Barcelona]]<ref name="Soccernet">{{cite web|title=Spanish La Liga statistics|url=http://soccernet.espn.go.com/stats/_/league/esp.1/spanish-primera-division?cc=5739|publisher=[[ESPNsoccernet]]|accessdate=29 August 2011}}</ref>
| longest unbeaten           = 23 games by [[Real Madrid CF|Real&nbsp;Madrid]]<ref name=Soccernet/>
| longest winless            = 20 games by [[Racing de Santander|Racing&nbsp;Santander]]<ref name=Soccernet/>
| longest losses             = 6 games by [[Real Betis|Betis]], [[Rayo Vallecano]] and [[Real Zaragoza|Zaragoza]]<ref name=Soccernet/>
| highest attendance         = 99,252<ref>{{cite web|title=Barcelona&nbsp;— Real Madrid, 04/21/2012 |url=http://www.fcbarcelona.com/football/first-team/match-archive/2011-2012/league/round-35/fc-barcelona_real-madrid/info |publisher=fcbarcelona.com|accessdate=22 April 2012}}</ref> [[FC Barcelona|Barcelona]]&nbsp;&nbsp;[[Real Madrid CF|Real Madrid]]
| lowest attendance          = 6,000<ref name=Soccernet/> [[Getafe CF|Getafe]]&nbsp;&nbsp;[[Racing de Santander|Racing Santander]]
| attendance                 = 11,504,567<ref name=Soccernet/>
| average attendance         = 30,275<ref name=Soccernet/>
| prevseason                 = [[2010–11 La Liga|2010–11]]
| nextseason                 = [[2012–13 La Liga|2012–13]]
}}

produces

La Liga
Season2011–12
Dates27 August 2011 – 13 May 2012
ChampionsReal Madrid
32nd title
RelegatedVillarreal
Sporting de Gijón
Racing Santander
Champions LeagueReal Madrid
Barcelona
Valencia
Málaga
Europa LeagueAthletic Bilbao
Atlético Madrid
Levante
Matches played380
Goals scored1,050 (2.76 per match)
Top goalscorerLionel Messi (50)
Best goalkeeperVíctor Valdés
(0.8 goals conceded per game)
Biggest home winBarcelona 8–0 Osasuna (17 September 2011)
Biggest away winRayo Vallecano 0–7 Barcelona (29 April 2012)[1]
Highest scoringBarcelona 8–0 Osasuna (17 September 2011)

Real Madrid 6–2 Rayo Vallecano (24 September 2011)
Real Madrid 7–1 Osasuna (6 November 2011)
Sevilla 2–6 Real Madrid (17 December 2011)
Levante 3–5 Rayo Vallecano (19 February 2012)

Barcelona 5–3 Granada (20 March 2012)
Longest winning run11 games by Real Madrid and Barcelona[2]
Longest unbeaten run23 games by Real Madrid[2]
Longest winless run20 games by Racing Santander[2]
Longest losing run6 games by Betis, Rayo Vallecano and Zaragoza[2]
Highest attendance99,252[3] Barcelona – Real Madrid
Lowest attendance6,000[2] Getafe – Racing Santander
Total attendance11,504,567[2]
Average attendance30,275[2]

References

edit
  1. ^ "Rayo Vallecano 0-7 Barcelona" (in Spanish). RFEF. 29 April 2012. Retrieved 29 April 2012.
  2. ^ a b c d e f g "Spanish La Liga statistics". ESPNsoccernet. Retrieved 29 August 2011.
  3. ^ "Barcelona — Real Madrid, 04/21/2012". fcbarcelona.com. Retrieved 22 April 2012.