VG Reviews/data[mi ez?] • [dokumentáció: mutat, szerkeszt] • [tesztek: létrehozás]

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

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

local systems = {
	{ '[[3DO Interactive Multiplayer|3DO]]', '3DO' },
	{ '[[Nintendo 3DS|3DS]]', '3DS' },
	{ '[[Videójáték-konzolok listája|Általános]]', 'GEN' },
	{ '[[Amiga]]', 'AMI' },
	{ '[[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' },
	{ '[[iOS]]', 'iOS' },
	{ '[[Játéktermi játék|Játékterem]]', 'ARC' },
	{ '[[Macintosh]]', 'MAC' },
	{ '[[Master System]]', 'SMS' },
	{ '[[mobiltelefon]]', 'MOB' },
	{ '[[N-Gage]]', 'N-G' },
	{ '[[Nintendo 64|N64]]', 'N64' },
	{ '[[Nintendo Entertainment System|NES]]', 'NES' },
	{ '[[Nintendo Switch|NS]]', 'NS' },
	{ '[[Személyi számítógép|PC]]', 'PC' },
	{ '[[PlayStation Vita|PS Vita]]', 'VITA' },
	{ '[[PlayStation (konzol)|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 (konzol)|Xbox]]', 'XBOX' },
	{ '[[Xbox 360]]', 'X360' },
	{ '[[Xbox One]]', 'XONE' },
	{ '[[Xbox Series X és 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 = 'Sablon:Videójáték-fogadtatás',
		templatestyles = 'Modul:VG 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 = 'Átlagpontszám',
			aggregateScores = 'Átlagpontszámok',
			aggregator = 'Összegzőoldal',
			award = 'Díj',
			awards = 'Díjak',
			na = 'N/A',
			publication = 'Szerző',
			reception = 'Fogadtatás',
			reviewScore = 'Tesztpontszám',
			reviewScores = 'Tesztpontszámok',
			score = 'Értékelés',
		},
	},
	argi18n = {
		-- For non-English wikis, add translations of argument keys here.
		-- Example:
		-- subtitle = 'untertitel'
	},
}