Module:Video game reviews/data

local reviewers = { { "1Up.com", '1UP' }, { "4Players", '4P' }, { "ACE", 'ACE' }, { "Adventure Gamers", 'AdvGamers' }, { "AllGame", 'Allgame' }, { "Aktueller Software Markt", 'ASM' }, { "Amiga Action", 'AmAction' }, { "Amiga Computing", 'AmComputing' }, { "Amiga Force", 'AmForce' }, { "Amiga Format", 'AmFormat' }, { "Amiga Power", 'AmPower' }, { "Amiga User International", 'AmUI' }, { "Amstrad Action", 'AAction' }, { "Amtix", 'Amtix' }, { "The A.V. Club", 'AVC' }, { "Beep! MegaDrive", 'BMD' }, { "CNET Gamecenter", 'CNG' }, { "Computer Game Review", 'CGR' }, { "Computer Games Magazine", 'CGM' }, { "Computer Games Strategy Plus", 'CGSP' }, { "Computer Gaming World", 'CGW' }, { "Consoles +", 'CP' }, { "Crash", 'CRASH' }, { "Computer and Video Games", 'CVG' }, { "Destructoid", 'Destruct' }, { "Digital Trends", 'DT' }, { "Dragon", 'Dragon' }, { "Easy Allies", 'EZA' }, { "Edge", 'Edge' }, { "Electronic Gaming Monthly", 'EGM' }, { "EP Daily", 'EPD' }, { "Eurogamer", 'EuroG' }, { "Famitsu", 'Fam' }, { "G4", 'G4' }, { "Game Informer", 'GI' }, { "Game Players", 'GP' }, { "GameDaily", 'GD' }, { "GameFan", 'GameFan' }, { "Gamekult", 'Gamekult' }, { "GamePro", 'GamePro' }, { "GameRevolution", 'GameRev' }, { "GamesMaster", 'GMaster' }, { "GameSpot", 'GSpot' }, { "GameSpy", 'GSpy' }, { "GamesRadar+", 'GRadar' }, { "GameStar", 'GStar' }, { "GamesTM", 'GTM' }, { "Games-X", 'GX' }, { "GameTrailers", 'GT' }, { "Gamezebo", 'Gamezebo' }, { "GameZone", 'GameZone' }, { "Gekkan PC Engine", 'GPCE' }, { "Génération 4", 'Gen4' }, { "Giant Bomb", 'GB' }, { "Hardcore Gamer", 'HCG' }, { "HobbyConsolas", 'HC' }, { "Hyper", 'Hyper' }, { "IGN", 'IGN' }, { "Impress Watch", 'IW' }, { "Jeuxvideo.com", 'JXV' }, { "Joypad", 'JP' }, { "Joystick", 'JS' }, { "Joystiq", 'Joystiq' }, { "Kill Screen", 'KS' }, { "M! Games", 'MG' }, { "MacLife", 'ML' }, { "Macworld", 'MW' }, { "Marukatsu PC Engine", 'MPCE' }, { "Maximum PC", 'MaxPC' }, { "Mean Machines Sega", 'MMS' }, { "Mega Fun", 'MF' }, { "MeriStation", 'MS' }, { "Micromanía", 'MIC' }, { "N64 Magazine", 'N64' }, { "Next Generation", 'NGen' }, { "NGamer", 'NG' }, { "NGC Magazine", 'NGC' }, { "Nintendo Life", 'NLife' }, { "Nintendo Power", 'NP' }, { "Nintendo World Report", 'NWR' }, { "NME", 'NME' }, { "Official Nintendo Magazine", 'ONM' }, { "PlayStation Official Magazine – Australia", 'OPMAU' }, { "PlayStation Official Magazine – UK", 'OPMUK' }, { "Official U.S. PlayStation Magazine", 'OPM' }, { "Official Xbox Magazine (UK)", 'OXMUK' }, { "Official Xbox Magazine (US)", 'OXM' }, { "PALGN", 'PALGN' }, { "PC Accelerator", 'PCA' }, { "PC Engine Fan", 'PCEF' }, { "PC Format", 'PCF' }, { "PC Gamer (UK)", 'PCGUK' }, { "PC Gamer (US)", 'PCGUS' }, { "PC Games (DE)", 'PCG' }, { "PC Games (US)", 'GPPCG' }, { "PC PowerPlay", 'PCPP' }, { "PC Zone", 'PCZone' }, { "PCGamesN", 'PCGN' }, { "PCMag", 'PCM' }, { "Play", 'Play' }, { "Pocket Gamer", 'PG' }, { "Polygon", 'Poly' }, { "Player One", 'PO' }, { "PlayStation: The Official Magazine", 'PSM' }, { "PSM3", 'PSM3' }, { "Push Square", 'PSQ' }, { "Raze", 'Raze' }, { "Retro Gamer", 'Retro' }, { "RPGamer", 'RPG' }, { "RPGFan", 'RPGFan' }, { "Shacknews", 'SN' }, { "Sinclair User", 'SUser' }, { "ST Action", 'STAction' }, { "ST Format", 'STFormat' }, { "ST Review", 'STRev' }, { "Superjuegos", 'SJ' }, { "Super Game Power", 'SGP' }, { "Super Play", 'SP' }, { "TeamXbox", 'TX' }, { "TechRadar", 'TR' }, { "The Telegraph", 'TELE' }, { "The Games Machine (UK)", 'TGM' }, { "The Games Machine (Italy)", 'TGMIt' }, { "The Guardian", 'TG' }, { "Tilt", 'TILT' }, { "Total!", 'TOT' }, { "TouchArcade", 'TA' }, { "USgamer", 'USG' }, { "VentureBeat", 'VB' }, { "Video Games Chronicle", 'VGC' }, { "VG247", 'VG247' }, { "Video Games (DE)", 'VGS' }, { "VideoGamer.com", 'VG' }, { "VideoGames & Computer Entertainment", 'VGCE' }, { "X-Play", 'XPlay' }, { "Your Sinclair", 'YSinclair' }, { "Zero", 'Zero' }, { "Zzap!64", 'Z64' }, }

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

