モジュール:External links/conf/Sports

出典: フリー百科事典『ウィキペディア(Wikipedia)』
Jump to navigation Jump to search
モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]

スポーツ関係者の外部リンクでウィキデータに一元管理登録されているものを手動入力分とは別個に自動表示するためのモジュールです。

使用法[編集]

{{#invoke:External links/conf|機能名}}

関連項目[編集]

local configured_claims = {}

local function commons_formatter(id)
	return "https://commons.wikimedia.org/wiki/Category:" .. id:gsub(" ", "_")
end

configured_claims['ja'] = {

	{ prop='P373',  message="[$2 ''$1''] – pictures, videos or audio at [[ウィキメディア・コモンズ|Wikimedia Commons]]$3", short="[$2 Wikimedia Commons]", langcode='en', url_f=commons_formatter },

-- Olympics / Paralympics

	-- International
	{ prop='P3171', message='[$2 $1] - [[国際オリンピック委員会]]$3', short='[$2 International Olympic Committee]', langcode='en' },
	{ prop='P4397', message='[$2 $1] - [[国際パラリンピック委員会]]$3', short='[$2 International Paralympic Committee]', langcode='en' },

	-- National
	{ prop='P2323', message='[$2 $1] - スウェーデンオリンピック委員会$3', short='[$2 Swedish Olympic Committee]', langcode='sv' },
	{ prop='P2593', message='[$2 $1] - ラトビアオリンピック委員会$3', short='[$2 Latvian Olympic Committee]', langcode='lv' },
	{ prop='P3682', message='[$2 $1] - [[オーストラリアオリンピック委員会]]$3', short='[$2 Australian Olympic Committee]', langcode='en' },
	{ prop='P4050', message='[$2 $1] - フランスオリンピック委員会$3', short='[$2 French Olympic Committee]', langcode='fr' },
	{ prop='P4053', message='[$2 $1] - ドイツオリンピック委員会$3', short='[$2 German Olympic Committee]', langcode='de' },
	{ prop='P4054', message='[$2 $1] - カナダオリンピック委員会$3', short='[$2 Canadian Olympic Committee]', langcode='en' },
	{ prop='P4056', message='[$2 $1] - ニュージーランドオリンピック委員会$3', short='[$2 New Zealand Olympic Committee]', langcode='en' },
	{ prop='P4060', message='[$2 $1] - ブラジルオリンピック委員会$3', short='[$2 Brazilian Olympic Committee]', langcode='pt' },
	{ prop='P4061', message='[$2 $1] - リトアニアオリンピック委員会$3', short='[$2 Lithuanian Olympic Committee]', langcode='lt' },
	{ prop='P4062', message='[$2 $1] - チェコオリンピック委員会$3', short='[$2 Czech Olympic Committee]', langcode='cs' },
	{ prop='P4063', message='[$2 $1] - [[アメリカオリンピック委員会]]$3', short='[$2 United States Olympic Committee]', langcode='en' },
	{ prop='P4065', message='[$2 $1] - アルゼンチンオリンピック委員会$3', short='[$2 Argentine Olympic Committee]', langcode='es' },
	{ prop='P4066', message='[$2 $1] - ハンガリーオリンピック委員会$3', short='[$2 Hungarian Olympic Committee]', langcode='hu' },
	{ prop='P4067', message='[$2 $1] - ルーマニアオリンピック委員会$3', short='[$2 Romanian Olympic Committee]', langcode='ro' },
	{ prop='P4068', message='[$2 $1] - [[中国オリンピック委員会]]$3', short='[$2 Chinese Olympic Committee]', langcode='en' }, -- Wikidata formatter URL is for English language web page
	{ prop='P4069', message='[$2 $1] - イタリアオリンピック委員会$3', short='[$2 Italian Olympic Committee]', langcode='it' },
	-- P4489 is Hellenic (Greece) Olympic Committee, did not add link because website is currently unsafe/infected
	{ prop='P4490', message='[$2 $1] - [[イギリスオリンピック委員会]]$3', short='[$2 British Olympic Association]', langcode='en' },
	{ prop='P4541', message='[$2 $1] - クロアチアオリンピック委員会$3', short='[$2 Croatian Olympic Committee]', langcode='hr' },
	{ prop='P4547', message='[$2 $1] - セルビアオリンピック委員会$3', short='[$2 Serbian Olympic Committee]', langcode='sr' },
	{ prop='P4593', message='[$2 $1] - スペインオリンピック委員会$3', short='[$2 Spanish Paralympic Committee]', langcode='es' },

	-- Other
	{ prop='P1447', message='[$2 $1] - [[Sports Reference]] (Olympic results)$3', short='[$2 Sports Reference (Olympic results)]', langcode='en' },
	-- removed dead link: { prop='P3520', message='[$2 $1] - databaseOlympics.com$3', short='[$2 databaseOlympics.com]', langcode='en' },

-- Archery

	{ prop='P3010', message='[$2 $1] - [[世界アーチェリー連盟]]$3', short='[$2 World Archery]', langcode='en' },

-- Athletics (track and field)

	{ prop='P1146', message='[$2 $1] - [[国際陸上競技連盟]]$3', short='[$2 IAAF]', langcode='en' },
	{ prop='P3766', message='[$2 $1] - [[ヨーロッパ陸上競技連盟]]$3', short='[$2 European Athletic Association]', langcode='en' },
	{ prop='P5073', message='[$2 $1] - [[日本陸上競技連盟]]$3', short='[$2 JAAF]' },
	{ prop='P3767', message='[$2 $1] - French Athletics Federation$3', short='[$2 French Athletics Federation]', langcode='fr' },
	{ prop='P3446', message='[$2 $1] - Italian Athletics Federation$3', short='[$2 Italian Athletics Federation]', langcode='it' },
	{ prop='P2162', message='[$2 $1] - German Ultramarathon Association$3', short='[$2 German Ultramarathon Association]', langcode='en' },
	{ prop='P2090', message='[$2 $1] - ThePowerOf10.info$3', short='[$2 ThePowerOf10.info]', langcode='en' },
	{ prop='P3915', message='[$2 $1] - Athletics Australia$3', short='[$2 Athletics Australia]', langcode='en' },
	{ prop='P3923', message='[$2 $1] - [[IAAFダイヤモンドリーグ]]$3', short='[$2 IAAF Diamond League]', langcode='en' },
	{ prop='P3881', message='[$2 $1] - National Track and Field Hall of Fame$3', short='[$2 National Track and Field Hall of Fame]', langcode='en' },
	{ prop='P3926', message='[$2 $1] - USA Track & Field$3', short='[$2 USA Track & Field]', langcode='en' },
	{ prop='P3924', message='[$2 $1] - TrackField.brinkster.net$3', short='[$2 TrackField.brinkster.net]', langcode='en' }, -- female
	{ prop='P3925', message='[$2 $1] - TrackField.brinkster.net$3', short='[$2 TrackField.brinkster.net]', langcode='en' }, -- male

-- Badminton

	{ prop='P2729', message='[$2 $1] - [[世界バドミントン連盟|BWF.tournamentsoftware.com]]$3', short='[$2 BWF.tournamentsoftware.com]', langcode='en' },
	{ prop='P3620', message='[$2 $1] - [[世界バドミントン連盟|BWFbadminton.com]]$3', short='[$2 BWFbadminton.com]', langcode='en' },
	{ prop='P3623', message='[$2 $1] - BadmintonLink.com$3', short='[$2 BadmintonLink.com]', langcode='en' },

-- Baseball

	{ prop='P3541', message='[$2 $1] - [[メジャーリーグベースボール|MLB]]$3', short='[$2 MLB]', langcode='en' },
	{ prop='P4260', message='[$2 $1] - [[日本野球機構|NPB]]$3', short='[$2 NPB]' },
	{ prop='P1825', message='[$2 $1] - Baseball-Reference.com (major league)$3', short='[$2 Baseball-Reference.com (major league)]', langcode='en' },
	{ prop='P1826', message='[$2 $1] - Baseball-Reference.com (Register)$3', short='[$2 Baseball-Reference.com (minor league)]', langcode='en' },
	{ prop='P3571', message='[$2 $1] - [[ESPN]] (MLB)$3', short='[$2 ESPN (MLB)]', langcode='en' },
	{ prop='P2482', message='[$2 $1] - [[アメリカ野球学会|SABR]]$3', short='[$2 SABR]', langcode='en' },
	{ prop='P3574', message='[$2 $1] - [[FanGraphs|FanGraphs.com]]$3', short='[$2 FanGraphs.com]', langcode='en' },
	{ prop='P4731', message='[$2 $1] - TheBaseballCube.com$3', short='[$2 TheBaseballCube.com]', langcode='en' },

-- Basketball

	{ prop='P3542', message='[$2 $1] - [[国際バスケットボール連盟|FIBA]]$3', short='[$2 FIBA]', langcode='en' },
	{ prop='P3536', message='[$2 $1] - [[ユーロリーグ]]$3', short='[$2 EuroLeague]', langcode='en' },
	{ prop='P3527', message='[$2 $1] - Eurobasket.com$3', short='[$2 Eurobasket.com]', langcode='en' },
	{ prop='P3525', message='[$2 $1] - ACB.com$3', short='[$2 ACB.com]', langcode='en' },
	{ prop='P3533', message='[$2 $1] - DraftExpress.com$3', short='[$2 DraftExpress.com]', langcode='en' },

-- Biathlon

	{ prop='P2459', message='[$2 $1] - [[国際バイアスロン連合|IBU]]$3', short='[$2 IBU]', langcode='en' },

-- Billiards / snooker

	{ prop='P3531', message='[$2 $1] - AZBilliards.com$3', short='[$2 AZBilliards.com]', langcode='en' },
	{ prop='P3830', message='[$2 $1] - CueTracker.net$3', short='[$2 CueTracker.net]', langcode='en' },

-- Bobsleigh, Skeleton, Luge

	{ prop='P2991', message='[$2 $1] - [[国際ボブスレー・トボガニング連盟|IBSF]]$3', short='[$2 IBSF]', langcode='en' },
	{ prop='P2990', message='[$2 $1] - [[国際リュージュ連盟|FIL]]$3', short='[$2 FIL]', langcode='en' },

-- Boxing

	{ prop='P1967', message='[$2 $1] - [[Boxrec.com|BoxRec]]$3', short='[$2 BoxRec]', langcode='en' },
	{ prop='P4474', message='[$2 $1] - [[国際ボクシング名誉の殿堂博物館|IBHOF]]$3', short='[$2 IBHOF]', langcode='en' },

-- Canoe / kayak

	{ prop='P3689', message='[$2 $1] - [[国際カヌー連盟|ICF]]$3', short='[$2 ICF]', langcode='en' },

-- Chess

	{ prop='P1440', message='[$2 $1] - [[国際チェス連盟]]$3', short='[$2 FIDE]', langcode='en' },
	{ prop='P3558', message='[$2 $1] - [[アメリカ合衆国チェス連盟]]$3', short='[$2 US Chess Federation]', langcode='en' },
	{ prop='P1665', message='[$2 $1] - Chessgames.com$3', short='[$2 Chessgames.com]', langcode='en' },	
	{ prop='P3940', message='[$2 $1] - OlimpBase.org$3', short='[$2 OlimpBase.org]', langcode='en' },	

-- Climbing

	{ prop='P3690', message='[$2 $1] - [[国際スポーツクライミング連盟]]$3', short='[$2 IFSC]', langcode='en' },

-- Cricket

	{ prop='P2697', message='[$2 $1] - ESPNcricinfo$3', short='[$2 ESPNcricinfo]', langcode='en' }, -- player
	{ prop='P3572', message='[$2 $1] - ESPNcricinfo$3', short='[$2 ESPNcricinfo]', langcode='en' }, -- playing ground
	{ prop='P3526', message='[$2 $1] - Wisden India$3', short='[$2 Wisden India]', langcode='en' },

-- Curling

	{ prop='P3557', message='[$2 $1] - [[世界カーリング連盟]]$3', short='[$2 World Curling Federation]', langcode='en' },
	{ prop='P3556', message='[$2 $1] - 世界カーリングツアー$3', short='[$2 World Curling Tour]', langcode='en' },

-- Cycling

	{ prop='P1409', message='[$2 $1] - Cycling Archives$3', short='[$2 Cycling Archives]', langcode='en' },
	{ prop='P1541', message='[$2 $1] - Cycling Quotient$3', short='[$2 Cycling Quotient]', langcode='en' }, -- male cyclist
	{ prop='P2709', message='[$2 $1] - Cycling Quotient$3', short='[$2 Cycling Quotient]', langcode='en' }, -- female cyclist
	{ prop='P1664', message='[$2 $1] - CyclingDatabase.com$3', short='[$2 CyclingDatabase.com]', langcode='en' },
	{ prop='P1663', message='[$2 $1] - ProCyclingStats$3', short='[$2 ProCyclingStats]', langcode='en' }, -- cyclist
	{ prop='P2327', message='[$2 $1] - ProCyclingStats$3', short='[$2 ProCyclingStats]', langcode='en' }, -- race

-- Darts

	{ prop='P3621', message='[$2 $1] - DartsDatabase.co.uk$3', short='[$2 DartsDatabase.co.uk]', langcode='en' },

-- Diving

	{ prop='P2780', message='[$2 $1] - Institute for Applied Training Science (IAT)$3', short='[$2 IAT]', langcode='de' }, -- diving

-- Equestrian

	{ prop='P3111', message='[$2 $1] - [[国際馬術連盟|FEI]]$3', short='[$2 FEI]', langcode='en' },

-- Fencing

	{ prop='P2423', message="[$2 $1] - [[国際フェンシング連盟|FIE]]$3", short='[$2 FIE]', langcode='en' },
	{ prop='P4475', message="[$2 $1] - European Fencing Confederation$3", short='[$2 European Fencing Confederation]', langcode='en' },

-- Field hockey

	{ prop='P3742', message='[$2 $1] - [[国際ホッケー連盟|FIH]]$3', short='[$2 FIH]', langcode='en' },

-- Figure skating

	{ prop='P2694', message='[$2 $1] - [[国際スケート連盟|ISU]]$3', short='[$2 ISU]', langcode='en' },

-- Football (American, Canadian, gridiron)

	{ prop='P3539', message='[$2 $1] - [[NFL]]$3', short='[$2 NFL]', langcode='en' },
	{ prop='P3686', message='[$2 $1] - [[ESPN]] (NFL)$3', short='[$2 ESPN (NFL)]', langcode='en' },
	{ prop='P3561', message='[$2 $1] - Pro-Football-Reference.com$3', short='[$2 Pro-Football-Reference.com]', langcode='en' },
	{ prop='P3566', message='[$2 $1] - JustSportsStats.com$3', short='[$2 JustSportsStats.com]', langcode='en' },
	{ prop='P3560', message='[$2 $1] - College Football Data Warehouse$3', short='[$2 College Football Data Warehouse]', langcode='en' },

-- Football (association football, soccer)

	{ prop='P1469', message='[$2 $1] - [[国際サッカー連盟|FIFA]]$3', short='[$2 FIFA]', langcode='en' },
	{ prop='P2276', message='[$2 $1] - [[欧州サッカー連盟|UEFA]]$3', short='[$2 UEFA]', langcode='en' },
	{ prop='P2823', message='[$2 $1] - [[ベルギーサッカー協会]]$3', short='[$2 Belgian Football Association]', langcode='en' },
	{ prop='P3659', message='[$2 $1] - [[エストニアサッカー協会]]$3', short='[$2 Estonian Football Association]', langcode='en' },
	{ prop='P3748', message='[$2 $1] - [[イスラエルサッカー協会]]$3', short='[$2 Israel Football Association]', langcode='en' },
	{ prop='P3577', message='[$2 $1] - [[クロアチアサッカー連盟]]$3', short='[$2 Croatian Football Federation]', langcode='hr' },
	{ prop='P3049', message='[$2 $1] - [[スコットランドサッカー協会]]$3', short='[$2 Scottish Football Association]', langcode='en' },
	{ prop='P1238', message='[$2 $1] - [[スウェーデンサッカー協会]]$3', short='[$2 Swedish Football Association]', langcode='sv' },
	{ prop='P3050', message='[$2 $1] - [[チェコサッカー協会]]$3', short='[$2 Football Association of the Czech Republic]', langcode='en' },
	{ prop='P2448', message='[$2 $1] - [[トルコサッカー連盟]] (player)$3', short='[$2 Turkish Football Federation]', langcode='en' },
	{ prop='P2449', message='[$2 $1] - [[トルコサッカー連盟]] (manager)$3', short='[$2 Turkish Football Federation]', langcode='en' },
	{ prop='P3662', message='[$2 $1] - [[ウクライナサッカー連盟]]$3', short='[$2 Football Federation of Ukraine]', langcode='en' },
	{ prop='P3683', message='[$2 $1] - Ligue de Football Professionnel$3', short='[$2 Ligue de Football Professionnel]', langcode='fr' },
	{ prop='P3565', message='[$2 $1] - [[日本プロサッカーリーグ]]$3', short='[$2 J.League]', langcode='jp' },
	{ prop='P3053', message='[$2 $1] - |K League$3', short='[$2 K League]', langcode='en' },
	{ prop='P2398', message='[$2 $1] - [[メジャーリーグサッカー]]$3', short='[$2 Major League Soccer]', langcode='en' },
	{ prop='P3665', message="[$2 $1] - [[レキップ]]$3", short="[$2 L'Équipe]", langcode='fr' },
	-- removed dead link: { prop='P3532', message='[$2 $1] - databaseFootball.com$3', short='[$2 databaseFootball.com]', langcode='en' },
	{ prop='P2446', message='[$2 $1] - Transfermarkt (player)$3', short='[$2 Transfermarkt (player)]', langcode='en' },
	{ prop='P2447', message='[$2 $1] - Transfermarkt (manager)$3', short='[$2 Transfermarkt (manager)]', langcode='en' },
	{ prop='P3699', message='[$2 $1] - Transfermarkt (referee)$3', short='[$2 Transfermarkt (referee)]', langcode='en' },
	{ prop='P2574', message='[$2 $1] - National-Football-Teams.com$3', short='[$2 National-Football-Teams.com]', langcode='en' },
	{ prop='P2020', message='[$2 $1] - WorldFootball.net$3', short='[$2 WorldFootball.net]', langcode='en' },
	{ prop='P2193', message='[$2 $1] - Soccerbase.com (player)$3', short='[$2 Soccerbase.com (player)]', langcode='en' },
	{ prop='P2195', message='[$2 $1] - Soccerbase.com (manager)$3', short='[$2 Soccerbase.com (manager)]', langcode='en' },
	{ prop='P3537', message='[$2 $1] - FootballDatabase.eu$3', short='[$2 FootballDatabase.eu]', langcode='en' },
	{ prop='P3043', message='[$2 $1] - Scoresway.com$3', short='[$2 Scoresway.com]', langcode='en' },
	{ prop='P2369', message='[$2 $1] - Soccerway.com$3', short='[$2 Soccerway.com]', langcode='en' },
	{ prop='P3046', message='[$2 $1] - ForaDeJogo.net$3', short='[$2 ForaDeJogo.net]', langcode='en' },
	{ prop='P3047', message='[$2 $1] - TheFinalBall.com$3', short='[$2 TheFinalBall.com]', langcode='en' },
	{ prop='P3538', message='[$2 $1] - [[Fussballdaten.de|Fussballdaten.de]]$3', short='[$2 Fussballdaten.de]', langcode='de' },
	{ prop='P2458', message='[$2 $1] - Mackolik.com$3', short='[$2 Mackolik.com]', langcode='tr' },
	{ prop='P3936', message='[$2 $1] - [[ノルウェーサッカー協会]]$3', short='[$2 Football Association of Norway]', langcode='no' },

-- Football (Australian)

	{ prop='P3546', message='[$2 $1] - AustralianFootball.com$3', short='[$2 AustralianFootball.com]', langcode='en' },
	{ prop='P3547', message='[$2 $1] - AFLtables.com$3', short='[$2 AFLtables.com]', langcode='en' },

-- Futsal

	{ prop='P3664', message='[$2 $1] - FutsalPlanet.com$3', short='[$2 FutsalPlanet.com]', langcode='en' },

-- Golf

	{ prop='P2811', message='[$2 $1] - [[プロゴルフ協会|PGA]]$3', short='[$2 PGA]', langcode='en' },
	{ prop='P2810', message='[$2 $1] - [[全米女子プロゴルフ協会|LPGA]]$3', short='[$2 LPGA]', langcode='en' },
	{ prop='P3521', message='[$2 $1] - [[ヨーロピアンツアー]]$3', short='[$2 PGA European Tour]', langcode='en' },
	{ prop='P3535', message='[$2 $1] - [[日本ゴルフツアー機構]]$3', short='[$2 Japan Golf Tour]', langcode='en' },
	{ prop='P3897', message='[$2 $1] - [[欧州女子ゴルフツアー]]$3', short='[$2 Ladies European Tour]', langcode='en' },
	{ prop='P3568', message='[$2 $1] - [[ワールドゴルフランキング]]$3', short='[$2 Official World Golf Ranking]', langcode='en' },

-- Gymnastics

	{ prop='P2696', message='[$2 $1] - [[国際体操連盟|FIG]]$3', short='[$2 FIG]', langcode='en' },
	{ prop='P3671', message='[$2 $1] - USA Gymnastics$3', short='[$2 USA Gymnastics]', langcode='en' },
	{ prop='P4546', message='[$2 $1] - Gymn Forum$3', short='[$2 Gymn Forum]', langcode='en' },

-- Handball
	{ prop='P3573', message='[$2 $1] - [[欧州ハンドボール連盟]]$3', short='[$2 European Handball Federation]', langcode='en' },
	{ prop='P3700', message='[$2 $1] - Norwegian Handball Federation$3', short='[$2 Norwegian Handball Federation]', langcode='en' },

-- Ice hockey

	{ prop='P3522', message='[$2 $1] - [[ナショナルホッケーリーグ|NHL]]$3', short='[$2 |NHL]', langcode='en' },
	{ prop='P3687', message='[$2 $1] - [[ESPN]] (NHL)$3', short='[$2 ESPN (NHL)]', langcode='en' },
	{ prop='P3567', message='[$2 $1] - [[ホッケーの殿堂|Hockey Hall of Fame]] (NHL player)$3', short='[$2 Hockey Hall of Fame (NHL player)]', langcode='en' },
	{ prop='P3651', message='[$2 $1] - [[アメリカン・ホッケー・リーグ]]$3', short='[$2 TheAHL.com]', langcode='en' },
	{ prop='P3652', message='[$2 $1] - [[KHL|KHL.ru]]$3', short='[$2 KHL.ru]', langcode='en' },
	{ prop='P2481', message='[$2 $1] - EliteProspects.com$3', short='[$2 EliteProspects.com]', langcode='en' },
	{ prop='P2601', message='[$2 $1] - Eurohockey.com$3', short='[$2 Eurohockey.com]', langcode='en' },
	{ prop='P2602', message='[$2 $1] - HockeyDB.com$3', short='[$2 HockeyDB.com]', langcode='en' },
	{ prop='P3598', message='[$2 $1] - Hockey-Reference.com$3', short='[$2 Hockey-Reference.com]', langcode='en' },

-- Martial arts (karate, judo, taekwondo, mixed)

	{ prop='P2705', message='[$2 $1] - KarateRec.com$3', short='[$2 KarateRec.com]', langcode='en' },
	{ prop='P2767', message='[$2 $1] - [[JudoInside.com]]$3', short='[$2 JudoInside.com]', langcode='en' },
	{ prop='P4559', message='[$2 $1] - [[国際柔道連盟]]$3', short='[$2 IJF]', langcode='en' },
	{ prop='P4191', message='[$2 $1] - Alljudo$3', short='[$2 Alljudo]', langcode='en' },
	{ prop='P2987', message='[$2 $1] - TaekwondoData.com$3', short='[$2 TaekwondoData.com]', langcode='en' },
	{ prop='P2818', message='[$2 $1] - [[SHERDOG|Sherdog]]$3', short='[$2 Sherdog]', langcode='en' },

-- Motorsport

	{ prop='P3048', message='[$2 $1] - Racing-Reference.info$3', short='[$2 Racing-Reference.info]', langcode='en' },
	{ prop='P3684', message='[$2 $1] - DriverDB.com$3', short='[$2 DriverDB.com]', langcode='en' },

	{ prop='P3930', message='[$2 $1] - Rallye-info.com$3', short='[$2 Rallye-info.com]', langcode='en' },
	{ prop='P3927', message='[$2 $1] - eWRC-results.com$3', short='[$2 eWRC-results.com]', langcode='en' },
	{ prop='P3928', message='[$2 $1] - MotoGP.com$3', short='[$2 MotoGP.com]', langcode='en' },

-- Orienteering

	{ prop='P3672', message='[$2 $1] - [[国際オリエンテーリング連盟|IOF]]$3', short='[$2 IOF]', langcode='en' },

-- Rowing

	{ prop='P2091', message='[$2 $1] - [[国際ボート連盟|FISA]]$3', short='[$2 FISA]', langcode='en' },

-- Rugby

	{ prop='P861',  message='[$2 $1] - [[プレミアシップ (ラグビー)|Premiership Rugby]]$3', short='[$2 Premiership Rugby]', langcode='en' },
	{ prop='P3745', message='[$2 $1] - [[ワールドラグビーセブンズシリーズ]]$3', short='[$2 World Rugby Sevens Series]', langcode='en' },
	{ prop='P858',  message='[$2 $1] - [[ESPNscrum]]$3', short='[$2 ESPNscrum]', langcode='en' },
	{ prop='P3769', message='[$2 $1] - ItsRugby.co.uk$3', short='[$2 ItsRugby.co.uk]', langcode='en' },

-- Sailing

	{ prop='P2804', message='[$2 $1] - [[国際セーリング連盟]]$3', short='[$2 World Sailing]', langcode='en' },

-- Shooting

	{ prop='P2730', message='[$2 $1] - [[国際射撃連盟|ISSF]]$3', short='[$2 ISSF]', langcode='en' },

-- Skiing (alpine, cross-country, freestyle, ski jumping, snowboarding)

	{ prop='P2772', message='[$2 $1] - [[国際スキー連盟|FIS]] (アルペン)$3', short='[$2 FIS (alpine)]', langcode='en' },
	{ prop='P2773', message='[$2 $1] - [[国際スキー連盟|FIS]] (クロスカントリー)$3', short='[$2 FIS (cross-country)]', langcode='en' },
	{ prop='P2774', message='[$2 $1] - [[国際スキー連盟|FIS]] (フリースタイル)$3', short='[$2 FIS (freestyle)]', langcode='en' },
	{ prop='P2775', message='[$2 $1] - [[国際スキー連盟|FIS]] (スキージャンプ)$3', short='[$2 FIS (ski jumping)]', langcode='en' },
	{ prop='P2776', message='[$2 $1] - [[国際スキー連盟|FIS]] (ノルディック複合)$3', short='[$2 FIS (Nordic combined)]', langcode='en' },
	{ prop='P2777', message='[$2 $1] - [[国際スキー連盟|FIS]] (スノーボード)$3', short='[$2 FIS (snowboarding)]', langcode='en' },
	{ prop='P3619', message='[$2 $1] - Ski-DB.com$3', short='[$2 Ski-DB.com]', langcode='en' },

-- Speed skating

	{ prop='P2350', message='[$2 $1] in SpeedSkatingBase.eu$3', short='[$2 SpeedSkatingBase.eu]', langcode='en' },
	{ prop='P3694', message='[$2 $1] - SpeedSkatingNews.info$3', short='[$2 SpeedSkatingNews.info]', langcode='en' },
	{ prop='P3695', message='[$2 $1] - SpeedSkatingStats.com$3', short='[$2 SpeedSkatingStats.com]', langcode='en' },
	{ prop='P3693', message='[$2 $1] - ShortTrackOnLine.info$3', short='[$2 ShortTrackOnLine.info]', langcode='en' },

-- Squash

	{ prop='P3476', message='[$2 $1] - [[プロスカッシュ協会]]$3', short='[$2 PSA World Tour]', langcode='en' },
	{ prop='P3286', message='[$2 $1] - SquashInfo.com$3', short='[$2 SquashInfo.com]', langcode='en' },

-- Sumo wrestling

	{ prop='P3385', message='[$2 $1] - [[日本相撲協会]]$3', short='[$2 Japan Sumo Association]', langcode='en' },

-- Surfing

	{ prop='P3339', message='[$2 $1] - [[世界プロサーフィン連盟]]$3', short='[$2 World Surf League]', langcode='en' },
	{ prop='P3338', message='[$2 $1] - EncyclopediaOfSurfing.com$3', short='[$2 EncyclopediaOfSurfing.com]', langcode='en' },

-- Swimming

	{ prop='P3408', message='[$2 $1] - [[国際水泳連盟|FINA]]$3', short='[$2 FINA]', langcode='en' },
	{ prop='P3691', message='[$2 $1] - [[国際水泳殿堂]]$3', short='[$2 International Swimming Hall of Fame]', langcode='en' },
	{ prop='P3669', message='[$2 $1] - Swimming Australia$3', short='[$2 Swimming Australia]', langcode='en' },
	{ prop='P2640', message='[$2 $1] - SwimRankings.net$3', short='[$2 SwimRankings.net]', langcode='en' },
	{ prop='P4315', message='[$2 $1] - SwimSwam$3', short='[$2 SwimRankings.net]', langcode='en' },

-- Table tennis

	{ prop='P1364', message='[$2 $1] - [[国際卓球連盟|ITTF]]$3', short='[$2 ITTF]', langcode='en' },

-- Tennis

	{ prop='P536',  message='[$2 $1] - [[男子プロテニス協会|ATP]]$3', short='[$2 ATP]', langcode='en' }, -- player
	{ prop='P3456', message='[$2 $1] - [[男子プロテニス協会|ATP]]$3', short='[$2 ATP]', langcode='en' }, -- tournament
	{ prop='P597',  message="[$2 $1] - [[女子テニス協会|WTA]]$3", short='[$2 WTA]', langcode='en' }, -- player
	{ prop='P3469', message="[$2 $1] - [[女子テニス協会|WTA]]$3", short='[$2 WTA]', langcode='en' }, -- tournament
	{ prop='P599',  message='[$2 $1] - [[国際テニス連盟|ITF]]$3', short='[$2 ITF]', langcode='en' },
	{ prop='P4299',  message='[$2 $1] - [[国際テニス連盟|ITF]]$3', short='[$2 ITF]', langcode='en' },
	{ prop='P2641', message='[$2 $1] - [[デビスカップ]]$3', short='[$2 Davis Cup]', langcode='en' },
	{ prop='P2642', message='[$2 $1] - [[フェドカップ]]$3', short='[$2 Fed Cup]', langcode='en' },
	{ prop='P3363', message='[$2 $1] - [[国際テニス殿堂]]$3', short='[$2 International Tennis Hall of Fame]', langcode='en' },
	{ prop='P3698', message='[$2 $1] - Tennis Australia$3', short='[$2 Tennis Australia]', langcode='en' },
	{ prop='P3670', message='[$2 $1] - TennisArchives.com$3', short='[$2 TennisArchives.com]', langcode='en' },
	{ prop='P4544', message='[$2 $1] - Tennis Temple$3', short='[$2 Tennis Temple]', langcode='en' },

-- Triathlon

	{ prop='P3604', message='[$2 $1] - [[国際トライアスロン連合|ITU]]$3', short='[$2 ITU]', langcode='en' },
	{ prop='P2778', message='[$2 $1] - Institute for Applied Training Science (IAT)$3', short='[$2 IAT]', langcode='en' }, -- triathlon

-- Volleyball

	{ prop='P2801', message='[$2 $1] - [[国際バレーボール連盟|FIVB]]$3', short='[$2 FIVB]', langcode='en' },
	{ prop='P3725', message='[$2 $1] - [[欧州バレーボール連盟]]$3', short='[$2 European Volleyball Confederation]', langcode='en' },
	{ prop='P2800', message='[$2 $1] - Beach Volleyball Database$3', short='[$2 Beach Volleyball Database]', langcode='en' },

-- Weightlifting

	{ prop='P3667', message='[$2 $1] - [[国際ウエイトリフティング連盟|IWF]]$3', short='[$2 IWF]', langcode='en' },
	{ prop='P2779', message='[$2 $1] - Institute for Applied Training Science (IAT)$3', short='[$2 IAT]', langcode='de' }, -- weightlifting

-- Wrestling (amateur)

	{ prop='P2727', message='[$2 $1] - [[世界レスリング連合]]$3', short='[$2 United World Wrestling]', langcode='en' }, -- was FILA

-- Wrestling (professional)

	{ prop='P2764', message='[$2 $1] - WrestlingData.com$3', short='[$2 WrestlingData.com]', langcode='en' },

-- Various

	{ prop='P3653', message='[$2 $1] - Association of Road Racing Statisticians$3', short='[$2 ARRS]', langcode='en' },
	{ prop='P3760', message='[$2 $1] - Iditarod Trail Sled Dog Race$3', short='[$2 Iditarod Trail Sled Dog Race]', langcode='en' },
	{ prop='P3584', message='[$2 $1] - [[国際トレイルランニング協会|ITRA]]$3', short='[$2 ITRA]', short='[$2 ITRA]', langcode='en' },
	{ prop='P3427', message='[$2 $1] - [[AS (新聞)|AS.com]]$3', short='[$2 AS.com]', langcode='es' },
	{ prop='P1285', message='[$2 $1] - Munzinger Sports Archives$3', short='[$2 Munzinger Sports Archives]', langcode='de' },
	{ prop='P3715', message='[$2 $1] -  NISH Hall of Fame$3', short='[$2 NISH Hall of Fame]', langcode='de' },

}

local messages_conf = {}

messages_conf['ja'] = {
	['short-list-separator'] = ', ',
	['with-data-cat']              = '[[Category:ウィキデータのスポーツ識別子を使用している記事]]',
	['no-data-text']               = "''ウィキデータにひとつもスポーツ識別子がありません''",
	['no-data-cat']                = '[[Category:Articles using sports links with no data in Wikidata]]',
	['no-wikilink']                = "''This article has no link in Wikidata''",
	['no-wikilink-cat']            = "[[Category:Articles using sports links with no link in Wikidata]]",
	['with-local-cat']             = '[[Category:Articles using sports links with local values]]',
	['track-cat-wd-wd']            = '[[Category:Articles using sports links with $1 from Wikidata]]',
	['track-cat-local-local']      = '[[Category:Articles using sports links with $1 from local value]]',
	['track-cat-wd-local']         = '[[Category:Articles using sports links with $1 from Wikidata but has local value]]',
	['track-cat-local-wd']         = '[[Category:Articles using sports links with $1 from local value but has Wikidata]]',
	['track-cat-local-wd-equal']   = "[[Category:Articles using sports links with $1 from local value same as Wikidata]]",
	['track-cat-local-wd-unequal'] = "[[Category:Articles using sports links with $1 from local value different from Wikidata]]",
}
local limits = {
	['links-shown'] = 10,		-- maximum number of links shown in the article.
}

local p = {}

function p.getConfiguredClaims (self, lang)
	return configured_claims[lang]
end

function p.getLimits (self)
	return limits
end

function p.getMessage (self, lang, msg)
	return messages_conf[lang][msg] 
end

-- metatable for the export
local mt = {
	-- adjust the installation of the module
	['__call'] = function (self, lang)
		self.configured_claims = configured_claims[lang]
		self.messages_conf = messages_conf[lang]
		return self
	end
}

-- install the metatable
setmetatable(p, mt)

return p