Modul:Ulasan permainan video/data

local reviewers = {
	{'[[1UP.com]]', '1UP'},
	{'[[Adventure Gamers]]', 'AdvGamers'},
	{'[[AllGame]]', 'Allgame'},
	{"[[Amstrad Action|''Amstrad Action'']]", 'AAction'},
	{"[[Amtix!|''Amtix!'']]", 'Amtix'},
	{"[[Computer Gaming World|''CGW'']]", 'CWG'},
	{"[[Computer and Video Games|''CVG'']]", 'CVG'},
	{"[[Crash (majalah)|''Crash'']]", 'CRASH'},
	{"[[Destructoid|''Destructoid'']]", 'Destruct'},
	{"[[Dragon (majalah)|''Dragon'']]", 'Dragon'},
	{"[[Edge (majalah)|''Edge'']]", 'Edge'},
	{"[[Electronic Gaming Monthly|''EGM'']]", 'EGM'},
	{'[[Eurogamer]]', 'EuroG'},
	{"[[Famitsu|''Famitsu'']]", 'Fam'},
	{'[[G4 (saluran televisi)|G4]]', 'G4'},
	{"[[GameFan|''GameFan'']]", 'GameFan'},
	{"[[Game Informer|''Game Informer'']]", 'GI'},
	{"[[GamePro|''GamePro'']]", 'GamePro'},
	{'[[Game Revolution]]', 'GameRev'},
	{"[[GamesMaster|''GamesMaster'']]", 'GMaster'},
	{'[[GameSpot]]', 'GSpot'},
	{'[[GameSpy]]', 'GSpy'},
	{'[[GamesRadar]]', 'GRadar'},
	{"[[GamesTM|''GamesTM'']]", 'GTM'},
	{'[[GameTrailers]]', 'GT'},
	{'[[GameZone]]', 'GameZone'},
	{'[[Giant Bomb]]', 'GB'},
	{"[[Hyper (majalah)|''Hyper'']]", 'Hyper'},
	{'[[IGN]]', 'IGN'},
	{'[[Joystiq]]', 'Joystiq'},
	{"[[Maximum PC|''Maximum PC'']]", 'MaxPC'},
	{"[[NGC Magazine|''N64 Magazine'']]", 'N64'},
	{"[[NGC Magazine|''NGC Magazine'']]", 'NGC'},
	{"[[Nintendo Gamer|''NGamer'']]", 'NG'},
	{'[[Nintendo Life]]', 'NLife'},
	{"[[Nintendo Power|''Nintendo Power'']]", 'NP'},
	{'Nintendo World Report', 'NWR'},
	{"[[Official Nintendo Magazine|''ONM'']]", 'ONM'},
	{"[[Official U.S. PlayStation Magazine|''OPM'' (US)]]", 'OPM'},
	{"[[PlayStation Official Magazine - UK|''OPM'' (UK)]]", 'OPMUK'},
	{"[[PlayStation Official Magazine - Australia|''OPM'' (AU)]]", 'OPMAU'},
	{"[[Official Xbox Magazine|''OXM'']]", 'OXM'},
	{"[[Official Xbox Magazine|''OXM'' (UK)]]", 'OXMUK'},
	{'[[PALGN]]', 'PALGN'},
	{"[[PC Format|''PC Format'']]", 'PCF'},
	{"[[PC Gamer|''PC Gamer'' (UK)]]", 'PCGUK'},
	{"[[PC Gamer|''PC Gamer'' (US)]]", 'PCGUS'},
	{"[[PC PowerPlay|''PC PowerPlay'']]", 'PCPP'},
	{"[[PC Zone|''PC Zone'']]", 'PCZone'},
	{"[[Play (majalah Inggris)|''Play'']]", 'Play'},
	{'[[Polygon (situs web)|Polygon]]', 'Poly'},
	{"[[PlayStation: The Official Magazine|''PSM'']]", 'PSM'},
	{"[[PSM3|''PSM3'']]", 'PSM3'},
	{'[[RPGamer]]', 'RPG'},
	{"[[Sinclair User|''Sinclair User'']]", 'SUser'},
	{'[[TeamXbox]]', 'TX'},
	{'[[VideoGamer.com]]', 'VG'},
	{"[[X-Play|''X-Play'']]", 'XPlay'},
	{"[[Your Sinclair|''Your Sinclair'']]", 'YSinclair'},
}

