Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:CollegePrimaryStyle

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 2 months ago by Paine Ellsworth in topic Template-protected edit request on 19 May 2026

Text on a lot of pages is now black

[edit]

It seems a recent change to the CollegePrimaryStyle has caused the text on old pages that used it to become black and it usually illegible APocketJoker (talk) 23:28, 13 April 2026 (UTC)Reply

Template-protected edit request on 19 May 2026

[edit]

I don't know anything about the syntax of the coding, however I do know that the text color is BLACK for all cells using this template, to the contrary of the description page which says it defaults to the school's secondary color as described in the large matrix. Some change recently caused all text to be black instead, which makes it illegible in most cases. Please revert to how this was previously, thank you. Garrettcarrot12 (talk) 16:46, 19 May 2026 (UTC)Reply

To editor Garrettcarrot12: I have undone an edit to the [module] that was made in April by editor Dissident93. Please let me know whether or not this corrected the problem you described. P.I. Ellsworth, ed.  welcome!  17:03, 19 May 2026 (UTC)Reply
That edit was only supposed to keep colors from being hidden while in dark mode. Nobody else has apparently brought up an issue with it in the last two months, so where is this problem occurring? — Dissident93 (talk) 17:18, 19 May 2026 (UTC)Reply
I noticed it in every College Baseball all-tournament team as an example. I think @APocketJoker pointed it out on the talk page as well on April 13. Garrettcarrot12 (talk) 17:41, 19 May 2026 (UTC)Reply
Which page exactly? NCAA Division I baseball tournament or 2025 NCAA Division I baseball tournament? — Dissident93 (talk) 18:07, 19 May 2026 (UTC)Reply
Every single year of the NCAA baseball tournament, before the change was reverted Garrettcarrot12 (talk) 18:16, 19 May 2026 (UTC)Reply
Please link to an exact example and say where exactly in the article it can be found. P.I. Ellsworth, ed.  welcome!  18:41, 19 May 2026 (UTC)Reply
Find here, under the "all tournament team" section in any of the following pages:2025 NCAA Division I baseball tournament, 2024 NCAA Division I baseball tournament, 2023 NCAA Division I baseball tournament, 2022 NCAA Division I baseball tournament, 2021 NCAA Division I baseball tournament and so on.
Keep in mind that it looks right now, but that's after the reverted edit. Before that it did not look correct. Garrettcarrot12 (talk) 04:10, 21 May 2026 (UTC)Reply
Thank you very much, editor Garrettcarrot12! This template's sandbox calls the module's sandbox, which still holds editor Dissident93's code. This template's sandbox was tested in preview mode at 2023 NCAA Division I baseball tournament#All-Tournament Team, and the "LSU" text letters did indeed change from gold to black, which made them illegible against their backgrounds. This is evidence that the edits made by editor Dissident93 were correctly reverted in the live module. Editor Dissident93, your edit summary, "another dark mode fix attempt", would indicate that you might want to try something else. Perhaps this template's usage in this baseball tournament page and section might help you troubleshoot? (in preview mode, of course, or perhaps in a sandbox) P.I. Ellsworth, ed.  welcome!  05:53, 21 May 2026 (UTC)Reply

@Garrettcarrot12: Is it fixed now? — Dissident93 (talk) 23:46, 22 May 2026 (UTC)Reply

To editor Dissident93: it's curious that you didn't use the module sandbox to check this before making "test" edits to the live module, which is used on 137,000 pages. You could have then tested your edits at 2023 NCAA Division I baseball tournament#All-Tournament Team. As it is now, that page and section look okay, yes, and I looked at other pages editor Garrettcarrot12 suggested – looks good there as well. In the future won't you please use the sandbox to test edits for high-use templates like this? P.I. Ellsworth, ed.  welcome!  02:32, 23 May 2026 (UTC)Reply
I could never get the sandbox working for modules, what am I doing wrong? — Dissident93 (talk) 16:09, 26 May 2026 (UTC)Reply
Articles call templates, so when a template calls a module, then you have to make sure that the template's sandbox calls the module's sandbox. Then you can make changes to the module sandbox and use the template sandbox to check your edits in the article. Just make sure you don't save the template sandbox on the article page, just check your edits in "preview". In many cases the template's test cases page can also be a big help. In a case like this, when you're not sure whether your edits are getting the job done, you can copy the table code from the article over to your user sandbox (where you can actually save the template sandbox) and check your module edits. That's usually the easiest way when several experimental edits are needed. Hope this helps! P.I. Ellsworth, ed.  welcome!  22:41, 26 May 2026 (UTC)Reply