Jump to content

Module:Video game reviews/data/sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by IceWelder (talk | contribs) at 13:50, 9 November 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local reviewers = {
	{ "''[[1Up.com]]''", "1UP" },
	{ "''[[4Players]]''", "4P" },
	{ "''[[ACE (magazine)|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" },	
	{ "''[[Gemaga|Beep! MegaDrive]]''", "BMD" },
	{ "''[[CNET Gamecenter]]''", "CNG" },
	{ "''[[Computer Game Review]]''", "CGR" },
	{ "''[[Computer Games Magazine|CGM]]''", "CGM" },
	{ "''[[Computer Games Magazine|CGSP]]''", "CGSP" },
	{ "''[[Computer Gaming World]]''", "CGW" },
	{ "''Consoles +''", "CP" },
	{ "''[[Crash (magazine)|Crash]]''", "CRASH" },
	{ "''[[Computer and Video Games]]''", "CVG" },
	{ "''[[Destructoid]]''", "Destruct" },
	{ "''[[Digital Trends]]''", "DT" },
	{ "''[[Dragon (magazine)|Dragon]]''", "Dragon" },
	{ "''[[Easy Allies]]''", "EZA" },
	{ "''[[Edge (magazine)|Edge]]''", "Edge" },
	{ "''[[Electronic Gaming Monthly]]''", "EGM" },
	{ "''[[EP Daily]]''", "EPD" },
	{ "''[[Eurogamer]]''", "EuroG" },
	{ "''[[Famitsu]]''", "Fam" },
	{ "''[[G4 (U.S. TV channel)|G4]]''", "G4" },
	{ "''[[Game Informer]]''", "GI" },
	{ "''[[Game Players]]''", "GP" },
	{ "''[[GameDaily]]''", "GD" },
	{ "''[[GameFan]]''", "GameFan" },
	{ "''Gamekult''", "Gamekult" },
	{ "''[[GamePro]]''", "GamePro" },
	{ "''[[GameRevolution]]''", "GameRev" },
	{ "''[[GamesMaster (magazine)|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 (magazine)|Hyper]]''", "Hyper" },
	{ "''[[IGN]]''", "IGN" },
	{ "''Impress Watch''", "IW" },
	{ "''[[Jeuxvideo.com]]''", "JXV" },
	{ "''Joypad''", "JP" },
	{ "''[[Joystick (magazine)|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" },
	{ "''[[NGC Magazine]]''", "N64" },
	{ "''[[Next Generation (magazine)|Next Generation]]''", "NGen" },
	{ "''[[Nintendo Gamer]]''", "NG" },
	{ "''[[NGC Magazine]]''", "NGC" },
	{ "''[[Nintendo Life]]''", "NLife" },
	{ "''[[Nintendo Power]]''", "NP" },
	{ "''Nintendo World Report''", "NWR" },
	{ "''[[NME]]''", "NME" },
	{ "''[[Official Nintendo Magazine]]''", "ONM" },
	{ "''PC Engine Fan''", "PCEF" },
	{ "''[[PlayStation Official Magazine – Australia]]''", "OPMAU" },
	{ "''[[PlayStation Official Magazine – UK]]''", "OPMUK" },
	{ "''[[Official U.S. PlayStation Magazine]]''", "OPM" },
	{ "[[Official Xbox Magazine|''Official Xbox Magazine'' (UK)]]", "OXMUK" },
	{ "[[Official Xbox Magazine|''Official Xbox Magazine'' (US)]]", "OXM" },
	{ "''PALGN''", "PALGN" },
	{ "''[[PC Accelerator]]''", "PCA" },
	{ "''[[PC Format]]''", "PCF" },
	{ "[[PC Gamer|''PC Gamer'' (UK)]]", "PCGUK" },
	{ "[[PC Gamer|''PC Gamer'' (US)]]", "PCGUS" },
	{ "[[PC Games|''PC Games'' (DE)]]", "PCG" },
	{ "[[GamePro#PC Games|''PC Games'' (US)]]", "GPPCG" },
	{ "''[[PC PowerPlay]]''", "PCPP" },
	{ "''[[PC Zone]]''", "PCZone" },
	{ "''[[PCGamesN]]''", "PCGN" },
	{ "''[[PCMag]]''", "PCM" },
	{ "''[[Play (UK magazine)|Play]]''", "Play" },
	{ "''[[Pocket Gamer]]''", "PG" },
	{ "''[[Polygon (website)|Polygon]]''", "Poly" },
	{ "''Player One''", "PO" },
	{ "''[[PlayStation: The Official Magazine]]''", "PSM" },
	{ "''[[PSM3]]''", "PSM3" },
	{ "''[[Push Square]]''", "PSQ" },
	{ "''[[Newsfield#Raze|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 Daily Telegraph|The Telegraph]]''", "TELE" },
	{ "[[The Games Machine|''The Games Machine'' (UK)]]", "TGM" },
	{ "[[The Games Machine (Italy)|''The Games Machine'' (Italy)]]", "TGMIt" },
	{ "''[[The Guardian]]''", "TG" },
	{ "''[[Tilt (French magazine)|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 (video game magazine)|Zero]]''", "Zero" },
	{ "''[[Zzap!64]]", "Z64" },
}

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

