Template talk:Infobox sports season

Recent changes
I recently made some changes to the next/prev years and list of season links at the bottom - the changes mean that if any article doesn't exist, it will not redlink. It also means that if some parameters are not included (e.g. "prevlink"/"prevyear" for the first season of a league) it will not break the template. I made these change only after thorough testing, so I don't believe I have broken anything - please let me know if there are any issues. -- Chuq (talk) 00:57, 16 February 2008 (UTC)

I've just made another change - introduced the optional parameters for season_champ_name, league_champ_name, etc. so alternate names for "League champion" and "Season champion" can be used. The example is for the A-League, where "champions" and "premiers" are used. See User:Chuq/A-League season for usage examples. -- Chuq (talk) 06:43, 16 February 2008 (UTC)


 * I've added a separate "Minor premiers" to the infobox. Essentially it's the same as "League champion" above, but in some leagues the title has less importance than runners-up. I wasn't sure how best to accommodate it, so I added a separate parameter below runners-up. Cheers. – Liveste (talk • edits) 23:37, 14 November 2010 (UTC)

'Next' link does not work!
Hi, The 'previous' link works, but the 'next' does not. I've noticed this in the pages 2011–12 A-League where a next page does exists but cannot be accessed. Can someone please help! Thanks. -- User:2nyte 10:27, 13 April 2012 (AEST)

Promotion/relegation
I'm a little frustrated with the rigidity of the "promoted" function here. In the context in which I'm trying to use it (lets call it Division 2), I want to say who was promoted and relegated from Division 2 as a result of this season described in the infobox in question. So in that case, what it needs to say isn't "promoted from …" but "Promoted to Division 1:". Doesn't that make sense? Would it be possible to add a function to the template allowing for a "promoted to" field as opposed to the existing "promoted from"? —  SwedishPenguin  &#124; Talk 13:58, 1 July 2013 (UTC)


 * Apparently, this was fixed in an incorrect way. Now the template works for the second tier, but not for the first anymore. There is a difference between "promoted to" and "promoted from". The label for the value  should say "promoted from" and it should only say "promoted to" if   is used. --GregorBungensheim (talk) 11:55, 2 May 2022 (UTC)

Top goalkeeper/goaltender
Any objections to adding a 'Top goalkeeper/goaltender' line below 'Top scorer'? It would be either goalkeeper or goaltender, not goalkeeper/goaltender. I suggest it be optional, of course. Alaney2k (talk) 20:30, 26 February 2014 (UTC)
 * This'll open the floodgates on adding best, although goalkeepers has to be the most special(ized) ones out there. Kinda unfair though that we'd leave out the "best defender" if there's a "top scorer"... – H T  D  00:02, 27 February 2014 (UTC)
 * Association football (goalkeeper) has a separate infobox so if they can be obliged to add one, do we add one here too for the rest of the sports with goalkeepers/tenders (the hockey codes, water polo, what else?). – H T  D  01:20, 27 February 2014 (UTC)

Problems with prev/alt/next seasons
There's a problem with these. If prev is left blank there's something strange, see: 1958 FIBA European Champions Cup. Maybe the first altseason_link should have left not right (3 lines after data56) but even so it needs to check if alt is set or not. In fact I'm confused about what the alt is trying to achieve. Is it intended that all 3 can be defined or is the alt intended to be an alternative for prev/next. See: 2000–01 FIBA SuproLeague which looks okish but shorten altseason_year to xxx and it looks a bit odd. Nigej (talk) 08:17, 11 January 2015 (UTC)
 * Nigej, not exactly sure what it's for either, but clearly the 1958 example shows there was a typo with it being stuck in there twice. seems to me that it should be centre aligned? Frietjes (talk) 16:40, 11 January 2015 (UTC)

Template-protected edit request on 23 March 2019
Could someone add

Which would also entail shifting everything from here:

onwards down. Thanks in advance! Pbroks13 (talk) 17:09, 23 March 2019 (UTC)
 * , please make the adjustments in the sandbox (Template:Infobox sports season/sandbox) and validate, then reactivate the edit request when it is ready to go live.  Thank you, —  xaosflux  Talk 05:13, 24 March 2019 (UTC)
 * Thank you. The sandbox is ready to be put live. Pbroks13 (talk) 12:35, 24 March 2019 (UTC)
 * ✅ loaded in, let us know if there are any issues that need adjusting.  Thank you for working up the sandbox. —  xaosflux  Talk 13:58, 24 March 2019 (UTC)
 * Actually, just one more thing. I forgot to update the "check unknown parameters". I've updated it in the sandbox, if you could do it one more time. Thanks again. Pbroks13 (talk) 14:12, 24 March 2019 (UTC)
 * - ✅ — xaosflux  Talk 14:21, 24 March 2019 (UTC)

