Module:Video game reviews/data

From HandWiki

Documentation for this module may be created at Module:Video game reviews/data/doc

local reviewers = {
	{ "''1Up.com''", '1UP' },
	{ "''4Players''", '4P' },
	{ "''ACE''", 'ACE' },
	{ "''Adventure Gamers''", 'AdvGamers' },
	{ "[[Software:AllGame|''AllGame'']]", 'Allgame' },
	{ "''Amstrad Action''", 'AAction' },
	{ "''Amtix''", 'Amtix' },
	{ "''CGM''", 'CGM' },
	{ "''CGSP''", 'CGSP' },
	{ "''CGW''", 'CGW' },
	{ "\''Consoles +'\'", 'CP' },
	{ "''Crash''", 'CRASH' },
	{ "''CVG''", 'CVG' },
	{ "[[Social:Destructoid|''Destructoid'']]", 'Destruct' },
	{ "''Dragon''", 'Dragon' },
	{ "''Easy Allies''", 'EZA' },
	{ "''Edge''", 'Edge' },
	{ "''EGM''", 'EGM' },
	{ "''Eurogamer''", 'EuroG' },
	{ "''Famitsu''", 'Fam' },
	{ "''G4''", 'G4' },
	{ "''Game Informer''", 'GI' },
	{ "''GameFan''", 'GameFan' },
	{ "''GamePro''", 'GamePro' },
	{ "''GameRevolution''", 'GameRev' },
	{ "''GamesMaster''", 'GMaster' },
	{ "''GameSpot''", 'GSpot' },
	{ "''GameSpy''", 'GSpy' },
	{ "''GamesRadar+''", 'GRadar' },
	{ "''GameStar''", 'GStar' },
	{ "''GamesTM''", 'GTM' },
	{ "''GameTrailers''", 'GT' },
	{ "''Gamezebo''", 'Gamezebo' },
	{ "\''GameZone'\'", 'GameZone' },
	{ "''Giant Bomb''", 'GB' },
	{ "\''Hardcore Gamer'\'", 'HCG' },
	{ "''Hyper''", 'Hyper' },
	{ "''IGN''", 'IGN' },
	{ "\''Impress Watch'\'", 'IW' },
	{ "''Jeuxvideo.com''", 'JXV' },
	{ "\''Joypad'\'", 'JP' },
	{ "''Joystiq''", 'Joystiq' },
	{ "\''M! Games'\'", 'MG' },
	{ "''Maximum PC''", 'MaxPC' },
	{ "\''Mega Fun'\'", 'MF' },
	{ "''N64 Magazine''", 'N64' },
	{ "''Next Generation''", 'NGen' },
	{ "''NGamer''", 'NG' },
	{ "''NGC Magazine''", 'NGC' },
	{ "''Nintendo Life''", 'NLife' },
	{ "''Nintendo Power''", 'NP' },
	{ "\''Nintendo World Report'\'", 'NWR' },
	{ "''ONM''", 'ONM' },
	{ "''OPM'' (AU)", 'OPMAU' },
	{ "''OPM'' (UK)", 'OPMUK' },
	{ "''OPM'' (US)", 'OPM' },
	{ "''OXM'' (UK)", 'OXMUK' },
	{ "''OXM'' (US)", 'OXM' },
	{ "''PALGN''", 'PALGN' },
	{ "''PC Format''", 'PCF' },
	{ "''PC Gamer'' (UK)", 'PCGUK' },
	{ "''PC Gamer'' (US)", 'PCGUS' },
	{ "''PC Games''", 'PCG' },
	{ "''PC PowerPlay''", 'PCPP' },
	{ "''PC Zone''", 'PCZone' },
	{ "''PCGamesN''", 'PCGN' },
	{ "''Play''", 'Play' },
	{ "''Pocket Gamer''", 'PG' },
	{ "''Polygon''", 'Poly' },
	{ "''PSM''", 'PSM' },
	{ "''PSM3''", 'PSM3' },
	{ "''Push Square''", 'PSQ' },
	{ "\''RPGamer'\'", 'RPG' },
	{ "''Shacknews''", 'SN' },
	{ "''Sinclair User''", 'SUser' },
	{ "''TeamXbox''", 'TX' },
	{ "''The Guardian''", 'TG' },
	{ "\''Total!'\'", 'TOT' },
	{ "''TouchArcade''", 'TA' },
	{ "''USgamer''", 'USG' },
	{ "''VentureBeat''", 'VB' },
	{ "''VG247''", 'VG247' },
	{ "\''Video Games'\' (DE)", 'VGS' },
	{ "\''VideoGamer.com'\'", 'VG' },
	{ "''X-Play''", 'XPlay' },
	{ "''Your Sinclair''", 'YSinclair' },
	{ "''Zzap!64''", 'Z64' },
}

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