local systems = { { '3DO', '3DO' }, { '3DS', '3DS' }, { 'Amiga', 'AMI' }, { 'Arcade', 'ARC' }, { 'Atari 2600', 'A2600' }, { 'Atari Jaguar', 'JAG' }, { 'Atari Lynx', 'LYNX' }, { 'Atari ST', 'AST' }, { 'C64', 'C64' }, { 'CD32', 'CD32' }, { 'ColecoVision', 'CV' }, { 'DOS', 'DOS' }, { 'Dreamcast', 'SDC' }, { 'DS', 'DS' }, { 'Game Boy', 'GB' }, { 'GBA', 'GBA' }, { 'GBC', 'GBC' }, { 'GC', 'NGC' }, { 'General', 'GEN' }, { 'Intellivision', 'INT' }, { 'iOS', 'iOS' }, { 'Macintosh', 'MAC' }, { 'Master System', 'SMS' }, { 'mobile', 'MOB' }, { 'N-Gage', 'N-G' }, { 'N64', 'N64' }, { 'NES', 'NES' }, { 'NS', 'NS' }, { 'PC', 'PC' }, { 'PS Vita', 'VITA' }, { 'PS', 'PS' }, { 'PS2', 'PS2' }, { 'PS3', 'PS3' }, { 'PS4', 'PS4' }, { 'PS5', 'PS5' }, { 'PSP', 'PSP' }, { 'Saturn', 'SSAT' }, { 'Sega Genesis', 'SMD' }, { 'SGG', 'SGG' }, { 'Shield', 'NSHI' }, { 'SNES', 'SNES' }, { 'TurboGrafx-16', 'TG16' }, { 'Wii', 'WII' }, { 'Wii U', 'WIIU' }, { 'Xbox', 'XBOX' }, { 'Xbox 360', 'X360' }, { 'Xbox One', 'XONE' }, { 'Xbox Series X/S', 'XSXS' }, { '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', templatestyles = 'Module:Video game reviews/styles.css', pattern = { reviewer = '^rev%d+$', aggregator = '^agg%d+$', award = '^award%d+$', },		class = { aggregators = 'vgr-aggregators', awards = 'vgr-awards', centeredpub = 'vgr-center', container = 'video-game-reviews', containerleft = 'vgr-left', containernone = 'vgr-none', containersingle = 'vgr-single', dark = 'skin-invert', headerrow = 'vgr-hrow', na = 'table-na', -- same as Template:n/a reviews = 'vgr-reviews', stacked = 'vgr-stacked', subtitle = 'vgr-subtitle', title = 'vgr-title', wikidata = 'vgr-edit-on-wikidata', -- we keep wikitable around even though all the styles are overriden -- because it helps some scripts to know to look for a real data table wikitable = 'wikitable', },		state = { autocollapse = 'autocollapse', -- you may not have this on your wiki collapsed = 'collapsed', expanded = 'expanded', },		align = { left = 'left', none = 'none', },		category = { empty = '', multiplatform = '', singleplatform = '', },		display = { 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' }, }