Template talk:CFB schedule

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.

Rankyear param not working on older dates[edit]

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)[reply]

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)[reply]
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[edit]

@Frietjes: 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)[reply]

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)[reply]
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)[reply]

Games with their own articles appear with gray backgrounds instead of green/red/orange[edit]

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.

DateTimeOpponentRankSiteTVResultAttendance
November 911:00 a.m.at TennesseeNo. 9ESPNW 55–23102,455
November 162:30 p.m.No. 25 GeorgiaNo. 7
CBSW 43–3887,451
November 302:30 p.m.No. 1 AlabamaNo. 4
  • Jordan–Hare Stadium
  • Auburn, Alabama (Iron Bowl)
CBSW 34–2887,451
December 73:00 p.m.vs. No. 5 MissouriNo. 3CBSW 59–4275,632
January 6, 20147:30 p.m.vs. No. 1 Florida State*No. 2ESPNL 31–3494,208
  • *Non-conference game
  • Rankings from AP Poll released prior to the game
  • All times are in Central time


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

Non-breaking spaces[edit]

@Frietjes: Could the script be modified such that there are only non-breaking spaces for each field, either with {{nowrap}} 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)[reply]

Benhen1997, okay. will see if this causes any new problems ... Frietjes (talk) 20:22, 30 May 2019 (UTC)[reply]

Template-protected edit request on 24 November 2019[edit]

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 [1] Thank You. RaEdits (talk) 11:13, 24 November 2019 (UTC)[reply]

 Not done: this is the talk page for discussing improvements to the template {{CFB schedule}}. Please make your request at the talk page for the article concerned. – Jonesey95 (talk) 14:37, 24 November 2019 (UTC)[reply]

References

ncg, hc tags[edit]

Is there a way to implement a different syntax for the <ncg> and <hc> 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. kennethaw88talk 05:00, 21 December 2019 (UTC)[reply]

kennethaw88, sure, this works now. or, if you have a suggestion for alternative syntax, we can implement that as well. a simple 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)[reply]
Awesome, thanks. kennethaw88talk 22:06, 21 December 2019 (UTC)[reply]

Nomination for deletion of Module:CFB schedule/convert[edit]

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)[reply]

Conversion process for unnamed parameters to named parameters[edit]

@Frietjes: 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)[reply]

Jweiss11, if you look at the code for Module:CFB schedule you will see a 'subst' function that calls convert_table. if I recall, that path does exactly what you are asking. you just change {{CFB schedule to {{subst:#invoke:CFB schedule|subst 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)[reply]
@Frietjes: 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)[reply]
Jweiss11, the No. No. should be fixed. I will look at the gamename issue later today. Frietjes (talk) 19:59, 10 September 2020 (UTC)[reply]
Jweiss11, and the parameter order should be fixed as well. Frietjes (talk) 21:33, 10 September 2020 (UTC)[reply]

State abbreviations[edit]

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 {{abbr}} template), but it is not necessary to push abbreviation in this documentation. Chris the speller yack 14:11, 13 May 2020 (UTC)[reply]

Chris the speller, 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)[reply]
 Done. 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)[reply]

Forfeited games vs vacated games vs COVID No Contests[edit]

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)[reply]

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)[reply]

Handling of gamename = rivalry[edit]

@Frietjes:

We have a long-standing problem with unsourced "rivalry" articles. When these go through AfD with Delete outcome, admins use Wikipedia: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 gamename = [[NC State–South Carolina football rivalry|rivalry]] to | gamename = rivalry so the schedule table then rendered a plain text string of "rivalry".[1]

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.

If you coded a link requirement into gamename = [[* 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)[reply]

UW Dawgs, 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)[reply]
@UW Dawgs and Jweiss11:, 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)[reply]
Frietjes, 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)[reply]
Jweiss11, yes. I suppose if we are going to actually remove the text, we should just filter out known cases like unlinked (rivalry)? Frietjes (talk) 20:19, 1 June 2021 (UTC)[reply]
Yes, an unlinked (rivalry) 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. Wikipedia: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)[reply]

Issue with tie rankings in unnamed parameter scheme[edit]

@Frietjes: 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)[reply]

Jweiss11, okay, I added that pattern here. Frietjes (talk) 14:38, 27 September 2021 (UTC)[reply]
Thanks again! Jweiss11 (talk) 04:23, 28 September 2021 (UTC)[reply]
Frietjes, 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)[reply]
Jweiss11, okay, should be fixed now. Frietjes (talk) 19:19, 24 March 2022 (UTC)[reply]

Template-protected edit request on 2 April 2023[edit]

In the module for this template (Module:CFB schedule), I want to make the module use local yesno = require('Module:Yesno') 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 if statement above it has its own return statement, and said if statement has a else branch, so return '' will never trigger). {{Lemondoge|Talk|Contributions}} 22:30, 2 April 2023 (UTC)[reply]

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? — Martin (MSGJ · talk) 07:43, 3 April 2023 (UTC)[reply]
 ...nevermind, my changes somehow broke the template, alongside awakening the demon of utterly useless error messages. {{Lemondoge|Talk|Contributions}} 00:36, 4 April 2023 (UTC)[reply]