Template:Infobox football league season/doc
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
TemplateData for Infobox football league season
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Image of logo of the league. | Page name | optional |
Pixels | pixels | Width of the image in pixels | Number | optional |
Image Caption | caption | Caption for the image that is provided | String | optional |
Competition | competition | Commonly used name of competition | String | optional |
Winners | winners | Champions of the competition. | String | optional |
Premiers | premiers | League's Premier | String | optional |
Promoted | promoted | Promoted(if any) | String | optional |
Relegated | relegated | Relegated(if any) | String | optional |
Dissolved | Dissolved | Dissolved | String | optional |
Continental Cup 1 | continentalcup1 | Continental Cup1 eg. Champions League | String | optional |
Continental Cup1 Qualifiers | continentalcup1 qualifiers | Qualifiers for continental cup 1 | String | optional |
Continental cup 2 | continentalcup2 | Continental Cup 2 | String | optional |
Continental Cup2 Qualifiers | continentalcup2 qualifiers | Qualifiers for continental cup 2 | String | optional |
Matches | matches | Total matches played | Number | optional |
Total Goals | total goals | Total Goals scored | Number | optional |
Average Goals | average goals | Manual input of average goals scored. Round to 2 decimal places | String | optional |
League Topscorers | league topscorer | The name of league's top scorer | String | optional |
Biggest home win | biggest home win | Result (with date) | Line | optional |
Biggest away win | biggest away win | Result (with date) | Line | optional |
Highest Scoring | highest scoring | Result (with date) | Line | optional |
Longest Wins | longest wins | No. of games won - Team(date from - date to) | Line | optional |
Longest Unbeaten | longest unbeaten | No. of games won - Team(date from - date to) | Line | optional |
Longest winless | longest winless | No. of games lost - Team(date from - date to) | Line | optional |
Longest losses | longest losses | No. of games lost - Team(date from - date to) | Line | optional |
Highest Attendance | highest attendance | Attendance (with date) | Line | optional |
Lowest Attendance | lowest attendance | Attendance (with date) | Line | optional |
Attendance | attendance | Total attendance for season | Number | optional |
Average Attendance | average attendance | Average attendance for season | Number | optional |
Previous Season | prevseason | Link to the page of the previous season | Page name | optional |
Next Season | nextseason | Link to the page of the next season | Page name | optional |
Extra Information | extra information | Any additional information about the season | String | optional |
Updated | updated | The date/time at which the infobox was most recently updated | Line | optional |
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