Category talk:Lists of college football statistical leaders by team

improved header formatting
and others

We don't have articles for every FBS team, but many/most of these articles appear to clone a flawed implementation. Many articles are using inline formating and hard-coded colors, and not using Template:CollegePrimaryStyle or Module:College color. If anyone cares to provide some guidance on improving these table headers, I'm sure it is appreciated -and will save future cleanup work.

See USC Trojans football statistical leaders for example:

Passing yards
{| {| class="wikitable" ! style="background: #990000; color: #FFCC00" | Rank !! style="background: #990000; color: #FFCC00" | Player !! style="background: #990000; color: #FFCC00" | Yards !! style="background: #990000; color: #FFCC00" | Years
 * - valign="top"
 * - valign="top"
 * + Career

Cheers, UW Dawgs (talk) 04:55, 18 August 2016 (UTC)
 * The module colors can be included by replacing style="background: #990000; color: #FFCC00" with style="" . As long as the font color is compliant with the background, the secondary color can be used. Otherwise, another color (usually white, sometimes black) will need to be used. USC's gold with Cardinal is compliant for the most part, except the "WCAG 2 AAA Compliant" (See here). IMO, USC's should be using white font. Corkythe hornetfan  (ping me) 21:32, 18 August 2016 (UTC)
 * two things. (1) we could create a template which generates the colored headings for you, the syntax could be something like

...
 * 1||Matt Barkley||12,327|| style="font-size:80%;" |2009 2010 2011 2012
 * 1||Matt Barkley||12,327|| style="font-size:80%;" |2009 2010 2011 2012

or say
 * either works for me, but the second option is the least invasive as far as coding goes. (2) it would be great if we could replace the

{| since the col templates correctly mark the outer tables as presentation and not content for WP:ACCESIBILITY. Frietjes (talk) 22:43, 18 August 2016 (UTC)
 * - valign="top"
 * with
 * with
 * lol... Frietjes, I was thinking the exact same thing about the Col-break! In my opinion, an automatic table like option 2 would be best. Corkythe hornetfan  (ping me) 04:13, 19 August 2016 (UTC)
 * UW Dawgs, I'm not sure who's the main editor creating these articles (Mister Cake?), but should we get their opinion too? Corkythe hornetfan  (ping me) 04:14, 19 August 2016 (UTC)
 * A brief check shows Jhn31 is building/has built many of these. I do like the idea of an extensible table header template leveraging the centralized schools color, which obviously would support table formatting in any type of college athletics article. We might want to move that more generalized discussion to Template talk:CollegePrimaryStyle. UW Dawgs (talk) 23:06, 20 August 2016 (UTC)

RESOLVED
So for those interested in leveraging the centralized college colors (you should be) which will automatically pick up the school's infrequent and slight color changes done every few years re branding, here is how you can do that. See USC Trojans for example.

Inline below is the "default" header seen in many of these articles, for example if you're going to cut and paste as a starting point to creating a new article. Note the tables alternate between the school's primary and seconday colors, via: ! style="background: #990000; color: #FFCC00" | Rk !! style="background: #990000; color: #FFCC00" | Player !! style="background: #990000; color: #FFCC00" | Yards !! style="background: #990000; color: #FFCC00" | Years ... ... ! style="background: #FFCC00; color: #990000" | Rk !! style="background: #FFCC00; color: #990000" | Player !! style="background: #FFCC00; color: #990000" | Yards !! style="background: #FFCC00; color: #990000" | Year
 * 1
 * 1
 * 1
 * 1

You can swap out that format like so (be sure to replace "USC Trojans" with your school): ! style=" | Rk !! style=" | Player !! style=" | Yards !! style=" | Years ... ... ! style=" | Rk !! style=" | Player !! style=" | Yards !! style=" | Year
 * 1
 * 1
 * 1
 * 1

This will ensure the tables are always getting the current and correct shades of the Primary and Secondary colors. Hope that helps someone else, thanks to folks above! UW Dawgs (talk) 23:30, 20 August 2016 (UTC)
 * I'm cool with all of this. I'll change over the existing pages to use this more efficient code. Jhn31 (talk) 00:44, 21 August 2016 (UTC)


 * See work-in-progress Template:CollegePrimaryHeader and Template:CollegeSecondaryHeader which are awesome and can be used on any type of college athletics article! See here for as implemented at USC.
 * nicely done! When appropriate, can you note these on both Wikipedia talk:WikiProject College football and WikiProject College Basketball for broad awareness? UW Dawgs (talk) 19:47, 29 August 2016 (UTC)
 * UW Dawgs, sure, notices posted. Frietjes (talk) 19:55, 29 August 2016 (UTC)