local systems = {
	{ '[[3DO Interactive Multiplayer|3DO]]', '3DO' },
	{ '[[Nintendo 3DS|3DS]]', '3DS' },
	{ '[[Amiga]]', 'AMI' },
	{ '[[Arcade game|Arcade]]', 'ARC' },
	{ '[[Atari 2600]]', 'A2600' },
	{ '[[Atari Jaguar]]', 'JAG' },
	{ '[[Atari Lynx]]', 'LYNX' },
	{ '[[Atari ST]]', 'AST' },
	{ '[[Commodore 64|C64]]', 'C64' },
	{ '[[Amiga CD32|CD32]]', 'CD32' },
	{ '[[ColecoVision]]', 'CV' },
	{ '[[MS-DOS|DOS]]', 'DOS' },
	{ '[[Dreamcast]]', 'SDC' },
	{ '[[Nintendo DS|DS]]', 'DS' },
	{ '[[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' },
	{ '[[Macintosh]]', 'MAC' },
	{ '[[Master System]]', 'SMS' },
	{ '[[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 Vita|PS Vita]]', 'VITA' },
	{ '[[PlayStation (console)|PS]]', 'PS' },
	{ '[[PlayStation 2|PS2]]', 'PS2' },
	{ '[[PlayStation 3|PS3]]', 'PS3' },
	{ '[[PlayStation 4|PS4]]', 'PS4' },
	{ '[[PlayStation 5|PS5]]', 'PS5' },
	{ '[[PlayStation Portable|PSP]]', 'PSP' },
	{ '[[Sega Saturn|Saturn]]', 'SSAT' },
	{ '[[Sega Genesis]]', 'SMD' },
	{ '[[Sega Game Gear|SGG]]', 'SGG' },
	{ '[[Nvidia Shield|Shield]]', 'NSHI' },
	{ '[[Super Nintendo Entertainment System|SNES]]', 'SNES' },
	{ '[[TurboGrafx-16]]', 'TG16' },
	{ '[[Wii]]', 'WII' },
	{ '[[Wii U]]', 'WIIU' },
	{ '[[Xbox (console)|Xbox]]', 'XBOX' },
	{ '[[Xbox 360]]', 'X360' },
	{ '[[Xbox One]]', 'XONE' },
	{ '[[Xbox Series X and Series S|Xbox Series X/S]]', 'XSXS' },
	{ '[[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',
		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',
			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 = '[[Category:Empty templates on articles]]',
			multiplatform = '[[Category:Articles using Video game reviews template in multiple platform mode]]',
			singleplatform = '[[Category:Articles using Video game reviews template in single platform mode]]',
		},
		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'
	},
}