模組解[]
local function tsl(args)
	return mw.getCurrentFrame():expandTemplate {title = "Translink", args = args}
end

local reviewers = {

	{"[[1UP.com]]", "1UP"},
    {"[[4Players]]", "4P"},
	{tsl {"en", "ActionTrip", "ActionTrip"}, "Atrip"},
	{tsl {"en", "Adventure Gamers", "Adventure Gamers"}, "AdvGamers"},
	{"[[All Media Guide|AllGame]]", "Allgame"},
	{tsl {"en", "Amstrad Action", "Amstrad Action"}, "AAction"},
	{tsl {"en", "Computer Games Magazine", "電腦遊戲雜誌"}, "CGM"},
	{tsl {"en", "Amtix!", "Amtix!"}, "Amtix"},
	{tsl {"en", "ACE (magazine)", "ACE (雜誌)", "ACE"}, "ACE"},
	{"[[電腦游戏世界]]", "CWG"},
	{"[[電腦与电子游戏]]", "CVG"},
	{"[[撞击 (雜誌)|撞擊]]", "CRASH"},
	{"[[Destructoid]]", "Destruct"},
	{"[[龙 (雜誌)|龙]]", "Dragon"},
	{tsl {"en", "Easy Allies", "Easy Allies"}, "EZA"},
	{"[[Edge (雜誌)|Edge]]", "Edge"},
	{"[[电子游戏月刊]]", "EGM"},
	{"[[Eurogamer]]", "EuroG"},
	{"[[Fami通]]", "Fam"},
	{tsl {"en", "Financial Post", "金融郵報"}, "FP"},
	{"[[G4 (电视频道)|G4]]", "G4"},
	{"GameCritics", "GCritics"},
	{tsl {"en", "GameFan", "GameFan"}, "GameFan"},
	{"[[Game Informer]]", "GI"},
	{"[[GamePro]]", "GamePro"},
	{"[[Game Revolution]]", "GameRev"},
	{tsl {"en", "GamesMaster", "GamesMaster"}, "GMaster"},
	{"[[GamesRadar+]]", "GRadar"},
	{"[[GameSpot]]", "GSpot"},
	{"[[GameSpy]]", "GSpy"},
	{"[[GamesTM]]", "GTM"},
	{"[[GameTrailers]]", "GT"},
	{"[[GameWire]]", "GW"},
	{"[[Gamezebo]]", "Gamezebo"},
	{"[[GameZone]]", "GameZone"},
	{"[[Giant Bomb]]", "GB"},
	{tsl {"Hyper (magazine)", "Hyper (雜誌)", "Hyper"}, "Hyper"},
	{"[[Hardcore Gamer|HardcoreGamer]]", "HCG"},
	{"[[IGN]]", "IGN"},
	{"[[Jeuxvideo.com]]", "JXV"},
	{"[[Joystiq]]", "Joystiq"},
	{tsl {"en", "Maximum PC", "Maximum PC"}, "MaxPC"},
	{tsl {"en", "NGC_Magazine", "NGC雜誌", "NGC"}, "N64"},
	{tsl {"en", "NGC_Magazine", "NGC雜誌", "NGC"}, "NGC"},
	{tsl {"en", "NGamer", "NGamer"}, "NG"},
	{"[[次世代]]", "NGen"},
	{"Nintendo Life", "NLife"},
	{"[[任天堂力量]]", "NP"},
	{"任天堂世界报道", "NWR"},
	{"[[紐約每日新聞]]", "NYDN"},
	{"[[官方任天堂雜誌]]", "ONM"},
	{"[[官方美国PlayStation雜誌|美国PlayStation官方雜誌]]", "OPM"},
	{"[[PlayStation官方雜誌 (英国)|英国PlayStation官方雜誌]]", "OPMUK"},
	{tsl {"en", "PlayStation_Official_Magazine_–_Australia", "官方PlayStation雜誌 (澳大利亚)", "澳洲官方PlayStation雜誌"}, "OPMAU"},
	{"[[官方Xbox雜誌]]", "OXM"},
	{"[[官方Xbox雜誌|官方Xbox雜誌英国]]", "OXMUK"},
	{tsl {"en", "PALGN", "PALGN"}, "PALGN"},
	{tsl {"en", "PC Format", "PC Format"}, "PCF"},
    {"[[PCGamesN]]", "PCGN"},
	{"[[PC Gamer|PC Gamer英国]]", "PCGUK"},
	{"[[PC Gamer|PC Gamer美国]]", "PCGUS"},
	{ "[[个人電腦雜誌]]", 'PCM' },
	{tsl {"en", "PC PowerPlay", "PC PowerPlay"}, "PCPP"},
	{tsl {"en", "PC Zone", "PC Zone"}, "PCZone"},
	{"[[Play (英国雜誌)|Play]]", "Play"},
	{"[[Pocket Gamer]]", "PG"},
	{"[[Polygon]]", "Poly"},
	{tsl {"en", "PlayStation:_The_Official_Magazine", "PlayStation雜誌"}, "PSM"},
	{tsl {"en", "PSM3", "PSM3"}, "PSM3"},
	{ "Push Square", "PSQ"},
	{"[[RPGamer]]", "RPG"},
	{tsl {"en", "Sinclair User", "Sinclair User"}, "SUser"},
	{"[[Shacknews]]", "SN"},
	{tsl {"en", "TeamXbox", "TeamXbox"}, "TX"},
	{"[[TouchArcade]]", 'TA' },
    {"[[衛報]]", 'TG' },
	{"[[Eurogamer|USGamer]]", "USG"},
	{"[[VentureBeat]]", 'VB' },
	{"[[VG247]]", 'VG247' },
	{"[[VideoGamer.com]]", "VG"},
	{tsl {"en", "X-Play", "X-Play"}, "XPlay"},
	{tsl {"en", "Your Sinclair", "Your Sinclair"}, "YSinclair"},

-- 中文媒体
	{"[[游戏机实用技术]]", "UCG"},
	{"[[电子游戏软件]]", "电软"},
	{"[[电子游戏软件]]", "電軟"},
	{"[[大众软件]]", "大软"},
	{"[[大众软件]]", "大軟"},
	{"[[游戏时光]]", "VGT"},
	{"[[游民星空]]", "游民"},
	{"[[游民星空]]", "遊民"},

}

