Template talk:Infobox college sports team season

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconCollege football Template‑class
WikiProject iconThis template is within the scope of WikiProject College football, a collaborative effort to improve the coverage of college football on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconCollege Basketball Template‑class
WikiProject iconThis template is within the scope of WikiProject College Basketball, a collaborative effort to improve the coverage of college basketball on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Conference and conf_record[edit]

Omitting unknown conference information from the parameters displays the following to the infobox:

2–4–1 ({{{conf_record}}} {{{conference}}})

See: 1936 Westminster Titans football team (permalink)

PK-WIKI (talk) 06:45, 16 June 2023 (UTC)[reply]

Hmm... I thought this would be a quick/easy fix, but there seems to be enough coding here that I think there might have been some sort of consensus about its layout...
At present, we have (in pseudocode) #if {record} show {record}, #if {conference ≠ independent} show {conf_record}. Shouldn't the second part of the statement just be #if {conf_record} show {conf_record}? The extra step to exclude a record only if there is a declared |conference=independent seems problematic to me. Primefac (talk) 08:40, 16 June 2023 (UTC)[reply]
Similarly, adding a record + non-independent conference but without setting a conference record results in:
8–2 ({{{conf_record}}} West Virginia Intercollegiate Athletic Conference)
See: Draft:1936 West Virginia Wesleyan Bobcats football team
PK-WIKI (talk) 06:10, 21 June 2023 (UTC)[reply]
Ugh. Given there haven't been any other replies recently (not surprising, with only 41 watchers) I'll see about revamping the code to be a bit more forgiving. Primefac (talk) 07:26, 21 June 2023 (UTC)[reply]
It seems like that code isn't robust if the param is not specified. If no conf info is specified, just don't show anything.—Bagumba (talk) 08:06, 21 June 2023 (UTC)[reply]
I'd suggest adding these to Template:Infobox college sports team season/testcases so if they are fixed, they don't get broken again.—Bagumba (talk) 08:09, 21 June 2023 (UTC)[reply]
Irrespective of the coding issue here, I think it's best practice to include parameters that could be populated with more research. Just leave the field value blank if unknown. See my edit at 1936 West Virginia Wesleyan Bobcats football team. Jweiss11 (talk) 13:56, 21 June 2023 (UTC)[reply]
The issue here is not known vs unknown, it's having parameters show up that shouldn't even be there in the first place. Primefac (talk) 13:58, 21 June 2023 (UTC)[reply]
I'm not seeing this problem when an infobox is set up properly. The Westminster example was missing its conference set to "Independent". The West Virginia Wesleyan example was missing fields that could in principle be populated. I understand there's an underlying coding issue, but it only manifests when best practices aren't followed—that was my point. — Preceding unsigned comment added by Jweiss11 (talkcontribs) 14:07, 21 June 2023 (UTC)[reply]
Inserting a blank field as you did in Special:Diff/1161244249 is not "best practice", because it shouldn't need to have |conf_record= set to a blank value to make the infobox work properly. That was more my point. Primefac (talk) 14:11, 21 June 2023 (UTC)[reply]
Yes, it is best practice because it supports consistency of form between articles and helps to alert any editor that more research is needed on that central piece of information. Jweiss11 (talk) 14:32, 21 June 2023 (UTC)[reply]
From a coding perspective, empty vs not defined should ideally have the same behavior. Basically, expect the unexpected. —Bagumba (talk) 15:03, 21 June 2023 (UTC)[reply]
Bagumba, I agree with you about the coding. Jweiss11 (talk) 16:15, 21 June 2023 (UTC)[reply]

Multiple Team Captains[edit]

While going through and cleaning up articles with infoboxes with unknown parameters, I came across 2023 Michigan Wolverines football team which had the parameter |captain6 = , which was invalid. As a temporary workaround, I combined |captain5 = and |captain6 = into an {{unbulleted list}} as seen here.

I'm not exactly sure how common it is to have six team captains, but if it does turn out to be more common, it may be worth increasing the number of captain = parameters by a few. Just a thought. Phuzion (talk) 14:29, 6 September 2023 (UTC)[reply]

Probably unlikely, but I've expanded the code just in case. Primefac (talk) 18:36, 6 September 2023 (UTC)[reply]

Cleanup of football stadium fields[edit]

Following this discussion I am going to start removing stadium capacity and terf type from transclusions where |sport=football. I have set up a tracking category, but for the most part this template will not be changed directly (posting mostly as a notice to the template watchers). Primefac (talk) 12:54, 11 December 2023 (UTC)[reply]

