Module:Video game reviews/data

From Omniversalis

This module implements the {{Video game reviews}} template. Please see the template page for usage instructions.

Tracking/maintenance category[edit]


local reviewers = {
	{"[[1UP.com|''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 (magazine)|''Crash'']]", 'CRASH'},
	{"[[Destructoid|''Destructoid'']]", 'Destruct'},
	{"[[Dragon (magazine)|''Dragon'']]", 'Dragon'},
	{"[[Edge (magazine)|''Edge'']]", 'Edge'},
	{"[[Electronic Gaming Monthly|''EGM'']]", 'EGM'},
	{"[[Eurogamer|''Eurogamer'']]", 'EuroG'},
	{"[[Famitsu|''Famitsu'']]", 'Fam'},
	{'[[G4 (U.S. TV channel)|G4]]', 'G4'},
	{"[[GameFan|''GameFan'']]", 'GameFan'},
	{"[[Game Informer|''Game Informer'']]", 'GI'},
	{"[[GamePro|''GamePro'']]", 'GamePro'},
	{'[[Game Revolution]]', 'GameRev'},
	{"[[GamesMaster (magazine)|''GamesMaster'']]", 'GMaster'},
	{'[[GameSpot]]', 'GSpot'},
	{'[[GameSpy]]', 'GSpy'},
	{'[[GamesRadar]]', 'GRadar'},
	{"[[GamesTM|''GamesTM'']]", 'GTM'},
	{'[[GameTrailers]]', 'GT'},
	{'[[GameZone]]', 'GameZone'},
	{'[[Giant Bomb]]', 'GB'},
	{"[[Hyper (magazine)|''Hyper'']]", 'Hyper'},
	{'[[IGN]]', 'IGN'},
	{"[[Joystiq|''Joystiq'']]", 'Joystiq'},
	{"[[Maximum PC|''Maximum PC'']]", 'MaxPC'},
	{"[[NGC Magazine|''N64 Magazine'']]", 'N64'},
	{"[[NGC Magazine|''NGC Magazine'']]", 'NGC'},
	{"[[Nintendo Gamer|''NGamer'']]", 'NG'},
	{"[[Nintendo Life|''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'' (US)]]", '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 (UK magazine)|''Play'']]", 'Play'},
	{"[[Polygon (website)|''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'},
	{'[[Nintendo eShop|eShop]]','ESHOP'},
	{'[[Game Boy]]','GB'},
	{'[[Game Boy Advance|GBA]]','GBA'},
	{'[[Game Boy Color|GBC]]','GBC'},
	{'[[GameCube|GC]]','NGC'},	
	{'[[List of video game consoles|General]]','GEN'},
	{'[[iOS]]','iOS'},
	{'[[Atari Lynx]]','LYNX'},	
	{'[[Macintosh]]','MAC'},
	{'[[Sega Genesis|Mega Drive]]','SMD'},	
	{'[[Mobile phones|mobile]]','MOB'},
	{'[[N-Gage (device)|N-Gage]]','N-G'},
	{'[[Nintendo 64|N64]]','N64'},
	{'[[Nintendo Entertainment System|NES]]','NES'},
	{'[[Nintendo Switch|NS]]','NS'},
	{'[[Personal Computer|PC]]','PC'},
	{'[[PlayStation (console)|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'},
	{'[[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 (console)|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 = 'Template:Video game reviews',
		emptyCategory = '[[Category:Empty templates on articles]]',
		multiplatformCategory = '[[Category:Articles using Video game reviews template in multiple platform mode]]',
		singleplatformCategory = '[[Category:Articles using Video game reviews template in single platform mode]]',
		aggregateScore = 'Aggregate score',
		aggregateScores = 'Aggregate scores',
		aggregator = 'Aggregator',
		award = 'Award',
		awards = 'Awards',
		na = 'N/A',
		publication = 'Publication',
		reception = 'Reception',
		reviewScore = 'Review score',
		reviewScores = 'Review scores',
		score = 'Score',
	},
	argi18n = {
		-- For non-English wikis, add translations of argument keys here.
		-- Example:
		-- subtitle = 'untertitel'
	}
}