Change "TV partner(s)" to "Media partner(s)" or "Broadcaster(s)"
As sports rights are now increasingly held by streaming video broadcasters that are not necessarily classified as "TV" in the sense implied by this template, I think the wording should be updated to reflect the current technological environment. ViperSnake151  Talk  15:25, 26 June 2020 (UTC)
 * Red information icon with gradient background.svg Not done for now: please establish a consensus for this alteration before using the template. Make a proposal and get consensus for it please.  – Jonesey95 (talk) 23:11, 26 June 2020 (UTC)

Template-protected edit request on 8 October 2020
The section of the template that does "Check for unknown parameters" should accept World_Series_MVP and World_Series_MVP_link as valid parameters. Currently, use of these fields produces spurious warning errors. See for example 2013 Major League Baseball season (Edit source, Show preview). Thank you. Dmoore5556 (talk) 08:41, 8 October 2020 (UTC)
 * ✅, and thank you very much!  P.I. Ellsworth   ed.  put'r there 09:36, 8 October 2020 (UTC)
 * Thank you for making that edit. Dmoore5556 (talk) 15:47, 8 October 2020 (UTC)

Number of games
Apparently in North American English, "number of games" doesn't refer to "number of games" but "number of games per team". Can we add another parameter for this, then change it to this new one for the Big 4 leagues' seasons? With discussion, of course. Howard the Duck (talk) 14:33, 14 December 2020 (UTC)

Template-protected edit request on 24 April 2021
Please add

And adjust numbers afterwards as needed. Pbrks (talk) 22:06, 24 April 2021 (UTC)
 * Did you intentionally omit header50 (and thus a number increase for each other parameter) from your request? * Pppery * it has begun... 01:07, 18 May 2021 (UTC)
 * Ah, I overlooked that. For my purposes, yes, I don’t need that header, but for consistency’s sake, that should be included as well. Pbrks (talk) 01:50, 18 May 2021 (UTC)
 * Thanks. I've now coded this in the sandbox, can you confirm that it looks good before I move the code to the main template? * Pppery * it has begun... 02:00, 18 May 2021 (UTC)
 * Looks all good as far as I can tell. Thank you! Pbrks (talk) 02:45, 18 May 2021 (UTC)

✅ * Pppery * it has begun... 02:46, 18 May 2021 (UTC)

Update placement of NFL Draft content
See CFB render: Where the 2015 NFL Draft (person) content: 2015 NFL Draft Top draft pick	Marcus Mariota (Oregon) Picked by	Tennessee Titans, 2nd overall
 * 2014 Pac-12 Conference football season

is rendered above both the 2014 (team) Regular season and 2014 (team) Championship sections.

Contrast with:
 * 2018–19 NCAA Division I men's basketball season - Men's basketball has "Player of the Year" below all team-oriented rankings, tournaments and champions (NCAA, NIT, CBI, CIT) sections.
 * 2019 NCAA Division I baseball season - Baseball has "Most Outstanding Player" below all team-oriented preseason, tournament, and College World Series sections.

While Draft/PotY/MOP content are slightly different individual accomplishments, the CFB render of NFL Draft content should follow latter those two models. Individual achievement should be located beneath the team-level achievements which are the core topic of the season and the article. UW Dawgs (talk) 19:23, 10 June 2021 (UTC)

Template-protected edit request on 17 April 2022
Change

and

to

and

to be consistent with the other "Runners-up" and "Minor premiers" rows. – Pbrks (t • c) 15:33, 17 April 2022 (UTC)
 * ✅.  P.I. Ellsworth &numsp;- ed.  put'r there 17:17, 17 April 2022 (UTC)

Template-protected edit request on 20 June 2022
I've improved the way that the attendance parameter is displayed. And, average attendance will be automatically calculated if the number of games is entered. See the sandbox for these revisions. –Aidan721 (talk) 21:52, 20 June 2022 (UTC)
 * Sounds reasonable to me. The test case demonstrates it working.  — SMcCandlish ☏ ¢ 😼  17:04, 25 June 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 15:46, 1 July 2022 (UTC)
 * The above change has caused expression errors to show up on around 30 articles. For some cases, like 2009–10 Turkish Basketball League, the fix is obvious (remove the redundant calculation), but for others like 2009–10 Turkish Basketball League it's not clear where the reference that can no longer be in that parameter should go instead. * Pppery * it has begun... 13:31, 2 July 2022 (UTC)
 * until resolved.  P.I. Ellsworth &thinsp;, ed.  put'r there 17:34, 2 July 2022 (UTC)
 * Resolved by testcase with 2009–10 Turkish Basketball League. Added  to detect error and if an error occurs, only the attendance parameter will be displayed and average attendance will not be calculated and only shown if passed to . –Aidan721 (talk) 01:22, 5 July 2022 (UTC)
 * Red information icon with gradient background.svg Not done for now: looks like this needs more care. I've tested a few variations, and I found the first rendition a significant improvement; however, having to account for possible errors may have taken some of the wind out of its wings. Keep thinking, 'What if this?' and 'What if that?', so don't think this is as much of an improvement now. I could be wrong, so what is needed is more discussion and, hopefully, a consensus to emerge. And maybe some way to actually remove the problem automatically without throwing an error is needed?  P.I. Ellsworth &thinsp;, ed.  put'r there 16:02, 5 July 2022 (UTC)
 * Better documentation needs to be written so that users know what should be entered in each parameter because right now it is not very clear. –Aidan721 (talk) 16:29, 6 July 2022 (UTC)
 * Those articles should be edited to only pass an integer to . exists for that reason. Perhaps we would have to add  for the citation. –Aidan721 (talk) 17:44, 2 July 2022 (UTC)