Infobox hardcode clean-up[edit]

For Template:NCAA team season.. I am currently experiencing difficulty with redirecting the infobox title (Old Dominion Monarchs men's basketball) to its article space instead of its previous name (Old Dominion Monarchs basketball) under mode=basketball. The automatic linking to 'Old Dominion Monarchs basketball' causes the prev_year and next_year links to redirect to the old article namespaces instead of the new ones that are currently in use.

For clarification, the Old Dominion Lady Monarchs basketball team was renamed the Old Dominion Monarchs women's basketball team beginning with the 2013–14 season. I have the linked media guides displaying the name change between the 2012–13 and 2013–14 seasons on my talk page. Vataxevader (talk) 14:47, 17 January 2024 (UTC)[reply]

Well fuck me that took some sorting despite the simplicity of the fix. Turns out for some reason the /name subtemplate explicitly was trimming the Old Dominion names. I've removed that line and it seems to have sorted things out. Primefac (talk) 14:35, 23 January 2024 (UTC)[reply]

Short description[edit]

This template should automatically create short descriptions such as Template:Infobox settlement -1ctinus📝🗨 17:25, 8 February 2024 (UTC)[reply]

What format should that shortdesc have? I randomly checked a half-dozen and they all had American college football season as the shortdesc. Is this desired? Primefac (talk) 18:50, 8 February 2024 (UTC)[reply]
This infobox is also used for an array of other sports. Jweiss11 (talk) 19:03, 8 February 2024 (UTC)[reply]
I would say so. A format such as "American college (sport) season" is the de facto short description. -1ctinus📝🗨 12:14, 9 February 2024 (UTC)[reply]
The sport field in the infobox determines the specific sport being covered. If empty, the default it football. Couldn't the short description be tied to the sport field? Jweiss11 (talk) 15:57, 9 February 2024 (UTC)[reply]
I believe that is what 1ctinus is implying with the (sport) part of their quoted text above, where (sport) is replaced by the |sport= parameter. Primefac (talk) 12:21, 12 February 2024 (UTC)[reply]

Parameter Change[edit]

Collegiate Baseball has ceased operations, but there is still a parameter CBRank for the college baseball seasons. Would it be prudent to add a new one for a second college baseball ranking, or just leave the infobox only having the coaches ranking. It might be good to add the D1Baseball ranking, since that is the ranking shown in standings templates and on the schedule on season pages. Appreciate any input. Swimmer33 (talk) 14:50, 20 February 2024 (UTC)[reply]

Totally agree. D1Baseball has become the de facto official ranking. Even ESPN has adopted D1 as their poll of record. Frizbaloid (talk) 19:37, 21 February 2024 (UTC)[reply]

College baseball polls[edit]

Currently, the only college baseball polls used in the info box are the coaches and "CBRank", which apparently not used anymore. Would it be possible to possible to add a parameter "D1BBRank"? D1Baseball.com is the ranking that is heavily used in the schedule lines. Thank you. rogerd (talk) 02:12, 9 April 2024 (UTC)[reply]

If no one is opposed this doesn't sound unreasonable. What would the final label/data rows look like? Primefac (talk) 11:29, 10 April 2024 (UTC)[reply]
My suggestion would be similar to the existing D3Football.com, but be D1Baseball.com No. {{{D1BaseballRank}}}
The page 2024 NCAA Division I baseball rankings already tracks it, and most articles like 2024 Kentucky Wildcats baseball team use D1Baseball rankings within the schedule section to list that team and the opponent's rankings. Thanks rogerd (talk) 12:01, 10 April 2024 (UTC)[reply]
I would like to second this request. Given that D1 Baseball is seemingly the poll of choice (given the lack of an AP Poll and the elimination of the CB Poll) I believe it would make most sense to have this added. As a heavy editor of college baseball articles this has posed a problem for me! Gzagona (talk) 00:56, 16 April 2024 (UTC)[reply]
Just noting that |D1BaseballRank= was already a valid parameter, it just needed a label tweak (which I have now implemented). Primefac (talk) 08:04, 16 April 2024 (UTC)[reply]
Thanks!! rogerd (talk) 16:04, 16 April 2024 (UTC)[reply]
I have put it in the infoboxes of all of the SEC schools that currently are ranked in D1 and have season articles - Kentucky, Arkansas, Georgia and Vanderbilt. --rogerd (talk) 19:51, 16 April 2024 (UTC)[reply]