Template talk:CFB schedule

Rankyear param not working on older dates
The template does not appear to be properly linking to rankings pages for older years, i.e. before the Divisional split. Example. Ostealthy (talk) 16:08, 18 June 2018 (UTC)
 * Ok so I see now that the link was included in AP Poll link in the bottom. Why was it decided to remove the link from the Rank column? It's much more intuitive and useful there.Ostealthy (talk) 16:14, 18 June 2018 (UTC)
 * My guess would be that it's less surprising there, since piping it under the word "AP Poll" is less vague than piping it under "Rank"(?).

Default poll
Why do we default to the Coaches' poll, when almost every use of this template I've seen specifies AP Poll? (Or do I need to look at more template uses? :-)) The AP is "the poll" used in sports media, and has been around longer... Hoof Hearted (talk) 20:37, 2 November 2018 (UTC)
 * Hoof Hearted, see the code in Template:CFB Schedule End. that choice was inherited.  but we could make the default something more generic, or issue an error. Frietjes (talk) 14:00, 3 November 2018 (UTC)
 * OK, I assumed you may have had some input on the original default. I think it makes more sense to use AP, but I don't want to rock the boat if we have a long-established precedent.  Hoof Hearted (talk) 13:51, 5 November 2018 (UTC)

Games with their own articles appear with gray backgrounds instead of green/red/orange
Are there any plans to change the template to properly recognize games with their own articles? A good example is Auburn's 2013 season, the Kick Six and Prayer at Jordan-Hare have no fill, making it look like they were vacated or something.

TX2124KU (talk) 21:24, 29 January 2019 (UTC)

Non-breaking spaces
Could the script be modified such that there are only non-breaking spaces for each field, either with or some other method? This would make tables less sloppy when there is a long team name (Mississippi State, South Carolina, etc.) that may run to the end of the field and creates two lines for one entry. Benhen1997 20:16, 30 May 2019 (UTC)
 * , okay. will see if this causes any new problems ... Frietjes (talk) 20:22, 30 May 2019 (UTC)

Template-protected edit request on 24 November 2019
Please update the schedule of Bethune Cookman. They defeated Florida A&M on November 23rd, 2019 by the score of 31-27. Also, please add the attendance of the game which was 55,730, and can be referenced Thank You. RaEdits (talk) 11:13, 24 November 2019 (UTC)
 * Red information icon with gradient background.svg Not done: this is the talk page for discussing improvements to the template . Please make your request at the talk page for the article concerned. – Jonesey95 (talk) 14:37, 24 November 2019 (UTC)