local aggregators = {
	{"[[GameRankings]]", "GR"},
	{"[[Metacritic]]", "MC"},
	{"[[OpenCritic]](推荐率)", "OC"},
}

local systems = {
	
	{"[[游戏机列表|綜合]]", "GEN"},	-- 00000000
	{"[[雅達利2600]]", "A2600"},	-- 19770901
	{"[[ColecoVision]]", "CV"},	-- 19820899
	{"[[红白机|FC]]", "NES"},	-- 19830715
	{"[[红白机|FC]]", "FC"},	-- 19830715
	{"[[世嘉Master System|MS]]", "SMS"},	-- 19851020
	{"[[PC Engine|PCE]]", "PCE"},	-- 19871030
	{"[[PC Engine|PCE]]", "TG16"},	-- 19871030
	{"[[Mega Drive|MD]]", "MD"},	-- 19881029
	{"[[Mega Drive|MD]]", "SMD"},	-- 19881029
	{"[[Game Boy|GB]]", "GB"},	-- 19890421
	{"[[Game Gear|GG]]", "SGG"},	-- 19901006
	{"[[超級任天堂|SFC]]", "SNES"},	-- 19901121
	{"[[超級任天堂|SFC]]", "SFC"},	-- 19901121
	{"[[世嘉土星|SS]]", "SS"},	-- 19941122
	{"[[世嘉土星|SS]]", "SSAT"},	-- 19941122
	{"[[PlayStation|PS]]", "PS"},	-- 19941203
	{"[[任天堂64|N64]]", "N64"},	-- 19960623
	{"[[Game Boy Color|GBC]]", "GBC"},	-- 19981021
	{"[[Dreamcast|DC]]", "DC"},	-- 19981127
	{"[[Dreamcast|DC]]", "SDC"},	-- 19981127
	{"[[PlayStation 2|PS2]]", "PS2"},	-- 20000304
	{"[[Game Boy Advance|GBA]]", "GBA"},	-- 20010321
	{"[[任天堂GameCube|NGC]]", "NGC"},	-- 20010914
	{"[[Xbox (遊戲機)|Xbox]]", "XBOX"},	-- 20011115
	{"[[N-Gage|N-G]]", "N-G"},	-- 20031007
	{"[[任天堂DS|DS]]", "DS"},	-- 20041121
	{"[[任天堂DS|DS]]", "NDS"},	-- 20041121
	{"[[PlayStation Portable|PSP]]", "PSP"},	-- 20041212
	{"[[Xbox 360|X360]]", "X360"},	-- 20051122
	{"[[PlayStation 3|PS3]]", "PS3"},	-- 20061111
	{"[[Wii]]", "WII"},	-- 20061119
	{"[[任天堂3DS|3DS]]", "3DS"},	-- 20110226
	{"[[任天堂3DS|3DS]]", "N3DS"},	-- 20110226
	{"[[PlayStation Vita|PSV]]", "VITA"},	-- 20111217
	{"[[Wii U|WiiU]]", "WiiU"},	-- 20121118
	{"[[Shield Portable|Shield]]", "NSHI"},	-- 20130731
	{"[[PlayStation 4|PS4]]", "PS4"},	-- 20131115
	{"[[Xbox One|XOne]]", "XONE"},	-- 20131122
	{"[[任天堂Switch|NS]]", "NS"},	-- 20170303
	{"[[Xbox Series X/S|XSX/S]]", "XSXS"},	-- 20201110
	{"[[PlayStation 5|PS5]]", "PS5"},	-- 20201112
	{"[[个人電腦|PC]]", "PC"},	-- 99999999
	{"[[IOS|iOS]]", "iOS"},	-- 99999999
}

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 = "Template:VG Reviews",
		emptyCategory = "",
		multiplatformCategory = "",
		singleplatformCategory = "",
		aggregateScore = "滙總得分",
		aggregateScores = "滙總得分",
		aggregator = "滙總媒體",
		award = "獎項",
		awards = "獎項",
		na = "唔適用",
		publication = "媒體",
		reception = "評價",
		reviewScore = "評論得分",
		reviewScores = "評論得分",
		score = "得分"
	},
	argi18n = {}
}