Module:External links/conf/Sports/sandbox
This is the module sandbox page for Module:External links/conf/Sports (diff). |
Module "External links/conf/Sports/sandbox" contains configuration used by Module:External links
There are a number of rows in the variable configured_claims that describe which Wikidata properties should be used to create external links in articles. These rows are structured as follows:
{ prop='Pnnnn', message="$3 [$2 ''$1''] <description>", short="[$2 <text>]", langcode='aa', url="...", url_f=<function>, regex="...", genitive=<boolean>, track=<boolean> },
Where the following is the case:
- prop – The property name to process.
Pnnnn
– If this is a "P" followed by a number (Pnnnn), it is assumed that this is a Property number on Wikidata to be checked. Eg. P345 which is then the number for IMDB links. If this exists for the article, an external link for this property will potentially appear.SLaaaa
– If it consists of "SL" followed by an interwiki name, e.g.SLspecieswiki
, it will attempt to retrieve the name of the corresponding article on the second wiki, with spaces underlined.- If there is another property name, this is treated as a purely local definition and needs to get the value / identifier from the name of the module. See example below.
- message – The text to be displayed in the article. It has two special values: $1 and $2. These two will be replaced with the following:
- $1 – Replaced with the article name. See also genitive below.
- $2 – Replaced with the raw URL of the external link. Eg. http://www.imdb.com/title/tt0085255/
- $3 – Replaced with a language code. Eg. (in Norwegian) for Norwegian language (no). See
langcode
. - $4 – Replaced by the value itself.
- $5 – Replaced by a URI formatted version of the value itself.
- short – A short version of the text to be displayed. It has two special values: $1 and $2. These two will be replaced similarly to the
message
above. - langcode – Enter the language code for the site. This is used to make an indication of the language of the site. If a P-value is entered here, the module will look for this P-value as a qualifier under P305 (the language of the work). Currently only
P407
is supported here. - url_f – Here you can enter a formatting function for the URLs to be called. This is only the name of the function (which must be defined locally above configured_claims in this module. The function will be called with one variable which is the identifier that comes from Wikidata or locally and a completed raw URL is expected back. Example:
url_f=imdb_formatter
. This feature is the first priority when choosing between multiple options. - url – Here you can enter the URL to be called. Example:
url="http://www.imdb.com/tt/$1"
. This string is second priority when choosing between multiple options. This one has a special value: $1 which will be replaced with the following:- $1 – Replaced with the identifier that comes from Wikidata or locally.
- regex – Here you can enter a regexp string that will be used to verify that the identifier that comes from Wikidata or locally has the correct format. Example:
regex="tt\\d+"
. If defined, the identifier must pass this test first. If there are relevant regexp strings on Wikidata, they will be checked as well, but after that. - genitive – This is a variable that determines whether to use genitive in the article name that replaces $1 (see above). This can be either
true
orfalse
. - track – This is a variable that determines whether to use this property to include the article in a category. The category is controlled by the definition further down (
['tracking-cat-found-data']
or['tracking-cat-found-local']
). This can be eithertrue
orfalse
.
See also the definition of the maximum number of links that will appear in the articles in the limits variable as ['links-shown'] = 10
Examples
[edit]message / short
[edit]Entering the following line in Module:External links/conf/Sports:
{ prop='P1469', message='[$2 $1] at [[FIFA]]', short='[$2 FIFA]', langcode='en' },
Would display as one of the following in Antonio Cabrini:
{{#invoke:External links|getLinks|conf=Sports}}
→- Antonio Cabrini at FIFA
{{#invoke:External links|getLinks|conf=Sports|short=1}}
→- FIFA
genitive
[edit]Entering the following line in Module:External links/conf/Sports:
{ prop='P1469', message='[$2 $1 player profile] at FIFA', langcode='en', genitive=true },
Would display as the following in Antonio Cabrini:
{{#invoke:External links|getLinks|conf=Sports}}
→- Antonio Cabrini's player profile at FIFA
langcode
[edit]Entering the following line in Module:External links/conf/Sports:
{ prop='P3446', message='[$2 $1] at the [[Italian Athletics Federation]]$3', langcode='it' },
Would display as the following in Dorando Pietri:
{{#invoke:External links|getLinks|conf=Sports}}
→- Dorando Pietri at the Italian Athletics Federation (in Italian)
locally defined ID with regex
[edit]Entering the following line in Module:External links/conf/Sports:
{ prop='dbwrestling', message="[$2 ''$1''] at the International Wrestling Database", langcode='en', url='https://www.iat.uni-leipzig.de/datenbanken/dbwrestling/daten.php?spid=$1', regex='[A-F0-9]+' },
Would display the following in John-Olav Einemo:
{{#invoke:External links |getLinks |conf=Sports |dbwrestling=B777A635A94B435AB78C5413C14BE233}}
→- John-Olav Einemo at the International Wrestling Database
Does not display a link if the ID does not match the regex:
{{#invoke:External links |getLinks |conf=Sports |dbwrestling=NonValidID}}
See also
[edit]local configured_claims = {}
local function commons_formatter(id)
return "https://commons.wikimedia.org/wiki/Category:" .. id:gsub(" ", "_")
end
configured_claims['en'] = {
-- { prop='P373', message="[$2 ''$1''] – pictures, videos or audio at [[Wikimedia Commons]]$3", short="[$2 Wikimedia Commons]", langcode='en', url_f=commons_formatter },
-- Aquatics (diving, swimming, synchronized swimming, water polo)
{ prop='P3408', message='[$2 $1] at [[FINA]]$3', short='[$2 FINA]', langcode='en' },
{ prop='P2780', message='[$2 $1] at Institute for Applied Training Science (IAT)$3', short='[$2 IAT]', langcode='de' }, -- IAT diving database
{ prop='P3669', message='[$2 $1] at [[Swimming Australia]]$3', short='[$2 Swimming Australia] (archived)', langcode='en' }, -- uses archived URL
{ prop='P2640', message='[$2 $1] at SwimRankings.net$3', short='[$2 SwimRankings.net]', langcode='en' },
{ prop='P8725', message='[$2 $1] at [[Hungarian Water Polo Federation]]$3', short='[$2 Hungarian Water Polo Federation]', langcode='hu' },
{ prop='P3691', message='[$2 $1] at [[International Swimming Hall of Fame]]$3', short='[$2 International Swimming Hall of Fame]', langcode='en' },
{ prop='P8664', message='[$2 $1] at [[USA Water Polo Hall of Fame]]$3', short='[$2 USA Water Polo Hall of Fame]', langcode='en' },
-- Archery
{ prop='P3010', message='[$2 $1] at [[World Archery]]$3', short='[$2 World Archery]', langcode='en' },
-- Athletics (track and field)
-- international
{ prop='P1146', message='[$2 $1] at [[World Athletics]]$3', short='[$2 World Athletics]', langcode='en' }, -- formerly International Association of Athletics Federations (IAAF)
{ prop='P3766', message='[$2 $1] at [[European Athletic Association]] (archived)$3', short='[$2 European Athletic Association (archived)]', langcode='en' }, -- uses archived URL
-- national
{ prop='P2162', message='[$2 $1] at German Ultramarathon Association$3', short='[$2 German Ultramarathon Association]', langcode='en' },
{ prop='P3446', message='[$2 $1] at [[Italian Athletics Federation]]$3', short='[$2 Italian Athletics Federation]', langcode='it' },
{ prop='P3767', message='[$2 $1] at [[French Athletics Federation]]$3', short='[$2 French Athletics Federation]', langcode='fr' },
{ prop='P3843', message='[$2 $1] at [[German Athletics Association]]$3', short='[$2 German Athletics Association]', langcode='de' },
{ prop='P3915', message='[$2 $1] at Australian Athletics Historical Results$3', short='[$2 Australian Athletics Historical Results]', langcode='en' },
{ prop='P3926', message='[$2 $1] at [[USA Track & Field]]$3', short='[$2 USA Track & Field]', langcode='en' },
{ prop='P4302', message='[$2 $1] at [[Royal Dutch Athletics Federation]]$3', short='[$2 Royal Dutch Athletics Federation]', langcode='nl' },
{ prop='P5073', message='[$2 $1] at [[Japan Association of Athletics Federations]]$3', short='[$2 Japan Association of Athletics Federations]', langcode='ja' },
-- Other
{ prop='P2090', message='[$2 $1] at ThePowerOf10.info$3', short='[$2 ThePowerOf10.info]', langcode='en' },
-- removed dead link: { prop='P3765', message='[$2 $1] at All-Athletics.com$3', short='[$2 All-Athletics.com]', langcode='en' },
{ prop='P3881', message='[$2 $1] at [[National Track and Field Hall of Fame]]$3', short='[$2 National Track and Field Hall of Fame]', langcode='en' },
{ prop='P3923', message='[$2 $1] at [[Diamond League]]$3', short='[$2 Diamond League]', langcode='en' },
-- { prop='P3924', message='[$2 $1] at TrackField.brinkster.net$3', short='[$2 TrackField.brinkster.net]', langcode='en' }, -- female
-- { prop='P3925', message='[$2 $1] at TrackField.brinkster.net$3', short='[$2 TrackField.brinkster.net]', langcode='en' }, -- male
{ prop='P5120', message='[$2 $1] at TFRRS.org$3', short='[$2 TFRRS]', langcode='en' },
-- Badminton
{ prop='P2729', message='[$2 $1] at [[Badminton World Federation|BWF.tournamentsoftware.com]]$3', short='[$2 BWF.tournamentsoftware.com]', langcode='en' },
{ prop='P3620', message='[$2 $1] at [[Badminton World Federation|BWFbadminton.com]]$3', short='[$2 BWFbadminton.com]', langcode='en' },
{ prop='P3623', message='[$2 $1] at BadmintonLink.com$3', short='[$2 BadmintonLink.com]', langcode='en' },
-- Baseball
-- governing bodies and leagues
{ prop='P3541', message='[$2 $1] at [[Major League Baseball]]$3', short='[$2 Major League Baseball]', langcode='en' },
{ prop='P4260', message='[$2 $1] at [[Nippon Professional Baseball]]$3', short='[$2 Nippon Professional Baseball]', langcode='en' }, -- Wikidata formatter URL is for English language web page
{ prop='P4370', message='[$2 $1] at [[KBO League]]$3', short='[$2 KBO League]', langcode='en' }, -- hitter; Wikidata formatter URL is for English language web page
{ prop='P4371', message='[$2 $1] at [[KBO League]]$3', short='[$2 KBO League]', langcode='en' }, -- pitcher; Wikidata formatter URL is for English language web page
{ prop='P4476', message='[$2 $1] at [[Australian Baseball League]]$3', short='[$2 Australian Baseball League]', langcode='en' },
-- other
{ prop='P1825', message='[$2 $1] at [[Baseball-Reference.com]] (major league)$3', short='[$2 Baseball-Reference.com (major league)]', langcode='en' },
{ prop='P1826', message='[$2 $1] at [[Baseball-Reference.com]] (minor league)$3', short='[$2 Baseball-Reference.com (minor league)]', langcode='en' },
{ prop='P2482', message='[$2 $1] at [[Society for American Baseball Research|SABR]]$3', short='[$2 SABR]', langcode='en' },
{ prop='P3571', message='[$2 $1] at [[ESPN]] (MLB)$3', short='[$2 ESPN (MLB)]', langcode='en' },
{ prop='P3574', message='[$2 $1] at [[FanGraphs.com]]$3', short='[$2 FanGraphs.com]', langcode='en' },
{ prop='P4164', message='[$2 $1] at [[Baseball Hall of Fame]]$3', short='[$2 Baseball Hall of Fame]', langcode='en' },
-- Basketball
-- governing bodies and leagues
{ prop='P3542', message='[$2 $1] at [[FIBA]]$3', short='[$2 FIBA]', langcode='en' },
{ prop='P3536', message='[$2 $1] at [[EuroLeague]]$3', short='[$2 EuroLeague]', langcode='en' },
{ prop='P3588', message='[$2 $1] at [[WNBA]]$3', short='[$2 WNBA]', langcode='en' },
{ prop='P3647', message='[$2 $1] at [[NBA]]$3', short='[$2 NBA]', langcode='en' },
-- other
{ prop='P2685', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- NBA player
{ prop='P3525', message='[$2 $1] at ACB.com$3', short='[$2 ACB.com]', langcode='es' }, -- player
{ prop='P3527', message='[$2 $1] at [[Eurobasket.com]]$3', short='[$2 Eurobasket.com]', langcode='en' },
{ prop='P3533', message='[$2 $1] at DraftExpress.com$3', short='[$2 DraftExpress.com]', langcode='en' },
{ prop='P3685', message='[$2 $1] at [[ESPN.com]]$3', short='[$2 ESPN.com]', langcode='en' },
{ prop='P3696', message='[$2 $1] at [[Sports Reference|College Basketball at Sports-Reference.com]]$3', short='[$2 College Basketball at Sports-Reference.com]', langcode='en' }, -- player
{ prop='P3957', message='[$2 $1] at [[RealGM]]$3', short='[$2 RealGM]', langcode='en' },
{ prop='P4410', message="[$2 $1] at [[Women's Basketball Hall of Fame]]$3", short="[$2 Women's Basketball Hall of Fame]", langcode='en' },
{ prop='P4560', message='[$2 $1] at [[National Collegiate Basketball Hall of Fame]]$3', short='[$2 National Collegiate Basketball Hall of Fame]', langcode='en' },
{ prop='P4561', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- WNBA player
{ prop='P4718', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- NBA coach
{ prop='P4720', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- WNBA coach
{ prop='P4744', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- NBA G League player
{ prop='P4751', message='[$2 $1] at [[Sports Reference|College Basketball at Sports-Reference.com]]$3', short='[$2 College Basketball at Sports-Reference.com]', langcode='en' }, -- coach
{ prop='P4790', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- Europe player
{ prop='P4795', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- referee
{ prop='P4796', message='[$2 $1] at [[Basketball-Reference.com]]$3', short='[$2 Basketball-Reference.com]', langcode='en' }, -- NBL player
{ prop='P6297', message='[$2 $1] at ACB.com$3', short='[$2 ACB.com]', langcode='es' }, -- coach
-- Biathlon
{ prop='P2459', message='[$2 $1] at [[International Biathlon Union|IBU]]$3', short='[$2 IBU]', langcode='en' },
-- Billiards / Snooker
{ prop='P3531', message='[$2 $1] at AZBilliards.com$3', short='[$2 AZBilliards.com]', langcode='en' },
{ prop='P3830', message='[$2 $1] at CueTracker.net$3', short='[$2 CueTracker.net]', langcode='en' },
-- Bobsleigh / Skeleton / Luge
{ prop='P2991', message='[$2 $1] at [[International Bobsleigh and Skeleton Federation|IBSF]]$3', short='[$2 IBSF]', langcode='en' },
{ prop='P2990', message='[$2 $1] at [[International Luge Federation|FIL]]$3', short='[$2 FIL]', langcode='en' },
-- Boxing
{ prop='P1967', message='[$2 $1] at [[BoxRec]]$3', short='[$2 BoxRec]', langcode='en' },
-- Canoe / Kayak
-- removed deleted property: { prop='P3688', message='[$2 $1] at [[International Canoe Federation|ICF]] (sprint)$3', short='[$2 ICF (sprint)]', langcode='en' },
{ prop='P3689', message='[$2 $1] at the [[International Canoe Federation]]$3', short='[$2 ICF]', langcode='en' },
-- Chess
{ prop='P1440', message='[$2 $1] at [[FIDE]]$3', short='[$2 FIDE]', langcode='en' },
{ prop='P1665', message='[$2 $1] at [[Chessgames.com]]$3', short='[$2 Chessgames.com]', langcode='en' },
{ prop='P3314', message='[$2 $1] at 365Chess.com$3', short='[$2 365Chess.com]', langcode='en' },
{ prop='P3315', message='[$2 $1] at Chesstempo.com$3', short='[$2 Chesstempo.com]', langcode='en' },
{ prop='P3316', message='[$2 $1] at [[International Correspondence Chess Federation|ICCF]]$3', short='[$2 ICCF]', langcode='en' },
{ prop='P3558', message='[$2 $1] at [[United States Chess Federation|USCF]]$3', short='[$2 USCF]', langcode='en' },
{ prop='P3940', message='[$2 $1] at OlimpBase.org$3', short='[$2 OlimpBase.org]', langcode='en' },
-- Climbing
{ prop='P3690', message='[$2 $1] at [[International Federation of Sport Climbing|IFSC]]$3', short='[$2 IFSC]', langcode='en' },
-- Cricket
{ prop='P2697', message='[$2 $1] at [[ESPNcricinfo]]$3', short='[$2 ESPNcricinfo]', langcode='en' }, -- player
{ prop='P3526', message='[$2 $1] at [[Wisden India]]$3', short='[$2 Wisden India]', langcode='en' },
{ prop='P3572', message='[$2 $1] at [[ESPNcricinfo]]$3', short='[$2 ESPNcricinfo]', langcode='en' }, -- playing ground
-- Curling
{ prop='P3557', message='[$2 $1] at [[World Curling Federation]]$3', short='[$2 World Curling Federation]', langcode='en' },
-- { prop='P3556', message='[$2 $1] at CurlingZone$3', short='[$2 CurlingZone]', langcode='en' },
{ prop='P9698', message='[$2 $1] at [[World Curling Federation]]$3', short='[$2 World Curling Federation]', langcode='en' },
-- Cycling
{ prop='P1409', message='[$2 $1] at Cycling Archives$3', short='[$2 Cycling Archives]', langcode='en' },
{ prop='P1663', message='[$2 $1] at ProCyclingStats$3', short='[$2 ProCyclingStats]', langcode='en' }, -- cyclist
{ prop='P1664', message='[$2 $1] at CyclingDatabase.com$3', short='[$2 CyclingDatabase.com]', langcode='en' },
{ prop='P2327', message='[$2 $1] at ProCyclingStats$3', short='[$2 ProCyclingStats]', langcode='en' }, -- race
{ prop='P1541', message='[$2 $1] at Cycling Quotient$3', short='[$2 Cycling Quotient]', langcode='en' }, -- male cyclist
{ prop='P2709', message='[$2 $1] at Cycling Quotient$3', short='[$2 Cycling Quotient]', langcode='en' }, -- female cyclist
-- Darts
{ prop='P3621', message='[$2 $1] at DartsDatabase.co.uk$3', short='[$2 DartsDatabase.co.uk]', langcode='en' },
-- Equestrian
{ prop='P3111', message='[$2 $1] at [[International Federation for Equestrian Sports|FEI]]$3', short='[$2 FEI]', langcode='en', url='https://www.fei.org/athlete/$1' },
{ prop='P3111', message='[$2 $1] at FEI (alternative link)$3', short='[$2 FEI (alternative link)]', langcode='en', url='https://www.fei.org/bios/Person/$1' },
-- Fencing
{ prop='P2423', message="[$2 $1] at [[Fédération Internationale d'Escrime|FIE]]$3", short='[$2 FIE]', langcode='en' },
{ prop='P4475', message="[$2 $1] at [[European Fencing Confederation]]$3", short='[$2 European Fencing Confederation]', langcode='en' },
{ prop='P7092', message="[$2 $1] at [[Russian Fencing Federation]]$3", short='[$2 Russian Fencing Federation]', langcode='ru' },
-- Field hockey
{ prop='P3742', message='[$2 $1] at [[International Hockey Federation|FIH]]$3', short='[$2 FIH]', langcode='en' },
-- Figure skating
{ prop='P2694', message='[$2 $1] at the [[International Skating Union]]$3', short='[$2 ISU]', langcode='en' },
-- Football (American, Canadian, gridiron)
{ prop='P3539', message='[$2 $1] at [[National Football League|NFL]]$3', short='[$2 NFL]', langcode='en' },
{ prop='P3686', message='[$2 $1] at [[ESPN]] (NFL)$3', short='[$2 ESPN (NFL)]', langcode='en' },
{ prop='P3561', message='[$2 $1] at [[Pro-Football-Reference.com]]$3', short='[$2 Pro-Football-Reference.com]', langcode='en' },
{ prop='P3566', message='[$2 $1] at JustSportsStats.com$3', short='[$2 JustSportsStats.com]', langcode='en' },
{ prop='P3560', message='[$2 $1] at [[College Football Data Warehouse]]$3', short='[$2 College Football Data Warehouse]', langcode='en' },
{ prop='P3697', message='[$2 $1] at [[Sports Reference|College Football at Sports-Reference.com]]$3', short='[$2 College Football at Sports-Reference.com]', langcode='en' },
-- Football (association football, soccer)
-- international
{ prop='P1469', message='[$2 $1] at [[FIFA]]$3', short='[$2 FIFA]', langcode='en' },
{ prop='P2276', message='[$2 $1] at [[UEFA]]$3', short='[$2 UEFA]', langcode='en' },
-- national
{ prop='P2823', message='[$2 $1] at [[Royal Belgian Football Association|Belgian Football Association]]$3', short='[$2 Belgian Football Association]', langcode='en' },
{ prop='P3577', message='[$2 $1] at [[Croatian Football Federation]]$3', short='[$2 Croatian Football Federation]', langcode='hr' },
{ prop='P3050', message='[$2 $1] at [[Football Association of the Czech Republic|Czech Republic Football Association]]$3', short='[$2 Czech Republic Football Association]', langcode='en' },
{ prop='P3659', message='[$2 $1] at [[Estonian Football Association]]$3', short='[$2 Estonian Football Association]', langcode='en' },
{ prop='P3748', message='[$2 $1] at [[Israel Football Association]]$3', short='[$2 Israel Football Association]', langcode='en' },
{ prop='P3936', message='[$2 $1] at [[Football Association of Norway|Norway Football Association]]$3', short='[$2 Norway Football Association]', langcode='no' },
{ prop='P3049', message='[$2 $1] at [[Scottish Football Association]]$3', short='[$2 Scottish Football Association]', langcode='en' },
{ prop='P1238', message='[$2 $1] at [[Swedish Football Association]]$3', short='[$2 Swedish Football Association]', langcode='sv' },
{ prop='P2448', message='[$2 $1] at [[Turkish Football Federation]] (player)$3', short='[$2 Turkish Football Federation]', langcode='en' },
{ prop='P2449', message='[$2 $1] at [[Turkish Football Federation]] (manager)$3', short='[$2 Turkish Football Federation]', langcode='en' },
{ prop='P3662', message='[$2 $1] at [[Football Federation of Ukraine|Ukraine Football Federation]]$3', short='[$2 Ukraine Football Federation]', langcode='en' },
{ prop='P3565', message='[$2 $1] at [[J.League]]$3', short='[$2 J.League]', langcode='ja' },
{ prop='P3053', message='[$2 $1] at [[K League]]$3', short='[$2 K League]', langcode='en' },
{ prop='P3683', message='[$2 $1] at [[Ligue de Football Professionnel|LFP]]$3', short='[$2 LFP]', langcode='en', url='http://www.ligue1.com/joueur/$1' },
{ prop='P2398', message='[$2 $1] at [[Major League Soccer]]$3', short='[$2 Major League Soccer]', langcode='en' },
{ prop='P6198', message='[$2 $1] at [[Liga MX Femenil]]$3', short='[$2 Liga MX Femenil]', langcode='es' },
-- other
-- removed dead link: { prop='P3532', message='[$2 $1] at databaseFootball.com$3', short='[$2 databaseFootball.com]', langcode='en' },
{ prop='P3681', message='[$2 $1] at [[ESPN FC]]$3', short='[$2 ESPN FC]', langcode='en' },
{ prop='P3537', message='[$2 $1] at FootballDatabase.eu$3', short='[$2 FootballDatabase.eu]', langcode='en' },
-- { prop='P3046', message='[$2 $1] at ForaDeJogo.net$3', short='[$2 ForaDeJogo.net]', langcode='en' },
{ prop='P3538', message='[$2 $1] at [[Fussballdaten.de]]$3', short='[$2 Fussballdaten.de]', langcode='de' },
{ prop='P3665', message="[$2 $1] at [[L'Équipe]]$3", short="[$2 L'Équipe]", langcode='fr' },
-- { prop='P2458', message='[$2 $1] at Mackolik.com$3', short='[$2 Mackolik.com]', langcode='tr' },
{ prop='P2574', message='[$2 $1] at National-Football-Teams.com$3', short='[$2 National-Football-Teams.com]', langcode='en' },
{ prop='P2193', message='[$2 $1] at Soccerbase.com (player)$3', short='[$2 Soccerbase.com (player)]', langcode='en' },
{ prop='P2195', message='[$2 $1] at Soccerbase.com (manager)$3', short='[$2 Soccerbase.com (manager)]', langcode='en' },
{ prop='P2369', message='[$2 $1] at Soccerway.com$3', short='[$2 Soccerway.com]', langcode='en' },
-- removed dead link: { prop='P3043', message='[$2 $1] at Scoresway.com$3', short='[$2 Scoresway.com]', langcode='en' },
{ prop='P3047', message='[$2 $1] at TheFinalBall.com$3', short='[$2 TheFinalBall.com]', langcode='en' },
-- not used on enwiki: { prop='P2446', message='[$2 $1] at [[Transfermarkt]] (player)$3', short='[$2 Transfermarkt (player)]', langcode='en' },
-- not used on enwiki: { prop='P2447', message='[$2 $1] at [[Transfermarkt]] (manager)$3', short='[$2 Transfermarkt (manager)]', langcode='en' },
-- not used on enwiki: { prop='P3699', message='[$2 $1] at [[Transfermarkt]] (referee)$3', short='[$2 Transfermarkt (referee)]', langcode='en' },
{ prop='P2020', message='[$2 $1] at WorldFootball.net$3', short='[$2 WorldFootball.net]', langcode='en' },
-- Football (Australian)
{ prop='P3546', message='[$2 $1] at AustralianFootball.com$3', short='[$2 AustralianFootball.com]', langcode='en' },
{ prop='P3547', message='[$2 $1] at AFLtables.com$3', short='[$2 AFLtables.com]', langcode='en' },
-- Futsal
{ prop='P3664', message='[$2 $1] at FutsalPlanet.com$3', short='[$2 FutsalPlanet.com]', langcode='en' },
-- Golf
{ prop='P2811', message='[$2 $1] at [[Professional Golfers Association|PGA]]$3', short='[$2 PGA]', langcode='en' },
{ prop='P2810', message='[$2 $1] at [[Ladies Professional Golf Association|LPGA]]$3', short='[$2 LPGA]', langcode='en' },
{ prop='P3521', message='[$2 $1] at [[PGA European Tour]]$3', short='[$2 PGA European Tour]', langcode='en' },
{ prop='P3535', message='[$2 $1] at [[Japan Golf Tour]]$3', short='[$2 Japan Golf Tour]', langcode='en' },
{ prop='P3897', message='[$2 $1] at [[Ladies European Tour]]$3', short='[$2 Ladies European Tour]', langcode='en' },
{ prop='P3568', message='[$2 $1] at [[Official World Golf Ranking]]$3', short='[$2 Official World Golf Ranking]', langcode='en' },
-- Gymnastics
{ prop='P2696', message='[$2 $1] at [[International Gymnastics Federation|FIG]] (licence)$3', short='[$2 FIG (licence)]', langcode='en' },
{ prop='P7440', message='[$2 $1] at [[International Gymnastics Federation|FIG]] (biography)$3', short='[$2 FIG (biography)]', langcode='en' },
{ prop='P3671', message='[$2 $1] at [[USA Gymnastics]]$3', short='[$2 USA Gymnastics]', langcode='en' },
-- Handball
-- federations
{ prop='P3573', message='[$2 $1] at [[European Handball Federation]]$3', short='[$2 European Handball Federation]', langcode='en' },
{ prop='P3700', message='[$2 $1] at [[Norwegian Handball Federation]]$3', short='[$2 Norwegian Handball Federation]', langcode='no' },
-- leagues
{ prop='P4192', message='[$2 $1] at [[Ligue Nationale de Handball]]$3', short='[$2 Ligue Nationale de Handball]', langcode='fr' },
{ prop='P4289', message='[$2 $1] at Ligue Féminine de Handball$3', short='[$2 Ligue Féminine de Handball]', langcode='fr' },
{ prop='P5057', message='[$2 $1] at [[Handball-Bundesliga]]$3', short='[$2 Handball-Bundesliga]', langcode='de' },
-- clubs
{ prop='P4263', message='[$2 $1] at [[THW Kiel]]$3', short='[$2 THW Kiel]', langcode='de' },
-- other
-- removed dead link: { prop='P4451', message='[$2 $1] at Scoresway.com$3', short='[$2 Scoresway.com]', langcode='en' },
-- Ice hockey
{ prop='P3522', message='[$2 $1] at [[National Hockey League|NHL]]$3', short='[$2 |NHL]', langcode='en' },
{ prop='P3687', message='[$2 $1] at [[ESPN]] (NHL)$3', short='[$2 ESPN (NHL)]', langcode='en' },
{ prop='P3567', message='[$2 $1] at [[Hockey Hall of Fame]] (NHL player)$3', short='[$2 Hockey Hall of Fame (NHL player)]', langcode='en' },
{ prop='P3651', message='[$2 $1] at [[American Hockey League|TheAHL.com]]$3', short='[$2 TheAHL.com]', langcode='en' },
{ prop='P3652', message='[$2 $1] at [[Kontinental Hockey League|KHL.ru]]$3', short='[$2 KHL.ru]', langcode='en' },
{ prop='P2481', message='[$2 $1] at EliteProspects.com$3', short='[$2 EliteProspects.com]', langcode='en' },
{ prop='P2601', message='[$2 $1] at Eurohockey.com$3', short='[$2 Eurohockey.com]', langcode='en' },
{ prop='P2602', message='[$2 $1] at HockeyDB.com$3', short='[$2 HockeyDB.com]', langcode='en' },
{ prop='P3598', message='[$2 $1] at Hockey-Reference.com$3', short='[$2 Hockey-Reference.com]', langcode='en' },
-- Martial arts (karate, judo, taekwondo, mixed)
{ prop='P2705', message='[$2 $1] at KarateRec.com$3', short='[$2 KarateRec.com]', langcode='en' },
{ prop='P4559', message='[$2 $1] at the [[International Judo Federation]]$3', short='[$2 IJF]', langcode='en' }, -- judoka
{ prop='P10065', message='[$2 $1] at the [[International Judo Federation]]$3', short='[$2 IJF]', langcode='en' }, -- competition
{ prop='P2767', message='[$2 $1] at JudoInside.com$3', short='[$2 JudoInside.com]', langcode='en' }, -- judoka
{ prop='P10066', message='[$2 $1] at JudoInside.com$3', short='[$2 JudoInside.com]', langcode='en' }, -- competition
{ prop='P10080', message='[$2 $1] at the [[European Judo Union]]$3', short='[$2 EJU]', langcode='en' }, -- competition
{ prop='P4191', message='[$2 $1] at AllJudo.net$3', short='[$2 AllJudo]', langcode='fr' },
{ prop='P2987', message='[$2 $1] at TaekwondoData.com$3', short='[$2 TaekwondoData.com]', langcode='en' },
{ prop='P9722', message='[$2 $1] at [[Ultimate Fighting Championship|UFC]]$3', short='[$2 UFC]', langcode='en' },
{ prop='P9726', message='[$2 $1] at [[Bellator MMA|Bellator]]$3', short='[$2 Bellator]', langcode='en' },
{ prop='P2818', message='[$2 $1] at [[Sherdog]]$3', short='[$2 Sherdog]', langcode='en' },
{ prop='P9728', message='[$2 $1] at Tapology.com$3', short='[$2 Tapology]', langcode='en' },
{ prop='P9724', message='[$2 $1] at [[Fight Matrix]]$3', short='[$2 Fight Matrix]', langcode='en' },
{ prop='P10073', message='[$2 $1] at [[ESPN.com|ESPN]]$3', short='[$2 ESPN]', langcode='en' },
-- Modern pentathlon --
{ prop='P2726', message='[$2 $1] at [[Union Internationale de Pentathlon Moderne|UIPM]]$3', short='[$2 UIPM]', langcode='en' },
-- Motorsport
{ prop='P3048', message='[$2 $1] at Racing-Reference.info$3', short='[$2 Racing-Reference.info]', langcode='en' },
{ prop='P3684', message='[$2 $1] at DriverDB.com$3', short='[$2 DriverDB.com]', langcode='en' },
{ prop='P3930', message='[$2 $1] at Rallye-info.com$3', short='[$2 Rallye-info.com]', langcode='en' },
{ prop='P3927', message='[$2 $1] at eWRC-results.com$3', short='[$2 eWRC-results.com]', langcode='en' },
{ prop='P3928', message='[$2 $1] at MotoGP.com$3', short='[$2 MotoGP.com]', langcode='en' },
{ prop='P4076', message='[$2 $1] at WorldSBK.com$3', short='[$2 WorldSBK.com]', langcode='en' },
-- Orienteering
{ prop='P3672', message='[$2 $1] at [[International Orienteering Federation|IOF]]$3', short='[$2 IOF]', langcode='en' },
{ prop='P4542', message='[$2 $1] at World of O$3', short='[$2 World of O]', langcode='en' },
-- Rowing
{ prop='P8990', message='[$2 $1] at [[World Rowing Federation|World Rowing]]$3', short='[$2 World Rowing]', langcode='en' },
-- Rugby
{ prop='P861', message='[$2 $1] at [[Premiership Rugby]]$3', short='[$2 Premiership Rugby]', langcode='en' },
{ prop='P3745', message='[$2 $1] at [[World Rugby Sevens Series]]$3', short='[$2 World Rugby Sevens Series]', langcode='en' },
{ prop='P858', message='[$2 $1] at [[ESPNscrum]]$3', short='[$2 ESPNscrum]', langcode='en' },
{ prop='P3769', message='[$2 $1] at ItsRugby.co.uk$3', short='[$2 ItsRugby.co.uk]', langcode='en' },
-- Sailing
{ prop='P2804', message='[$2 $1] at [[World Sailing]]$3', short='[$2 World Sailing]', langcode='en' },
{ prop='P4261', message='[$2 $1] at [[French Sailing Federation]]$3', short='[$2 French Sailing Federation]', langcode='fr' },
-- Shooting
{ prop='P2730', message='[$2 $1] at [[International Shooting Sport Federation|ISSF]]$3', short='[$2 ISSF]', langcode='en' },
-- Skiing (alpine, cross-country, freestyle, ski jumping, snowboarding)
{ prop='P2772', message='[$2 $1] at [[International Ski Federation|FIS]] (alpine)$3', short='[$2 FIS (alpine)]', langcode='en' },
{ prop='P2773', message='[$2 $1] at [[International Ski Federation|FIS]] (cross-country)$3', short='[$2 FIS (cross-country)]', langcode='en' },
{ prop='P2774', message='[$2 $1] at [[International Ski Federation|FIS]] (freestyle)$3', short='[$2 FIS (freestyle)]', langcode='en' },
{ prop='P2775', message='[$2 $1] at [[International Ski Federation|FIS]] (ski jumping)$3', short='[$2 FIS (ski jumping)]', langcode='en' },
{ prop='P2776', message='[$2 $1] at [[International Ski Federation|FIS]] (Nordic combined)$3', short='[$2 FIS (Nordic combined)]', langcode='en' },
{ prop='P2777', message='[$2 $1] at [[International Ski Federation|FIS]] (snowboarding)$3', short='[$2 FIS (snowboarding)]', langcode='en' },
-- { prop='P3619', message='[$2 $1] at 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' }, -- long track skating
{ prop='P3694', message='[$2 $1] at SpeedSkatingNews.info$3', short='[$2 SpeedSkatingNews.info]', langcode='en' }, -- long track skating
{ prop='P3695', message='[$2 $1] at SpeedSkatingStats.com$3', short='[$2 SpeedSkatingStats.com]', langcode='en' }, -- long track skating
{ prop='P3693', message='[$2 $1] at ShortTrackOnLine.info$3', short='[$2 ShortTrackOnLine.info]', langcode='en' }, -- short track skating
{ prop='P7146', message='[$2 $1] at Rollerstory.net', short='[$2 Rollerstory.net]', langcode='en' }, -- inline skating
-- Squash
{ prop='P3476', message='[$2 $1] at [[Professional Squash Association|PSA World Tour]]$3', short='[$2 PSA World Tour]', langcode='en' },
{ prop='P3286', message='[$2 $1] at SquashInfo.com$3', short='[$2 SquashInfo.com]', langcode='en' },
-- Sumo wrestling
{ prop='P3385', message='[$2 $1] at [[Japan Sumo Association]]$3', short='[$2 Japan Sumo Association]', langcode='en' },
-- Surfing
{ prop='P3339', message='[$2 $1] at [[World Surf League]]$3', short='[$2 World Surf League]', langcode='en' },
{ prop='P3338', message='[$2 $1] at EncyclopediaOfSurfing.com$3', short='[$2 EncyclopediaOfSurfing.com]', langcode='en' },
-- Table tennis
{ prop='P1364', message='[$2 $1] at [[International Table Tennis Federation|ITTF]]$3', short='[$2 ITTF]', langcode='en' },
-- Tennis
{ prop='P536', message='[$2 $1] at the [[Association of Tennis Professionals]]$3', short='[$2 ATP]', langcode='en' }, -- player
{ prop='P3456', message='[$2 $1] at [[Association of Tennis Professionals|ATP]]$3', short='[$2 ATP]', langcode='en' }, -- tournament
{ prop='P597', message="[$2 $1] at the [[Women's Tennis Association]]$3", short='[$2 WTA]', langcode='en' }, -- player
{ prop='P3469', message="[$2 $1] at [[Women's Tennis Association|WTA]]$3", short='[$2 WTA]', langcode='en' }, -- tournament
{ prop='P8618', message='[$2 $1] at the [[International Tennis Federation]]$3', short='[$2 ITF]', langcode='en' },
{ prop='P2641', message='[$2 $1] at the [[Davis Cup]]$3', short='[$2 Davis Cup]', langcode='en' },
{ prop='P2642', message='[$2 $1] at the [[Fed Cup|Billie Jean Cup]]$3', short='[$2 Billie Jean Cup]', langcode='en' },
{ prop='P3363', message='[$2 $1] at the [[International Tennis Hall of Fame]]$3', short='[$2 International Tennis Hall of Fame]', langcode='en' },
{ prop='P3698', message='[$2 $1] at [[Tennis Australia]]$3', short='[$2 Tennis Australia]', langcode='en' },
{ prop='P3670', message='[$2 $1] at TennisArchives.com$3', short='[$2 TennisArchives.com]', langcode='en' },
{ prop='P4503', message='[$2 $1] at [[The Championships, Wimbledon|Wimbledon]]$3', short='[$2 Wimbledon]', langcode='en' },
{ prop='P10028', message='[$2 $1] at tennisabstract.com$3', short='[$2 tennisabstract.com]', langcode='en' },
-- Triathlon
{ prop='P3604', message='[$2 $1] at [[World Triathlon]]$3', short='[$2 World Triathlon]', langcode='en' },
{ prop='P2778', message='[$2 $1] at Institute for Applied Training Science (IAT)$3', short='[$2 IAT]', langcode='en' }, -- IAT triathlon database
-- Volleyball
{ prop='P2801', message='[$2 $1] at [[Fédération Internationale de Volleyball|FIVB]]$3', short='[$2 FIVB]', langcode='en' },
{ prop='P3725', message='[$2 $1] at [[European Volleyball Confederation]]$3', short='[$2 European Volleyball Confederation]', langcode='en' },
{ prop='P2800', message='[$2 $1] at [[Beach Volleyball Database]]$3', short='[$2 Beach Volleyball Database]', langcode='en' },
{ prop='P5789', message='[$2 $1] at WorldofVolley$3', short='[$2 WorldofVolley]', langcode='en' },
{ prop='P4298', message='[$2 $1] at [[Volleyball-Bundesliga]]$3', short='[$2 Volleyball-Bundesliga]', langcode='de' },
{ prop='P4617', message='[$2 $1] at Deutscher Volleyball-Verband$3', short='[$2 Deutscher Volleyball-Verband]', langcode='de' },
{ prop='P4281', message='[$2 $1] at Ligue Nationale de Volley$3', short='[$2 Ligue Nationale de Volley]', langcode='fr' },
{ prop='P4303', message='[$2 $1] at [[Lega Pallavolo Serie A]]$3', short='[$2 Lega Pallavolo Serie A]', langcode='it' },
{ prop='P4259', message='[$2 $1] at [[Lega Pallavolo Serie A Femminile]]$3', short='[$2 Lega Pallavolo Serie A Femminile]', langcode='it' },
{ prop='P6527', message='[$2 $1] at [[V.League (Japanese Volleyball League)|V.League]] (men)$3', short='[$2 V.League (men)]', langcode='ja' },
{ prop='P6528', message='[$2 $1] at [[V.League (Japanese Volleyball League)|V.League]] (women)$3', short='[$2 V.League (women)]', langcode='ja' },
{ prop='P5959', message='[$2 $1] at [[V.League (Japanese Volleyball League)|V.League]] (archived)$3', short='[$2 V.League (archived)]', langcode='ja' },
-- Weightlifting
{ prop='P3667', message='[$2 $1] at [[International Weightlifting Federation|IWF]]$3', short='[$2 IWF]', langcode='en' },
{ prop='P4504', message='[$2 $1] at International Weightlifting Results Project$3', short='[$2 International Weightlifting Results Project]', langcode='en' },
{ prop='P6097', message='[$2 $1] at AllPowerlifting.com$3', short='[$2 AllPowerlifting.com]', langcode='en' }, -- Wikidata formatter URL is for English language web page
{ prop='P2779', message='[$2 $1] at Institute for Applied Training Science (IAT)$3', short='[$2 IAT]', langcode='de' }, -- IAT weightlifting database
-- Wrestling (amateur)
{ prop='P2727', message='[$2 $1] at [[United World Wrestling]]$3', short='[$2 United World Wrestling]', langcode='en' }, -- was FILA
-- Wrestling (professional)
{ prop='P2857', message='[$2 $1] at [[WWE|WWE.com]]$3', short='[$2 WWE.com]', langcode='en' },
{ prop='P2764', message='[$2 $1] at WrestlingData.com$3', short='[$2 WrestlingData.com]', langcode='en' },
{ prop='P2728', message='[$2 $1] at CageMatch worker$3', short='[$2 CageMatch worker]', langcode='en' },
{ prop='P2829', message='[$2 $1] at Internet Wrestling Database$3', short='[$2 Internet Wrestling Database]', langcode='en' },
{ prop='P2830', message='[$2 $1] at Online World of Wrestling$3', short='[$2 Online World of Wrestling]', langcode='en' },
-- Various
{ prop='P3653', message='[$2 $1] at [[Association of Road Racing Statisticians|ARRS]]$3', short='[$2 ARRS]', langcode='en' },
{ prop='P3760', message='[$2 $1] at [[Iditarod Trail Sled Dog Race]]$3', short='[$2 Iditarod Trail Sled Dog Race]', langcode='en' },
{ prop='P3584', message='[$2 $1] at [[International Trail Running Association|ITRA]]$3', short='[$2 ITRA]', short='[$2 ITRA]', langcode='en' },
{ prop='P3427', message='[$2 $1] at [[Diario AS|AS.com]]$3', short='[$2 AS.com]', langcode='es' },
{ prop='P1285', message='[$2 $1] at Munzinger Sports Archives$3', short='[$2 Munzinger Sports Archives]', langcode='de' },
{ prop='P3715', message='[$2 $1] at NISH Hall of Fame$3', short='[$2 NISH Hall of Fame]', langcode='de' },
-- Olympics / Paralympics
-- international
{ prop='P5815', message='[$2 $1] at [[International Olympic Committee|Olympics.com]]$3', short='[$2 Olympics.com]', langcode='en' },
-- { prop='P5815', message='[$2 $1] at [[Olympic Channel|OlympicChannel.com]] (archived)$3', short='[$2 OlympicChannel.com (archived)]', langcode='en', url='https://timetravel.mementoweb.org/memento/20201231/https://www.olympicchannel.com/en/athletes/detail/$1/' },
-- { prop='P3171', message='[$2 $1] at [[International Olympic Committee|Olympic.org]] (archived)$3', short='[$2 Olympic.org (archived)]', langcode='en', url='https://timetravel.mementoweb.org/memento/20201231/https://www.olympic.org/$1' },
{ prop='P7550', message='[$2 $1] at [[International Paralympic Committee|Paralympic.org]]$3', short='[$2 Paralympic.org]', langcode='en' },
{ prop='P4397', message='[$2 $1] at [[International Paralympic Committee|IPC]].InfostradaSports.com$3', short='[$2 IPC.InfostradaSports.com]', langcode='en' },
-- national
{ prop='P2323', message='[$2 $1] at the [[Swedish Olympic Committee]]$3', short='[$2 Swedish Olympic Committee]', langcode='sv' },
{ prop='P2593', message='[$2 $1] at the [[Latvian Olympic Committee]]$3', short='[$2 Latvian Olympic Committee]', langcode='lv' },
{ prop='P3682', message='[$2 $1] at the [[Australian Olympic Committee]]$3', short='[$2 Australian Olympic Committee]', langcode='en' },
{ prop='P4050', message='[$2 $1] at the [[French Olympic Committee]]$3', short='[$2 French Olympic Committee]', langcode='fr' },
{ prop='P4053', message='[$2 $1] at the [[German Olympic Committee]]$3', short='[$2 German Olympic Committee]', langcode='de' },
{ prop='P4054', message='[$2 $1] at the [[Canadian Olympic Committee]]$3', short='[$2 Canadian Olympic Committee]', langcode='en' },
{ prop='P4056', message='[$2 $1] at the [[New Zealand Olympic Committee]]$3', short='[$2 New Zealand Olympic Committee]', langcode='en' },
{ prop='P4060', message='[$2 $1] at the [[Brazilian Olympic Committee]]$3', short='[$2 Brazilian Olympic Committee]', langcode='pt' },
{ prop='P4061', message='[$2 $1] at the [[Lithuanian Olympic Committee]]$3', short='[$2 Lithuanian Olympic Committee]', langcode='lt' },
{ prop='P4062', message='[$2 $1] at the [[Czech Olympic Committee]]$3', short='[$2 Czech Olympic Committee]', langcode='cs' },
{ prop='P4063', message='[$2 $1] at the [[United States Olympic & Paralympic Committee|U.S. Olympic & Paralympic Committee]]$3', short='[$2 U.S. Olympic & Paralympic Committee]', langcode='en' },
{ prop='P4065', message='[$2 $1] at the [[Argentine Olympic Committee]]$3', short='[$2 Argentine Olympic Committee]', langcode='es' },
{ prop='P4066', message='[$2 $1] at the [[Hungarian Olympic Committee]]$3', short='[$2 Hungarian Olympic Committee]', langcode='hu' },
{ prop='P4067', message='[$2 $1] at the [[Romanian Olympic Committee]]$3', short='[$2 Romanian Olympic Committee]', langcode='ro' },
{ prop='P4068', message='[$2 $1] at the [[Chinese Olympic Committee]]$3', short='[$2 Chinese Olympic Committee]', langcode='en' }, -- Wikidata formatter URL is for English language web page
{ prop='P4069', message='[$2 $1] at the [[Italian Olympic Committee]]$3', short='[$2 Italian Olympic Committee]', langcode='it' },
{ prop='P4490', message='[$2 $1] at the [[British Olympic Association]]$3', short='[$2 British Olympic Association]', langcode='en' },
{ prop='P4541', message='[$2 $1] at the [[Croatian Olympic Committee]]$3', short='[$2 Croatian Olympic Committee]', langcode='hr' },
{ prop='P4547', message='[$2 $1] at the [[Serbian Olympic Committee]]$3', short='[$2 Serbian Olympic Committee]', langcode='sr' },
{ prop='P4593', message='[$2 $1] at the [[Spanish Paralympic Committee]]$3', short='[$2 Spanish Paralympic Committee]', langcode='es' },
-- P4489 is Greek (Hellenic) Olympic Committee, did not add link because website is currently unsafe/infected
{ prop='P6071', message='[$2 $1] at the [[Polish Olympic Committee]]$3', short='[$2 Polish Olympic Committee]', langcode='pl' },
{ prop='P8421', message='[$2 $1] at the [[Spanish Olympic Committee]]$3', short='[$2 Spanish Olympic Committee]', langcode='es' },
{ prop='P8797', message='[$2 $1] at the [[French Paralympic and Sports Committee]]$3', short='[$2 French Paralympic and Sports Committee]', langcode='fr' },
{ prop='P9669', message='[$2 $1] at the [[Olympic Committee of Israel]]$3', short='[$2 Olympic Committee of Israel]', langcode='he' },
-- other
{ prop='P8286', message='[$2 $1] at Olympedia$3', short='[$2 Olympedia]', langcode='en' },
-- { prop='P1447', message='[$2 $1] at [[Sports Reference|Olympics at Sports-Reference.com]] (archived)$3', short='[$2 Olympics at Sports-Reference.com (archived)]', langcode='en' },
{ prop='P3520', message='[$2 $1] at databaseOlympics.com (archived)$3', short='[$2 databaseOlympics.com (archived)]', langcode='en' }, -- uses archived URL
-- Other multi-nation games
{ prop='P4548', message='[$2 $1] at the [[Commonwealth Games Federation]]$3', short='[$2 Commonwealth Games Federation]', langcode='en' },
{ prop='P5716', message='[$2 $1] at the [[Melbourne 2006 Commonwealth Games]]$3', short='[$2 Melbourne 2006 Commonwealth Games]', langcode='en' },
{ prop='P6953', message='[$2 $1] at the [[Glasgow 2014 Commonwealth Games]]$3', short='[$2 Glasgow 2014 Commonwealth Games]', langcode='en' },
{ prop='P4588', message='[$2 $1] at the [[International World Games Association]]$3', short='[$2 International World Games Association]', langcode='en' },
{ prop='P4893', message='[$2 $1] at the [[X Games]]$3', short='[$2 X Games]', langcode='en' },
-- General databases
-- { prop='P4391', message='[$2 $1] at The-Sports.org$3', short='[$2 The-Sports.org]', langcode='en' },
}
local messages_conf = {}
messages_conf['en'] = {
['short-list-separator'] = ', ',
['with-data-cat'] = '[[Category:Articles using sports links with data from Wikidata]]',
['no-data-text'] = "''This article has no properties for sports databases in Wikidata''",
['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