local aggregators = {
	{'[[GameRankings]]','GR'},
	{'[[Metacritic]]','MC'},
}

local systems = {
	{'[[Nintendo 3DS|3DS]]','3DS'},
	{'[[Atari 2600]]','A2600'},
	{'[[ColecoVision]]','CV'},
	{'[[Nintendo DS|DS]]','DS'},
	{'[[Dreamcast]]','SDC'},	
	{'[[Game Boy]]','GB'},
	{'[[Game Boy Advance|GBA]]','GBA'},
	{'[[Game Boy Color|GBC]]','GBC'},
	{'[[GameCube|GC]]','NGC'},	
	{'[[Daftar konsol permainan video|General]]','GEN'},
	{'[[iOS]]','iOS'},
	{'[[Atari Lynx]]','LYNX'},	
	{'[[Macintosh]]','MAC'},
	{'[[Sega Genesis|Mega Drive]]','SMD'},	
	{'[[Telepon genggam|mobile]]','MOB'},
	{'[[N-Gage|N-Gage]]','N-G'},
	{'[[Nintendo 64|N64]]','N64'},
	{'[[Nintendo Entertainment System|NES]]','NES'},
	{'[[Komputer pribadi|PC]]','PC'},
	{'[[PlayStation (konsol)|PS]]','PS'},
	{'[[PlayStation 2|PS2]]','PS2'},
	{'[[PlayStation 3|PS3]]','PS3'},
	{'[[PlayStation 4|PS4]]','PS4'},
	{'[[PlayStation Portable|PSP]]','PSP'},
	{'[[Sega Game Gear|SGG]]','SGG'},
	{'[[Super Nintendo Entertainment System|SNES]]','SNES'},
	{'[[Sega Master System]]','SMS'},
	{'[[Sega Saturn|Saturn]]','SSAT'},
	{'[[Nvidia Shield|Shield]]','NSHI'},	
	{'[[TurboGrafx-16]]','TG16'},
	{'[[PlayStation Vita|PS Vita]]','VITA'},
	{'[[Wii]]','WII'},
	{'[[Wii U]]','WIIU'},	
	{'[[Xbox (konsol)|Xbox]]','XBOX'},
	{'[[Xbox 360]]','X360'},
	{'[[Xbox One]]','XONE'},
}

local function setupSortkeys(t)
	local retval = {}
	for k,v in ipairs(t) do
		retval[v[2]] = { name = v[1], sortkey = k }
	end
	return retval
end

return {
	reviewers = setupSortkeys(reviewers),
	aggregators = setupSortkeys(aggregators),
	systems = setupSortkeys(systems),
	i18n = {
		wrapper = 'Templat:Ulasan permainan video',
		emptyCategory = '[[Kategori:Templat kosong pada artikel]]',
		multiplatformCategory = '[[Kategori:Artikel yang menggunakan templat ulasan permainan video dalam mode platform berganda]]',
		singleplatformCategory = '[[Kategori:Artikel yang menggunakan templat ulasan permainan video dalam mode platform tunggal]]',
		aggregateScore = 'Nilai agregat',
		aggregateScores = 'Nilai agregat',
		aggregator = 'Agregator',
		award = 'Penghargaan',
		awards = 'Penghargaan',
		na = 'N/A',
		publication = 'Publikasi',
		reception = 'Nilai ulasan dan agregat',
		reviewScore = 'Nilai ulasan',
		reviewScores = 'Nilai ulasan',
		score = 'Nilai',
	},
	argi18n = {
		-- For non-English wikis, add translations of argument keys here.
		-- Example:
		-- subtitle = 'untertitel'
	}
}