Template:Infobox football league season/doc

From RabastorWiki
Jump to navigation Jump to search

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

Usage

{{Infobox football league season
| competition               =
| logo                      =
| image                     =
| pixels                    = <!-- width of image in pixels (px) -->
| alt                       =
| caption                   =
| season                    =
| mlscup                    = <!-- for MLS only; supersedes "winners" parameter -->
| winners                   =
| American                  = <!-- changes "Champions" to "Champion(s)" -->
| shieldtitle               =
| shield                    =
| premiers                  =
| promoted                  =
| relegated                 =
| continentalcup1           =
| continentalcup1qualifiers =
| continentalcup2           =
| continentalcup2qualifiers =
| continentalcup3           =
| continentalcup3qualifiers =
| continentalcup4           =
| continentalcup4qualifiers =
| 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

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.
  • {{{winners}}} — Champions
  • {{{mlscup}}} — MLS 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 amount of matches played
  • {{{total goals}}} — Total amount 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
  • {{{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}}} — Attendance
  • {{{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.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox football league season

No description.

Template 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

Stringoptional
Winnerswinners

Champions of the competition.

Stringoptional
Premierspremiers

League's Premier

Stringoptional
Promotedpromoted

Promoted(if any)

Stringoptional
Relegatedrelegated

Relegated(if any)

Stringoptional
DissolvedDissolved

Dissolved

Stringoptional
Continental Cup 1continentalcup1

Continental Cup1 eg. Champions League

Stringoptional
Continental Cup1 Qualifierscontinentalcup1 qualifiers

Qualifiers for continental cup 1

Stringoptional
Continental cup 2continentalcup2

Continental Cup 2

Stringoptional
Continental Cup2 Qualifierscontinentalcup2 qualifiers

Qualifiers for continental cup 2

Stringoptional
Matchesmatches

Total matches played

Numberoptional
Total Goalstotal goals

Total Goals scored

Numberoptional
Average Goalsaverage goals

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

Stringoptional
League Topscorersleague topscorer

The name of league's top scorer

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
Extra Informationextra information

Any additional information about the season

Stringoptional
Updatedupdated

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

Lineoptional

Example

The input:

{{Infobox football league season
| competition                = La Liga
| season                     = 2011–12
| winners                    = [[Real Madrid C.F.|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 C.F.|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]] 8–0 [[CA Osasuna|Osasuna]] (17 September 2011)
| biggest away win           = [[Rayo Vallecano]] 0–7 [[FC Barcelona|Barcelona]] (29 April 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]] 8–0 [[CA Osasuna|Osasuna]] (17 September 2011)<br>
[[Real Madrid C.F.|Real Madrid]] 6–2 [[Rayo Vallecano|Rayo Vallecano]] (24 September 2011) <br>
[[Real Madrid C.F.|Real Madrid]] 7–1 [[CA Osasuna|Osasuna]] (6 November 2011)<br/>
[[Sevilla FC|Sevilla]] 2–6 [[Real Madrid C.F.|Real Madrid]] (17 December 2011)<br>
[[Levante UD|Levante]] 3–5 [[Rayo Vallecano|Rayo Vallecano]] (19 February 2012)
[[FC Barcelona|Barcelona]] 5–3 [[Granada CF|Granada]] (20 March 2012)
| matches                    = 380
| total goals                = 1050
| longest wins               = 11 games by [[Real Madrid C.F.|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 C.F.|Real Madrid]]<ref name=Soccernet/>
| longest winless            = 20 games by [[Racing de Santander|Racing 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 — 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]] – [[Real Madrid C.F.|Real Madrid]]
| lowest attendance          = 6,000<ref name=Soccernet/> [[Getafe CF|Getafe]] – [[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

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

References

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory