Jump to content

Module talk:College color/Archive 7

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1Archive 5Archive 6Archive 7

Template-protected edit request on 21 October 2024

Request to add the Fullerton Hornets in the list of college colors.

["Fullerton Hornets"] = {"0F406B", "FFFFFF", "FFD600", name1="Stinger blue", name3="hornet yellow", cite=""Colors". Retrieved October 21, 2024."},

Thetreesarespeakingtome (talk) 21:30, 21 October 2024 (UTC)

 Done ~ Dissident93 (talk) 13:43, 22 October 2024 (UTC)

Template-protected edit request on 18 October 2024

Changes made to this module over the previous 16 hours are causing widespread display issues when Template:NCAA color cell, Template:CollegeSecondaryHeader and Template:CollegeSecondaryStyle are used. Text is no longer visible. For examples, please see 2023–24 Indiana Hoosiers men's basketball team, 2023–24 North Carolina Tar Heels men's basketball team and 2023–24 Le Moyne Dolphins men's basketball team. Please roll back the changes that have been made. It seems that it would have been preferable to test these changes in a sandbox first. Taxman1913 (talk) 15:35, 18 October 2024 (UTC)

@Dissident93: The changes you have made over the past two days have broken the display of multiple templates. Please undo your changes and remember to test changes you want to make in the module sandbox before making the changes to the live module.
Also pinging Frietjes as the most recent template editor before the recent disruptive edits. — Jkudlick ⚓ (talk) 21:16, 19 October 2024 (UTC)
I wasn't aware the edits, which were done to apply a fix for night mode, weren't working in other spaces as I was just using college football players to test them. The last good version is now live until all issues are addressed. ~ Dissident93 (talk) 21:53, 19 October 2024 (UTC)
@Taxman1913: all three of the pages look fine to me now after applying a fix, do they on your end? ~ Dissident93 (talk) 03:15, 20 October 2024 (UTC)
@Dissident93 and Taxman1913: The new fix looks good at 2024 Navy Midshipmen football season and several other random sports pages I viewed. I think we are good to call this edit request |answered=yes. — Jkudlick ⚓ (talk) 17:28, 21 October 2024 (UTC)
@Dissident93 and Jkudlick: It is still not working as before. At 2023–24 Le Moyne Dolphins men's basketball team#Player_statistics, the text in the table is rendering as black instead of gold. At 2023–24 Indiana Hoosiers men's basketball team#Player_statistics, the text should be white, but it is rendering as black, which provides little contrast. Taxman1913 (talk) 17:49, 21 October 2024 (UTC)
I'm really not sure what's going on here. Obviously my Lua knowledge is lacking, but all it should be doing is preventing colors from being affected when switching to night mode. I haven't had any of these other issues when doing the same to other color modules. @Frietjes: could you take a look at this? ~ Dissident93 (talk) 19:22, 21 October 2024 (UTC)
I think part of the problem is the additional whitespace in the style declaration. for example
!colspan=12 style={{NCAA color cell|Le Moyne Dolphins}}
expands to
!colspan=12 style=background-color:#00452A !important;color:#FFFFFF !important;
which has no quotes around the style statement. it was probably working before because there was no whitespace there. so, if you want to make that work, you will need to make sure that all uses have quotes around the call. in other words, you need to change these to
!colspan=12 style="{{NCAA color cell|Le Moyne Dolphins}}"
to make it work. Frietjes (talk) 20:45, 21 October 2024 (UTC)
@Frietjes: I just tested adding quotes to the style statement. The text now renders as white (previously black) instead of gold. The wikilinked words in the top row were made gold along the spans to match the color used in the other cells. Template:NCAA color cell is no longer finding the secondary color. I'm not sure why the quotes change the text from black to white, but they did not become gold. Taxman1913 (talk) 20:59, 21 October 2024 (UTC)
@Frietjes: I just added quotes to the style statement for the top row of both tables at 2023–24 Le Moyne Dolphins men's basketball team#Awards_and_honors. Before adding the quotes, the text was being rendered as black. It was ignoring the color parameter being given. Now, the text renders as white, as it did before changes were made to the module. It would appear the template is now recognizing the text color as white as requested in the parameter. However, when I changed 2023–24 Le Moyne Dolphins men's basketball team#Player_statistics to
!colspan="2" style="{{NCAA color cell|Le Moyne Dolphins|color=#FCE300}}" |Minutes
I also got white text, not gold as the parameter specified. So, no matter which color is entered in the parameter, adding quotes to the style statement now produces white text. I also tried it with "purple" instead of #FCE300. I still got white text. I also get white text with FCE300 (without the hashtag). Taxman1913 (talk) 21:20, 21 October 2024 (UTC)
Taxman1913, looking at the documentation for {{NCAA color cell}}, I don't see an option for overriding the font color. I do see this for {{CollegePrimaryStyle}} and {{CollegeSecondaryStyle}}, but not for {{NCAA color cell}}? Frietjes (talk) 22:15, 21 October 2024 (UTC)
@Frietjes: I didn't check that before I tried it. I was just throwing spaghetti at the wall to see whether it would stick, based on the experience I had with the other template. I was hoping to identify a pattern that might be helpful. Taxman1913 (talk) 04:15, 22 October 2024 (UTC)
in any case, I did an insource search and found 5500 articles without the quotes, so potentially a lot of pages are broken right now. Frietjes (talk) 23:05, 21 October 2024 (UTC)

