Module talk:College color
Module:College color is permanently protected from editing because it is a heavily used or highly visible module. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit.
|
This module does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This module was considered for deletion on 2020 December 28. The result of the discussion was "no consensus". |
|
|||||||
This page has archives. Sections older than 15 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Edit request 18 October 2024
[edit]It is requested that an edit be made to the template-protected module at Module:College color. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
Reference misuse give help error across pages; suggest change.
Diff:
− | ["Nebraska Cornhuskers"] = {"D00000", "FFFFFF", "F5F1E7", name1="scarlet", name3="cream", cite="<cite class="citation book cs1">[https://licensing.unl.edu/sites/unl.edu.university-communication.licensing/files/media/file/FINAL-23-Brand-Guide.pdf#page=13 ''The Power of | + | ["Nebraska Cornhuskers"] = {"D00000", "FFFFFF", "F5F1E7", name1="scarlet", name3="cream", cite="<cite class="citation book cs1">[https://licensing.unl.edu/sites/unl.edu.university-communication.licensing/files/media/file/FINAL-23-Brand-Guide.pdf#page=13 ''The Power of Color: Nebraska Athletics Brand Guide''] <span class="cs1-format">(PDF)</span><span class="reference-accessdate">. Retrieved <span class="nowrap">June 17,</span> 2024</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=The+Power+of+Color%3A+Nebraska+Athletics+Brand+Guide&rft_id=https%3A%2F%2Flicensing.unl.edu%2Fsites%2Funl.edu.university-communication.licensing%2Ffiles%2Fmedia%2Ffile%2FFINAL-23-Brand-Guide.pdf%23page%3D13&rfr_id=info%3Asid%2Fen.wikipedia.org%3AModule+talk%3ACollege+color" class="Z3988"></span>"}, |
GreenRunner0 00:22, 18 October 2024 (UTC)
Template-protected edit request on 18 October 2024
[edit]It is requested that an edit be made to the template-protected module at Module:College color. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
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 expands to
!colspan=12 style={{NCAA color cell|Le Moyne Dolphins}}
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=background-color:#00452A !important;color:#FFFFFF !important;
to make it work. Frietjes (talk) 20:45, 21 October 2024 (UTC)!colspan=12 style="{{NCAA color cell|Le Moyne Dolphins}}"
- @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 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)
!colspan="2" style="{{NCAA color cell|Le Moyne Dolphins|color=#FCE300}}" |Minutes
- 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)
- 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)
- I think part of the problem is the additional whitespace in the style declaration. for example
- 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)
- @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
- @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)
- 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)
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 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)
!colspan="3" style="{{NCAA color cell|Le Moyne Dolphins}}" |[[Field goal (basketball)|<span style="color: #FCE300">Field-goal</span>]] shooting
- 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)
- @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
- 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, you could make a WP:BOTREQ to add quotes and once that is complete, try again. I think the confusion is that when
Template-protected edit request on 21 October 2024
[edit]This edit request to Module:College color/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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 24 October 2024
[edit]This edit request to Module:College color/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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-Class Baseball articles
- NA-importance Baseball articles
- Template-Class College baseball articles
- NA-importance College baseball articles
- College baseball articles
- WikiProject Baseball articles
- Template-Class college basketball articles
- NA-importance college basketball articles
- WikiProject College basketball articles
- Template-Class college football articles
- NA-importance college football articles
- NA-Class Ice Hockey articles
- NA-Class College Ice Hockey task force articles
- Template-Class Softball articles
- NA-importance Softball articles
- Template-Class College softball articles
- NA-importance College softball articles
- College softball articles
- WikiProject Softball articles
- Template-Class Higher education articles
- WikiProject Higher education articles
- Wikipedia template-protected edit requests