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

configured_claims['ko'] = {

	-- { prop='P373', message="[$2 ''$1''] – pictures, videos or audio at Wikimedia Commons$3", short="[$2 Wikimedia Commons]", langcode='en', url_f=commons_formatter },

-- Aquatics 

-- Archery

-- Athletics (track and field)

	-- international

	-- national

	-- Other

	-- removed dead link: { prop='P3765', message='[$2 $1] - All-Athletics.com$3', short='[$2 All-Athletics.com]', langcode='en' },

-- Badminton

-- Baseball

	-- governing bodies and leagues

	-- other

-- Basketball

	-- governing bodies and leagues

	-- other

-- Biathlon

-- Billiards / Snooker

-- Bobsleigh / Skeleton / Luge

-- Boxing

-- Canoe / Kayak

	-- removed deleted property: { prop='P3688', message='[$2 $1] - ICF (sprint)$3', short='[$2 ICF (sprint)]', langcode='en' },

-- Chess

-- Climbing

-- Cricket

-- Curling

-- Cycling

-- Darts

-- Equestrian

-- Fencing

-- Field hockey

-- Figure skating

-- Football 

-- Football 

	-- international

	-- national

	-- other

	-- removed dead link: { prop='P3532', message='[$2 $1] - databaseFootball.com$3', short='[$2 databaseFootball.com]', langcode='en' },
	-- removed dead link: { prop='P3043', message='[$2 $1] - Scoresway.com$3', short='[$2 Scoresway.com]', langcode='en' },
	-- not used on enwiki: { prop='P2446', message='[$2 $1] - Transfermarkt (player)$3', short='[$2 Transfermarkt (player)]', langcode='en' },
	-- not used on enwiki: { prop='P2447', message='[$2 $1] - Transfermarkt (manager)$3', short='[$2 Transfermarkt (manager)]', langcode='en' },
	-- not used on enwiki: { prop='P3699', message='[$2 $1] - Transfermarkt (referee)$3', short='[$2 Transfermarkt (referee)]', langcode='en' },

-- Football (Australian)

-- Futsal

-- Golf

-- Gymnastics

-- Handball

	-- federations

	-- leagues

	-- clubs

	-- other

	-- removed dead link: { prop='P4451', message='[$2 $1] - Scoresway.com$3', short='[$2 Scoresway.com]', langcode='en' },

-- Ice hockey

-- Martial arts 

-- Modern pentathlon --

-- Motorsport

		
-- Orienteering

-- Rowing

-- Rugby

-- Sailing

-- Shooting

-- Skiing 

-- Speed skating

-- Squash

-- Sumo wrestling

-- Surfing

-- Table tennis

-- Tennis

-- Triathlon

-- Volleyball

-- Weightlifting

-- Wrestling (amateur)

-- Wrestling (professional)
	
-- Various

	
-- Olympics / Paralympics

	-- international

	-- { prop='P5815', message='[$2 $1] - 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/' },

	-- national

	-- P4489 is Greek (Hellenic) Olympic Committee, did not add link because website is currently unsafe/infected

	-- other

-- Other multi-nation games

-- General databases


local messages_conf = {}

messages_conf['ko'] = {
	['short-list-separator'] = ', ',
	['with-data-cat'] = '분류:위키데이터의 데이터에 스포츠 링크가 있는 문서',
	['no-data-text'] = "이 문서는 위키데이터에 소포츠 데이터베이스의 속성이 없습니다",
	['no-data-cat'] = '분류:위키데이터의 데이터가 없는 스포츠 링크가 있는 문서',
	['no-wikilink'] = "이 문서는 위키데이터에 링크가 없습니다",
	['no-wikilink-cat'] = "위키데이터에 링크가 없는 스포츠 링크가 있는 문서",
	['with-local-cat'] = '로컬 값이 있는 스포츠 링크가 있는 문서',
	['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 
	return configured_claims[lang]
end

function p.getLimits (self)
	return limits
end

function p.getMessage 
	return messages_conf[lang][msg] 
end

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

-- install the metatable
setmetatable