Should we just revert to the version before I attempted dark mode fixes? If I had known it would be this disruptive I probably wouldn't have bothered. ~ Dissident93 (talk) 23:16, 21 October 2024 (UTC)

I've gone ahead and did that until the issues can be addressed. I've had none of these issues on other color modules; this one is just made more complex by having font colors using auto contrast that clearly I did not fix correctly and might have to be implemented in another way. ~ Dissident93 (talk) 13:37, 22 October 2024 (UTC)
Dissident93, you could make a WP:BOTREQ to add quotes and once that is complete, try again. I think the confusion is that when |titlestyle= is a template parameter, no quotes, but when it is inline css, you need quotes. omitting the quotes only works if there are no spaces. so, if there were a way to have no whitespace before the !important it would have probably worked. of course, we could have the template add the quotes, but that could create double quotes in some cases, which would probably break things. so, making a long story longer, a WP:BOTREQ to add quotes to all the transclusions without quotes is probably the way to go. Frietjes (talk) 14:19, 22 October 2024 (UTC)
Was that the only issue remaining? Everytime I signed back on it seemed like 3 other templates were found to be broken. ~ Dissident93 (talk) 18:30, 22 October 2024 (UTC)
@Dissident93 and Jkudlick: The secondary colors are still not being found by the templates. At 2023–24 Le Moyne Dolphins men's basketball team#Player_statistics, the text color in the column headings no longer matches. The wikilinked words in the heading were colored to match the text in the rest of the heading at the time the table was created, which was the secondary color. See
!colspan="3" style="{{NCAA color cell|Le Moyne Dolphins}}" |[[Field goal (basketball)|<span style="color: #FCE300">Field-goal</span>]] shooting
The term "Field-goal" was colored #FCE300, Le Moyne's secondary color, to render as gold (instead of blue, which did not provide sufficient contrast), the same as "shooting" rendered using {{NCAA color cell}}, when the table was created. With the quotes in the style statement, "shooting" renders as white, ignoring the secondary color. The changes made to the module that have caused the secondary color to be ignored must be further back than the changes that have recently been reversed. Taxman1913 (talk) 17:21, 23 October 2024 (UTC)
The module feels like it should just be entirely recoded to be more like other sports color modules, which doesn't have any of these issues. ~ Dissident93 (talk) 21:40, 23 October 2024 (UTC)

Template-protected edit request on 24 October 2024

Please add the following RSEQ team:

["UQAC Inuk"] = {"6B8915", "FFFFFF", "13100D", name1="green", name3="black", cite="{{cite web|url=https://www.uqac.ca/inuk/wp-content/uploads/2023/08/CouleursOfficielles.pdf |title=Couleurs Officielles |publisher=[[Université du Québec à Chicoutimi]] |language=French |access-date=October 24, 2024}}"},

Cmm3 (talk) 14:42, 24 October 2024 (UTC)

 Done ~ Dissident93 (talk) 23:36, 24 October 2024 (UTC)

Template-protected edit request on 25 September 2024

Change the following lines:

["Waterloo Warriors"] = {"000000", "FFEA3D", "FFFFFF", name1="black", name2="gold", name2="white", cite=""University of Waterloo - Brand - Colour". Retrieved July 25, 2023."},

to

["Waterloo Warriors"] = {"000000", "FFFFFF", "FED34C", name1="black", name2="white", name3="gold", cite=""Colour | Brand | University of Waterloo". Retrieved September 25, 2024."},

The lines have been added to the sandbox. PensRule11385 (talk) 22:23, 25 September 2024 (UTC)

@PensRule11385 Do you have a source for gold being the tertiary color instead of the secondary? The source you linked to lists Gold, Black, White in that order. --Ahecht (TALKPAGE) 16:07, 27 September 2024 (UTC)
Now that you mention it, yes. I'll fix that in the sandbox. The line now reads: ["Waterloo Warriors"] = {"000000", "FFFFFF", "FED34C", name3="gold", name1="black", name2="white", cite=""Colour | Brand | University of Waterloo". Retrieved September 25, 2024."}, PensRule11385 (talk) 18:41, 27 September 2024 (UTC)
@PensRule11385 Moving "name3" to the front doesn't actually change anything. If you wanted gold to be the primary color, it would be ["Waterloo Warriors"] = {"FED34C", "000000", "FFFFFF", name1="gold", name2="black", name3="white", cite="{{cite web |title=Colour {{!}} Brand {{!}} University of Waterloo |url=https://uwaterloo.ca/brand/how-express-our-brand/colour#unipalette |accessdate=September 25, 2024}}"} --Ahecht (TALK
PAGE
)
19:44, 27 September 2024 (UTC)
@Ahecht I know, however, yellow and white are too close to one another in contrast and can't be arranged in this way if all three are to be used in the college primary template. Additionally, Waterloo uses black as the primary color for their athletic teams, which you can see on the official website link — Preceding unsigned comment added by PensRule11385 (talkcontribs) 19:58, 27 September 2024 (UTC)
@PensRule11385 Okay, but I'm still not seeing a good reason to switch gold to the tertiary color instead of it's current placement as the secondary color. --Ahecht (TALK
PAGE
)
18:56, 17 October 2024 (UTC)
@Ahecht It's because Waterloo lists all three (gold, black and white) as school colors. As the text for the templates on wikipedia use the second color, it would need to be either white or black to guard against problems with contrast or colorblindness. However, white does not work as a third color because it will not show up in the templates (the primary/secondary college color borders will not appear) normally, this is not an issue, because when schools list more than two colors as being 'official' the third will not be in the template anyway and white or black is only the default text color. In this case, however, I'm not sure if that's appropriate; Waterloo lists gold, black and white as school colors in that order I don't think that's the order for the athletic teams. The Warriors fight song has a different arrangement (“The Black and White and Gold”) as can be seen on the program's page but I don't know if that's official or just stylistic. Other cases where black takes precedence can also be found such as the 'black and gold pass'[1] and the 'black and gold day'[2] so I'm not sure whether or not the order is vital. PensRule11385 (talk) 19:42, 17 October 2024 (UTC)
This request has been idle contested for more than a month (and long enough to get bot-archived), with no template editor willing to take action on it, so I'm marking it as declined for lack of consensus. * Pppery * it has begun... 02:22, 4 November 2024 (UTC)

References

  1. ^ "Black and Gold Alumni Pass". University of Waterloo. Retrieved October 17, 2024.
  2. ^ "University of Waterloo Warriors Black and Gold Day". YouTube. Retrieved October 17, 2024.