ncg, hc tags
Is there a way to implement a different syntax for the and  tags, or allow them to be self-closed tags? I use syntax highlighting, and unclosed html-style tags mean the entire edit window get highlighted, which is kind of a pain to deal with. I don't think I've encountered any other template that requires similar syntax. kennethaw88 • talk 05:00, 21 December 2019 (UTC)
 * kennethaw88, sure, [//en.wikipedia.org/w/index.php?title=2018_Ohio_State_Buckeyes_football_team&type=revision&diff=931842061&oldid=931274980 this works] now. or, if you have a suggestion for alternative syntax, we can implement that as well.  a simple [//en.wikipedia.org/w/index.php?sort=relevance&search=insource%3A%2F%5C%3C%5BNnHh%5D%5BCc%5D%5BGg%5D%3F%5C%3E%2F&title=Special:Search&profile=advanced&fulltext=1&advancedSearch-current={}&ns0=1&searchToken=cbjkwf4v9nbcs34p808oypl1x in source search] shows that there are over 1500, so we probably want to support the open tag syntax for the time being. Frietjes (talk) 16:35, 21 December 2019 (UTC)
 * Awesome, thanks. kennethaw88 • talk 22:06, 21 December 2019 (UTC)

Nomination for deletion of Module:CFB schedule/convert
Module:CFB schedule/convert has been nominated for deletion. You are invited to comment on the discussion at the module's entry on the Templates for discussion page. * Pppery * it has begun... 20:13, 31 December 2019 (UTC)

Conversion process for unnamed parameters to named parameters
How hard would it be to create a process that could take instances of CFB schedule that use the "compact syntax" with unnamed parameters and convert them to instances of CFB schedule / CFB schedule entry with named parameters? The instances with named parameters are often much easier to expand with missing information. Jweiss11 (talk) 19:09, 30 April 2020 (UTC)
 * Jweiss11, if you look at the code for Module:CFB schedule you will see a 'subst' function that calls .  if I recall, that path does exactly what you are asking. you just change   to   and use "show preview" to see the proposed conversion.  I don't know how much this has been used, so please exercise caution and let me know if you find any bugs! 15:43, 1 May 2020 (UTC)
 * Frietjes, great, thank you! Jweiss11 (talk) 16:11, 1 May 2020 (UTC)
 * been meaning to get back to you on this. I noticed a couple issues with the conversion process. First, see this example. Note how "No." gets duplicated in the rank column in the fifth row of the table. Second, see this example. Note there how the conversion process places the gamenanme field in between the stadium and cityst fields on the seventh row of the table. It would be much helpful if it was placed after the cityst field, as it renders when displayed. Let me know if you can make these fixes. Thanks, Jweiss11 (talk) 19:43, 10 September 2020 (UTC)
 * Jweiss11, the No. No. should be fixed. I will look at the gamename issue later today. Frietjes (talk) 19:59, 10 September 2020 (UTC)
 * Jweiss11, and the parameter order should be fixed as well. Frietjes (talk) 21:33, 10 September 2020 (UTC)

State abbreviations
The examples use a postal abbreviation for state names, in conflict with MOS:POSTABBR. OK to change these (AL,GA, PA, NJ, etc.) to the full names? There is no serious constraint on room in these examples, and usually not in real-life articles. Editors are allowed to use the abbreviations on a case-by-case basis where actually needed (with the use of template), but it is not necessary to push abbreviation in this documentation. Chris the speller  yack  14:11, 13 May 2020 (UTC)
 * , feel free to change these in the documentation to something that is MOS compliant. of course, this won't change the articles, but it would encourage best practices. Frietjes (talk) 17:07, 13 May 2020 (UTC)


 * ✅. Chris the speller   yack
 * Chris the speller, I reverted your changes and restored the state codes. The MOS notes that state codes "...can be used in tables when space is tight...". This argument has been made in discussion at Wikipedia talk:WikiProject College football. Jweiss11 (talk) 19:59, 10 September 2020 (UTC)

Forfeited games vs vacated games vs COVID No Contests
I happened to be looking at the 1994 Michigan State Spartans football team page today and noticed that their games were listed as "vacated" rather than "forfeited". A vacated game is expunged from a school's record, although its opponent's record is not changed, whereas a forfeit changes a school's original win or tie into a loss and its opponent's original loss or tie into a win. I came to the template page to see if there was an option to change the games from "vacated" to "forfeited", but there isn't, and the module is protected, so there's really no way for me personally to make this change, which is why I'm creating this new section in the talk page. Is there any way we can get this change implemented, or at least talk about it? It really does make a difference when someone is looking at the historical significance of the schedule.

This would also mean we would need to add another setting to the module for "win by forfeit". If you look at 1994 Indiana Hoosiers football team for example, the Michigan State game still shows as a loss, but it should technically be a win, even if it's a different color green from the regular wins. Rezin8 (talk) 15:18, 23 October 2020 (UTC)

And now, with the advent of COVID-19 "no contests" games such as the Wisconsin v Nebraska game scheduled for 10/31/2020, we might need to come up with a solution for "no contest" as well. Rezin8 (talk) 23:27, 28 October 2020 (UTC)

Handling of gamename = rivalry
We have a long-standing problem with unsourced "rivalry" articles. When these go through AfD with Delete outcome, admins use XFDcloser to remove links to the deleted rivalry article. Unfortunately, that tool/process removes the link, but leaves the "rivalry" text intact.

Ex, XFDcloser changed  to   so the schedule table then rendered a plain text string of "rivalry".

Obviously showing unlinked "rivalry" text post-AfD/Del is confusing to both readers and editors. I've known about this issue for quite a while and just resolved 400+ instances with AWB.

I don't see a clean solution. Perhaps you will.
 * After AfD/XFDcloser, admins are unlikely to either know or choose to manually remove the  text from up-to 200 articles (19XX-2021, both teams)
 * It also breaks the utility of the Help:What links here feature to find instances
 * In early 189X-190X years (1893 Vanderbilt Commodores football team), war years (1945 Washington Huskies football team), and more recently with conference championship games (2018 Oklahoma Sooners football team), two teams can play more than once per season.
 * FCS has the same issue due to playoff rematches.
 * In those, the articles are mostly using  for the second game, which avoids a second link per MOS:REPEATLINK and is reasonable

If you coded a link requirement into  in order to cause render, you'd fix the render-side of the XFDcloser issue, but prevent text render in "second game, same season" scenarios called out above. If that is the only option, preventing misleading "rivalry" text at the expense of a redundant, cosmetic string would still be a win.

Thoughts, options? UW Dawgs (talk) 00:08, 30 May 2021 (UTC)


 * , my practice is when rivals play a second time in a given season, I omit the rival designation entirely for the second game. Accordingly, I removed the second unlinked instance of "rivalry" for Sewanee on 1893 Vanderbilt Commodores football team. I'm not sure if there's a way to adjust XFDcloser, but we can help matters by being vigilant and nipping spurious non-rivalries in the bud before they propagate. Jweiss11 (talk) 03:35, 31 May 2021 (UTC)
 * , I modified the code to replace unlinked gamename text with Category:Pages using CFB schedule with an unlinked gamename, but I could have it just append the category instead. Frietjes (talk) 14:05, 1 June 2021 (UTC)
 * , can you have to just append the category? Your edit is hiding some info that may be worthwhile. Thanks, Jweiss11 (talk) 19:21, 1 June 2021 (UTC)
 * , yes. I suppose if we are going to actually remove the text, we should just filter out known cases like unlinked  ? Frietjes (talk) 20:19, 1 June 2021 (UTC)
 * Yes, an unlinked  isn't going to be of value, but other thing like "NCAA Division I-AA Quarterfinal" at 1988 Furman Paladins football team is valuable and belongs there. There's other stuff like "Battle for the Bones" at 2002 Memphis Tigers football team that's a remnant of a deleted (non-)rivalry article (cf. Articles for deletion/UAB–Memphis rivalry) and should be removed. Then there's "Shillelagh" at 1999 Purdue Boilermakers football team that should be replaced with a link to Notre Dame–Purdue football rivalry. It's a mixed bag that need to be combed through. This tracking category is very helpful. Thanks for setting it up! Jweiss11 (talk)
 * I created a subcat, Category:Pages using CFB schedule with an unlinked rivalry‎, for rivalry. Frietjes (talk) 22:01, 1 June 2021 (UTC)

Issue with tie rankings in unnamed parameter scheme
there's a little bug here with the rank field under the unnamed parameters scheme. If a tie ranking (e.g. "T–7") is entered, the template drops the leading "No." when it renders. See 1981 Delaware Fightin' Blue Hens football team for an example. This doesn't seem to be an issue with named parameter scheme. Can this be fixed? Thanks, Jweiss11 (talk) 04:23, 25 September 2021 (UTC)
 * Jweiss11, okay, I added that pattern [//en.wikipedia.org/w/index.php?title=Module%3ACFB_schedule&type=revision&diff=1046809642&oldid=1026372900 here]. Frietjes (talk) 14:38, 27 September 2021 (UTC)
 * Thanks again! Jweiss11 (talk) 04:23, 28 September 2021 (UTC)
 * , we have a similar issue here with the named parameter scheme. See 1943 Colorado Buffaloes football team for an example. Since the only opponent ranking in the table is a tie ranking, the poll link in the footer does not display. Can you take a look at this when you have a chance? Thanks, Jweiss11 (talk) 18:24, 24 March 2022 (UTC)
 * Jweiss11, okay, should be fixed now. Frietjes (talk) 19:19, 24 March 2022 (UTC)

Template-protected edit request on 2 April 2023
In the module for this template (Module:CFB schedule), I want to make the module use lua at the top (deleting the old customized "yesno" function at lines 18-27), and also replace the comparisons if args.[x] and (args.[x]):lower ~= 'no' then that exist at lines 741 through 822 with if yesno(args.[x], true) then.

In addition, I want to remove the return  statement within local function getdivision(y), since it is redundant (because every branch of the  statement above it has its own return statement, and said if statement has a   branch, so return  will never trigger). {&#123;Lemondoge&#124;Talk&#124;Contributions&#125;} 22:30, 2 April 2023 (UTC)


 * Are your changes in Module:CFB schedule/sandbox and has it been fully tested? There seem to be other changes in there - please confirm if you are requesting all these changes? &mdash; Martin (MSGJ · talk) 07:43, 3 April 2023 (UTC)
 * , my changes somehow broke the template, alongside awakening the demon of utterly useless error messages. {&#123;Lemondoge&#124;Talk&#124;Contributions&#125;} 00:36, 4 April 2023 (UTC)