TemplateData
Can we get TemplateData for this infobox? This infobox is used far too often to be missing it. –Aidan721 (talk) 19:23, 6 July 2022 (UTC)
 * TemplateData is added to the documentation, which in this case is not protected.  P.I. Ellsworth &thinsp;, ed.  put'r there 10:55, 8 July 2022 (UTC)
 * So why would that mean that it can't be added? Other protected templates have it. –Aidan721 (talk) 13:00, 8 July 2022 (UTC)
 * The implication was not that TD can't be added, the implication was that it does not take an admin or TE to add it. Even you could add it, isn't that correct?  P.I. Ellsworth &thinsp;, ed.  put'r there 00:30, 10 July 2022 (UTC)
 * From my experience, it's easier to auto-generate TD when you have access to edit the template. –Aidan721 (talk) 03:12, 10 July 2022 (UTC)
 * If the documentation is on a separate page, why would one need access to edit the template? Only access to read the template's code and find the parameters should be needed, whether auto- or manually-generated. And if the documentation is directly in the code of a protected template, then that needs updating to get the documentation a page of its own (/doc).  P.I. Ellsworth &thinsp;, ed.  put'r there 02:47, 11 July 2022 (UTC)

Add decimal separator into Total attendance13 October 2022
Right now the total attendance shown doesn't have decimal separator.(Example:2022–23 SuperLega) When the number is big, it's not convenient for people to read. Here is an example with decimal separator shown in the total attendance. (2022 FIVB Volleyball Women's World Championship) Hope we can add decimal separator into Total attendance. Also it's good to calculate the avg attendance. :

Diff: Ojvolleyball (talk) 09:51, 13 October 2022 (UTC)
 * Red information icon with gradient background.svg Not done for now: This change is being tested in the sandbox by . It is not ready to deploy. For one thing, the calculated average attendance is unable to determine whether to use "match", "game", or some other word for the per-event average attendance description. See Template:Infobox sports season/testcases. – Jonesey95 (talk) 16:32, 13 October 2022 (UTC)

Template-protected edit request on 1 December 2022
Add to use on college season articles. –Aidan721 (talk) 19:03, 1 December 2022 (UTC)
 * ✅ per your sandbox code. Please,, update the template documentation as needed.  P.I. Ellsworth &thinsp;, ed.  put'r there 06:58, 2 December 2022 (UTC)
 * I had the parameters in abbr backwards. Can you update now? –Aidan721 (talk) 16:05, 3 December 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 18:00, 3 December 2022 (UTC)

Edit request 8 November 2023
Add MVP4 and MVP_link4 ~ Xehny (talk) 00:01, 8 November 2023 (UTC)
 * What article needs these parameters? Are you asking for the creation of a whole "season4" section? If not, where should MVP4 be displayed? – Jonesey95 (talk) 02:50, 8 November 2023 (UTC)
 * ❌ for now; please be explicit about exactly what code should be changed. Happy‑melon 10:27, 8 November 2023 (UTC)
 * , this is one of those times where it's a very straight-forward addition (we already have MVP3 and MVP_link3 for example) so extensive sandboxing isn't strictly necessary here. The answer to Jonesey's question, though, would be nice. Primefac (talk) 10:35, 8 November 2023 (UTC)
 * I shall leave implementation in your capable hands! :) Happy‑melon 12:26, 8 November 2023 (UTC)
 * There is already a season 4 section, it is just missing mvp parameters. The article I need it for is "2023 LEC season" (currently in draft), which has 4 seasons. I believe I have made the appropriate changes in the sandbox to show how this can be implemented. ~ Xehny (talk) 19:48, 8 November 2023 (UTC)

✅ * Pppery * it has begun... 18:33, 10 November 2023 (UTC)

Separate Streaming partners parameter
Unless there are any objections, I would like to add a streaming parameter here. For the same reason on Template talk:Infobox sports league, some leagues have multiple different partners for TV and internet. In the case here, these streaming partners may change each season. I have access to edit template-protected pages, so I will wait a week or two, or maybe longer, if anybody would like to make a comment on this. Thanks. Zzyzx11 (talk) 03:57, 22 January 2024 (UTC)
 * Added, as there is no objection yet. Zzyzx11 (talk) 09:08, 20 February 2024 (UTC)