Template:Infobox football league season/sandbox
This is the template sandbox page for Template:Infobox football league season (diff). See also the companion subpage for test cases. |
[[File:{{{logo}}}|{{{pixels}}}|alt={{{alt}}}]] | |
Season | {{{season}}} |
---|---|
Dates | {{{dates}}} |
MLS Cup | {{{mlscup}}} |
{{{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
[change source]{{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 --> | 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
[change source]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.
- {{{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}}} — 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
[change source]TemplateData for Infobox football league season
Infobox to use in football league season's articles
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 |
Season | season | season of the competition
| String | optional |
Dates | dates | The dates of the first and last matches played in the season, separated by an endash
| Date | 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
| 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 played | matches | Total matches played
| Number | optional |
Matches Footnote | matches footnote | Footnote that appears under the number of matches | Unknown | optional |
Goals scored | total goals | Total Goals scored
| Number | optional |
Average goals/game | average goals | Manual input of average goals scored. Round to 2 decimal places | String | optional |
Best player | best player | The name of league's official best player | String | optional |
Top goalscorer | league topscorer | The name of league's top scorer
| String | optional |
Best goalkeeper | best goalkeeper | The name of league's official best goalkeeper | 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 |
Updated | updated | The date/time at which the infobox was most recently updated | Line | optional |
Extra Information | extra information | Any additional information about the season | String | optional |
Example
[change source]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]] 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 CF|Real Madrid]] 6–2 [[Rayo Vallecano|Rayo Vallecano]] (24 September 2011) <br> [[Real Madrid CF|Real Madrid]] 7–1 [[CA Osasuna|Osasuna]] (6 November 2011)<br/> [[Sevilla FC|Sevilla]] 2–6 [[Real Madrid CF|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 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 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 CF|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
Season | 2011–12 |
---|---|
Dates | 27 August 2011 – 13 May 2012 |
Champions | Real Madrid 32nd title |
Relegated | Villarreal Sporting de Gijón Racing Santander |
Champions League | Real Madrid Barcelona Valencia Málaga |
Europa League | Athletic Bilbao Atlético Madrid Levante |
Matches played | 380 |
Goals scored | 1,050 (2.76 per match) |
Top goalscorer | Lionel Messi (50) |
Best goalkeeper | Víctor Valdés (0.8 goals conceded per game) |
Biggest home win | Barcelona 8–0 Osasuna (17 September 2011) |
Biggest away win | Rayo Vallecano 0–7 Barcelona (29 April 2012)[1] |
Highest scoring | Barcelona 8–0 Osasuna (17 September 2011) Real Madrid 6–2 Rayo Vallecano (24 September 2011) |
Longest winning run | 11 games by Real Madrid and Barcelona[2] |
Longest unbeaten run | 23 games by Real Madrid[2] |
Longest winless run | 20 games by Racing Santander[2] |
Longest losing run | 6 games by Betis, Rayo Vallecano and Zaragoza[2] |
Highest attendance | 99,252[3] Barcelona – Real Madrid |
Lowest attendance | 6,000[2] Getafe – Racing Santander |
Total attendance | 11,504,567[2] |
Average attendance | 30,275[2] |
← 2010–11 2012–13 → |
References
[change source]- ↑ "Rayo Vallecano 0-7 Barcelona" (in Spanish). RFEF. 29 April 2012. Retrieved 29 April 2012.
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 "Spanish La Liga statistics". ESPNsoccernet. Retrieved 29 August 2011.
- ↑ "Barcelona — Real Madrid, 04/21/2012". fcbarcelona.com. Retrieved 22 April 2012.