local systems = {
	{ '[[Engineering:3DO Interactive Multiplayer|3DO]]', '3DO' },
	{ '3DS', '3DS' },
	{ '[[Engineering:Amiga|Amiga]]', 'AMI' },
	{ '[[Software:Arcade game|Arcade]]', 'ARC' },
	{ '[[Engineering:Atari 2600|Atari 2600]]', 'A2600' },
	{ '[[Engineering:Atari Jaguar|Atari Jaguar]]', 'JAG' },
	{ '[[Engineering:Atari Lynx|Atari Lynx]]', 'LYNX' },
	{ '[[Engineering:Atari ST|Atari ST]]', 'AST' },
	{ 'C64', 'C64' },
	{ '[[Engineering:Amiga CD32|CD32]]', 'CD32' },
	{ '[[Engineering:ColecoVision|ColecoVision]]', 'CV' },
	{ '[[Software:MS-DOS|DOS]]', 'DOS' },
	{ '[[Engineering:Dreamcast|Dreamcast]]', 'SDC' },
	{ 'DS', 'DS' },
	{ 'eShop', 'ESHOP' },
	{ '[[Engineering:Game Boy|Game Boy]]', 'GB' },
	{ 'GBA', 'GBA' },
	{ 'GBC', 'GBC' },
	{ '[[Engineering:GameCube|GC]]', 'NGC' },
	{ '[[Engineering:List of video game consoles|General]]', 'GEN' },
	{ '[[Software:IOS|iOS]]', 'iOS' },
	{ '[[Engineering:Macintosh|Macintosh]]', 'MAC' },
	{ '[[Engineering:Master System|Master System]]', 'SMS' },
	{ 'mobile', 'MOB' },
	{ '[[Engineering:N-Gage (device)|N-Gage]]', 'N-G' },
	{ '[[Engineering:Nintendo 64|N64]]', 'N64' },
	{ '[[Engineering:Nintendo Entertainment System|NES]]', 'NES' },
	{ '[[Engineering:Nintendo Switch|NS]]', 'NS' },
	{ 'PC', 'PC' },
	{ '[[Engineering:PlayStation Vita|PS Vita]]', 'VITA' },
	{ '[[Engineering:PlayStation (console)|PS]]', 'PS' },
	{ '[[Engineering:PlayStation 2|PS2]]', 'PS2' },
	{ '[[Engineering:PlayStation 3|PS3]]', 'PS3' },
	{ '[[Engineering:PlayStation 4|PS4]]', 'PS4' },
	{ '[[Engineering:PlayStation Portable|PSP]]', 'PSP' },
	{ '[[Engineering:Sega Saturn|Saturn]]', 'SSAT' },
	{ '[[Engineering:Sega Genesis|Sega Genesis]]', 'SMD' },
	{ 'SGG', 'SGG' },
	{ 'Shield', 'NSHI' },
	{ '[[Engineering:Super Nintendo Entertainment System|SNES]]', 'SNES' },
	{ '[[Engineering:TurboGrafx-16|TurboGrafx-16]]', 'TG16' },
	{ '[[Engineering:Wii|Wii]]', 'WII' },
	{ '[[Engineering:Wii U|Wii U]]', 'WIIU' },
	{ '[[Engineering:Xbox (console)|Xbox]]', 'XBOX' },
	{ '[[Engineering:Xbox 360|Xbox 360]]', 'X360' },
	{ '[[Engineering:Xbox One|Xbox One]]', 'XONE' },
	{ '[[Engineering:ZX Spectrum|ZX]]', 'ZX' },
}

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'
	}
}