diff --git a/standard/links/commons/links.lua b/standard/links/commons/links.lua index b0a70b5bdc5..91704ce304e 100644 --- a/standard/links/commons/links.lua +++ b/standard/links/commons/links.lua @@ -16,6 +16,11 @@ local CustomData = Lua.requireIfExists('Module:Links/CustomData', {loadData = tr local Links = {} local PREFIXES = { + ['365chess'] = { + 'https://www.365chess.com/tournaments/', + player = 'https://www.365chess.com/players/', + match = 'https://www.365chess.com/game.php?gid=', + }, ['5ewin'] = { 'https://arena.5eplay.com/tournament/', player = 'https://arena.5eplay.com/data/player/', @@ -62,6 +67,16 @@ local PREFIXES = { '', player = 'https://challonge.com/users/', }, + chesscom = { + 'https://www.chess.com/', + player = 'https://www.chess.com/member/', + match = 'https://www.chess.com/games/view/', + }, + chessgames = { + 'https://www.chessgames.com/perl/chess.pl?tid=', + player = 'https://www.chessgames.com/perl/chessplayer?pid=', + match = 'https://www.chessgames.com/perl/chessgame?gid=', + }, chzzk = {'https://chzzk.naver.com/live/'}, civdraft = {match = 'https://aoe2cm.net/draft/'}, cntft = {'https://lol.qq.com/tft/#/masterDetail/'}, @@ -350,6 +365,11 @@ local ICON_KEYS_TO_RENAME = { } local MATCH_ICONS = { + ['365chess'] = { + icon = 'File:365chess_allmode.png', + iconDark = 'File:365chess_allmode.png', + text = '365Chess matchpage' + }, ballchasing = { icon = 'File:Ballchasing icon.png', text = 'Ballchasing replays' @@ -368,6 +388,16 @@ local MATCH_ICONS = { icon = 'File:Challengermode icon.png', text = 'Match page on Challengermode' }, + chesscom = { + icon = 'File:ChessCom_allmode.png', + iconDark = 'File:ChessCom_allmode.png', + text = 'Chess.com matchpage' + }, + chessgames = { + icon = 'File:Chessgames_allmode.png', + iconDark = 'File:Chessgames_allmode.png', + text = 'Chessgames matchpage' + }, civdraft = { text = 'Civ Draft', icon = 'File:Civ Draft Icon.png' diff --git a/standard/links/commons/links_priority_groups.lua b/standard/links/commons/links_priority_groups.lua index d0b6668739d..7d6d8689c08 100644 --- a/standard/links/commons/links_priority_groups.lua +++ b/standard/links/commons/links_priority_groups.lua @@ -13,6 +13,7 @@ return { 'website' }, league = { + '365chess', '5ewin', 'abiosgaming', 'aligulac', @@ -22,6 +23,8 @@ return { 'cfs', 'challengermode', 'challonge', + 'chesscom', + 'chessgames', 'cybergamer', 'datdota', 'dotabuff', diff --git a/stylesheets/commons/Icons.less b/stylesheets/commons/Icons.less index e9d0f91d063..a6d8e90f880 100644 --- a/stylesheets/commons/Icons.less +++ b/stylesheets/commons/Icons.less @@ -40,6 +40,7 @@ Note: When adding a new icon, please add to } } // Images + .icon-make-image( 365chess, "//liquipedia.net/commons/images/b/b5/InfoboxIcon_365Chess.png" ); .icon-make-image( 5ewin, "//liquipedia.net/commons/images/c/cf/InfoboxIcon_5Ewin.png" ); .icon-make-image( abios, "//liquipedia.net/commons/images/2/21/InfoboxIcon_Abios.png" ); .icon-make-image( afreeca, "//liquipedia.net/commons/images/7/7c/InfoboxIcon_Afreeca.png" ); @@ -63,6 +64,8 @@ Note: When adding a new icon, please add to .icon-make-image( cfs, "//liquipedia.net/commons/images/1/1e/InfoboxIcon_CFS.png" ); .icon-make-image( challengermode, "//liquipedia.net/commons/images/1/19/InfoboxIcon_Challengermode.png" ); .icon-make-image( challonge, "//liquipedia.net/commons/images/c/cd/InfoboxIcon_Challonge.png" ); + .icon-make-image( chesscom, "//liquipedia.net/commons/images/1/10/InfoboxIcon_ChessCom.png" ); + .icon-make-image( chessgames, "//liquipedia.net/commons/images/3/3a/InfoboxIcon_Chessgames.png" ); .icon-make-image( chzzk, "//liquipedia.net/commons/images/7/71/InfoboxIcon_CHZZK.png" ); .icon-make-image( cntft, "//liquipedia.net/commons/images/e/ea/InfoboxIcon_CNTFT.png" ); .icon-make-image( corestrike, "//liquipedia.net/commons/images/a/aa/InfoboxIcon_CoreStrike.png" );