Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Format  





2 Warning  





3 Test table  














Module:Sports color/ice hockey






Cebuano
فارسی

کوردی
 

Edit links
 









Module
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected module

From Wikipedia, the free encyclopedia
 

< Module:Sports color

{{Module rating }}

This is the data module used by Module:Sports color. Please test any changes in Module:Sports color/ice hockey/sandbox first.

Format

Most lines will be of the following form

 ["TEAM NAME"] = {"HEX1", "HEX2", "HEX3", "HEX4"},

The trailing comma is very important. Here, HEX1, HEX2, HEX3, and HEX4 are hexadecimal color values.

To use the same color for more than one team name (e.g., if the team goes by more than one name, but the colors are the same), use

 ["SECONDARY TEAM NAME"] = "TEAM NAME",

where TEAM NAME has already been defined, and SECONDARY TEAM NAME is the alternative spelling, or name.

Warning

Be very careful when updating this module, as it is used in a large number of articles. Please test any changes in Module:Sports color/ice hockey/sandbox first.

Test table

Team1234Contrast
1/24/3
Anaheim Ducks20.877.59
Arizona Coyotes
Also known as Phoenix Coyotes
20.872.01
Atlanta Flames5.884.03
Atlanta Thrashers16.548.26
Boston Bruins2111.96
Boston Pride2112.06
Brooklyn Americans
Also known as New York Americans
5.881.8
Buffalo Beauts2.329.42
Buffalo Sabres11.856.84
Calgary Flames5.883.42
California Golden Seals3.332.28
Carolina Hurricanes20.873.55
Chicago Blackhawks5.633.71
Cleveland Barons5.883.55
Colorado Avalanche8.831.33
Colorado Rockies10.61.8
Columbus Blue Jackets16.542.81
Connecticut Whale (PHF)10.253.62
Dallas Stars4.934.26
Detroit Cougars4.851
Detroit Falcons4.854.33
Detroit Red Wings5.881
Edmonton Oilers15.473.38
Florida Panthers5.886.02
Hamilton Tigers20.8713.38
Hartford Whalers15.472.3
Kansas City Scouts10.61.8
Los Angeles Kings218.89
Metropolitan Riveters6.374.27
Minnesota North Stars3.872.65
Minnesota Whitecaps215.77
Minnesota Wild11.111.56
Montreal Canadiens7.52.06
Montreal Force6.173.4
Montreal Maroons10.391
Montreal Wanderers4.851
Nashville Predators1.739.55
New Jersey Devils5.893.57
New York Islanders9.343.03
New York Rangers10.61.8
Oakland Seals6.722.3
Ottawa Senators20.873.55
Ottawa Senators (original)20.873.55
PWHL Boston9.651.71
PWHL Minnesota9.8921
PWHL Montreal8.928.99
PWHL New York2.716.47
PWHL Ottawa6.2612.42
PWHL Toronto4.8420.92
Philadelphia Flyers4.624.54
Philadelphia Quakers20.874.5
Pittsburgh Penguins2112.12
Pittsburgh Pirates20.8710.39
Quebec Bulldogs10.61
Quebec Nordiques4.891.2
San Jose Sharks6.963.02
Seattle Kraken18.6411.64
St. Louis Blues11.859.55
St. Louis Eagles5.881.8
Tampa Bay Lightning15.471
Toronto Arenas
Also known as Toronto Hockey Club
11.851
Toronto Maple Leafs15.471
Toronto Six4.328.2
Toronto St. Patricks6.721
Utah Hockey Club20.878.61
Vancouver Canucks15.472.3
Vegas Golden Knights2.753.93
Washington Capitals5.882.81
Winnipeg Jets16.541.92
Winnipeg Jets (1972–1996)
Also known as Winnipeg Jets (1972-1996)
Also known as Winnipeg Jets (1972–96)
Also known as Winnipeg Jets (1972-96)
14.762.51
Free agentXX15.31
RetiredXX15.31

The numeric columns are the calculated contrast ratio for the first/second and the fourth/third colors. Anything lower than 3 is very poor contrast and should be changed in the data module. For more information, see Template:Color contrast ratio.

return {
--Current NHL--
['Anaheim Ducks'] = {"010101", "FFFFFF", "B9975B", "010101"},
['Arizona Coyotes'] = {"010101", "FFFFFF", "6F263D", "010101"},
['Boston Bruins'] = {"000000", "FFFFFF", "FDB717", "000000"},
['Buffalo Sabres'] = {"003087", "FFFFFF", "FFB81C", "003087"},
['Calgary Flames'] = {"C8102E", "FFFFFF", "F1BE48", "C8102E"},
['Carolina Hurricanes'] = {"010101", "FFFFFF", "C8102E", "010101"},
['Chicago Blackhawks'] = {"CE1126", "FFFFFF", "010101", "CE1126"},
['Colorado Avalanche'] = {"8A2432", "FFFFFF", "236093", "8A2432"},
['Columbus Blue Jackets'] = {"041E42", "FFFFFF", "C8102E", "041E42"},
['Dallas Stars'] = {"00823E", "FFFFFF", "000000", "00823E"},
['Detroit Red Wings'] = {"C8102E", "FFFFFF", "C8102E", "C8102E"},
['Edmonton Oilers'] = {"00205B", "FFFFFF", "D14520", "00205B"},
['Florida Panthers'] = {"C8102E", "FFFFFF", "041E42", "B9975B"},
['Los Angeles Kings'] = {"000000", "FFFFFF", "A2AAAD", "000000"},
['Minnesota Wild'] = {"0E4431", "FFFFFF", "AC1A2E", "0E4431"},
['Montreal Canadiens'] = {"A6192E", "FFFFFF", "001E62", "A6192E"},
['Nashville Predators'] = {"FFB81C", "FFFFFF", "041E42", "FFB81C"},
['New Jersey Devils'] = {"CC0000", "FFFFFF", "000000", "CC0000"},
['New York Islanders'] = {"00468B", "FFFFFF", "F26924", "00468B"},
['New York Rangers'] = {"0033A0", "FFFFFF", "C8102E", "0033A0"},
['Ottawa Senators'] = {"010101", "FFFFFF", "C8102E", "010101"},
['Philadelphia Flyers'] = {"D24303", "FFFFFF", "000000", "D24303"},
['Pittsburgh Penguins'] = {"000000", "FFFFFF", "FFB81C", "000000"},
['San Jose Sharks'] = {"00617F", "FFFFFF", "000000", "00617F"},
['Seattle Kraken'] = {"001425", "FFFFFF", "96D8D8", "001425"},
['St. Louis Blues'] = {"003087", "FFFFFF", "FFB81C", "041E42"},
['Tampa Bay Lightning'] = {"00205B", "FFFFFF", "00205B", "00205B"},
['Toronto Maple Leafs'] = {"00205B", "FFFFFF", "00205B", "00205B"},
['Utah Hockey Club'] = {"010101", "FFFFFF", "6CACE4", "010101"},
['Vancouver Canucks'] = {"00205B", "FFFFFF", "046A38", "00205B"},
['Vegas Golden Knights'] = {"B9975B", "FFFFFF", "333F48", "B9975B"},
['Washington Capitals'] = {"C8102E", "FFFFFF", "041E42", "C8102E"},
['Winnipeg Jets'] = {"041E42", "FFFFFF", "004A98", "041E42"},
-- Former NHL --
['Atlanta Flames'] = {"C8102E", "FFFFFF", "FFD100", "C8102E"},
['Atlanta Thrashers'] = {"041E42", "FFFFFF", "FFA300", "041E42"},
['Brooklyn Americans'] = {"C8102E", "FFFFFF", "0033A0", "C8102E"},
['California Golden Seals'] = {"009CA6", "FFFFFF", "FFD100", "009CA6"},
['Cleveland Barons'] = {"C8102E", "FFFFFF", "010101", "C8102E"},
['Colorado Rockies'] = {"0033A0", "FFFFFF", "C8102E", "0033A0"},
['Detroit Cougars'] = {"E4002B", "FFFFFF", "E4002B", "E4002B"},
['Detroit Falcons'] = {"E4002B", "FFFFFF", "000000", "E4002B"},
['Hamilton Tigers'] = {"010101", "FFFFFF", "FFC72C", "010101"},
['Hartford Whalers'] = {"00205B", "FFFFFF", "046A38", "00205B"},
['Kansas City Scouts'] = {"0033A0", "FFFFFF", "C8102E", "0033A0"},
['Minnesota North Stars'] = {"009639", "FFFFFF", "FFD100", "009639"},
['Montreal Maroons'] = {"6F263D", "FFFFFF", "6F263D", "6F263D"},
['Montreal Wanderers'] = {"E4002B", "FFFFFF", "E4002B", "E4002B"},
['New York Americans'] = "Brooklyn Americans",
['Oakland Seals'] = {"046A38", "FFFFFF", "00205B", "046A38"},
['Ottawa Senators (original)'] = {"010101", "FFFFFF", "C8102E", "010101"},
['Philadelphia Quakers'] = {"010101", "FFFFFF", "CF4520", "010101"},
['Phoenix Coyotes'] = "Arizona Coyotes",
['Pittsburgh Pirates'] = {"010101", "FFFFFF", "F2A900", "010101"},
['Quebec Bulldogs'] = {"0033A0", "FFFFFF", "0033A0", "0033A0"},
['Quebec Nordiques'] = {"0072CE", "FFFFFF", "C8102E", "0072CE"},
['St. Louis Eagles'] = {"C8102E", "FFFFFF", "0033A0", "C8102E"},
['Toronto Arenas'] = {"003087", "FFFFFF", "003087", "003087"},
['Toronto Hockey Club'] = "Toronto Arenas",
['Toronto St. Patricks'] = {"046A38", "FFFFFF", "046A38", "046A38"},
['Winnipeg Jets (1972–1996)'] = {"012169", "FFFFFF", "C8102E", "012169"},
['Winnipeg Jets (1972-1996)'] = "Winnipeg Jets (1972–1996)",
['Winnipeg Jets (1972–96)'] = "Winnipeg Jets (1972–1996)",
['Winnipeg Jets (1972-96)'] = "Winnipeg Jets (1972–1996)",
-- Premier Hockey Federation --
['Boston Pride'] = {"000000", "FFFFFF", "FDB825", "000000"},
['Buffalo Beauts'] = {"6BB1E5", "FFFFFF", "A9AFAD", "000000"},
['Connecticut Whale (PHF)'] = {"0034A7", "FFFFFF", "009C34", "FFFFFF"},
['Metropolitan Riveters'] = {"0161AB", "FFFFFF", "E3393F", "FFFFFF"},
['Minnesota Whitecaps'] = {"000000", "FFFFFF", "1C449C", "CFD0D2"},
['Montreal Force'] = {"AF3447", "FFFFFF", "000000", "AF3447"},
['Toronto Six'] = {"E4001F", "000000", "BF9D5D", "000000"},
-- Professional Women's Hockey League --
['PWHL Boston'] = {"164E36", "FFFFFF", "C3C6CC", "FFFFFF"},
['PWHL Minnesota'] = {"5A288D", "FFFFFF", "000000", "FFFFFF"},
['PWHL Montreal'] = {"651517", "E9D8B2", "363233", "E9D8B2"},
['PWHL New York'] = {"18B196", "FFFFFF", "151E38", "FFFFFF"},
['PWHL Ottawa'] = {"BC1F1E", "FFFFFF", "383334", "FFFFFF"},
['PWHL Toronto'] = {"1A75BD", "FDFFFF", "000000", "FDFFFF"},
}

Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:Sports_color/ice_hockey&oldid=1228945646"

Categories: 
Modules for general use
Sports color modules
Hidden category: 
Wikipedia extended-confirmed-protected modules
 



This page was last edited on 14 June 2024, at 01:39 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki