Module:Video game reviews/data: Difference between revisions

From Research Realm
No edit summary
(no idea if GiN is notable. wikipedia thinks not. but just in case)
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
{ "''[[Wikipedia:Adrenaline Vault|Adrenaline Vault]]''", 'AVault' },
{ "''[[Wikipedia:Adrenaline Vault|Adrenaline Vault]]''", 'AVault' },
{ "''[[Adventure Gamers]]''", 'AdvGamers' },
{ "''[[Adventure Gamers]]''", 'AdvGamers' },
{ "''[[AllGame]]''", 'Allgame' },
{ "''[[Wikipedia:AllGame|AllGame]]''", 'Allgame' },
{ "''[[Aktueller Software Markt]]''", 'ASM' },
{ "''[[Aktueller Software Markt]]''", 'ASM' },
{ "''[[Amiga Action]]''", 'AmAction' },
{ "''[[Amiga Action]]''", 'AmAction' },
Line 31: Line 31:
{ "''[[Edge (magazine)|Edge]]''", 'Edge' },
{ "''[[Edge (magazine)|Edge]]''", 'Edge' },
{ "''[[Wikipedia:Electronic Gaming Monthly|Electronic Gaming Monthly]]''", 'EGM' },
{ "''[[Wikipedia:Electronic Gaming Monthly|Electronic Gaming Monthly]]''", 'EGM' },
{ "''[[EP Daily]]''", 'EPD' },
{ "''[[Wikipedia:EP Daily|The Electric Playground]]''", 'EPD' },
{ "''[[Eurogamer]]''", 'EuroG' },
{ "''[[Wikipedia:Eurogamer|Eurogamer]]''", 'EuroG' },
{ "''[[Famitsu]]''", 'Fam' },
{ "''[[Famitsu]]''", 'Fam' },
{ "''[[G4 (American TV network)|G4]]''", 'G4' },
{ "''[[Wikipedia:G4 (American TV network)|G4]]''", 'G4' },
{ "''[[Game Informer]]''", 'GI' },
{ "''Game Industry News''", 'GiN' },
{ "''[[Wikipedia:Game Informer|Game Informer]]''", 'GI' },
{ "''[[Game Players]]''", 'GP' },
{ "''[[Game Players]]''", 'GP' },
{ "''[[GameDaily]]''", 'GD' },
{ "''[[GameDaily]]''", 'GD' },
Line 42: Line 43:
{ "''[[GamePro]]''", 'GamePro' },
{ "''[[GamePro]]''", 'GamePro' },
{ "''[[GameRevolution]]''", 'GameRev' },
{ "''[[GameRevolution]]''", 'GameRev' },
{ "''[[GamesMaster (magazine)|GamesMaster]]''", 'GMaster' },
{ "''[[Wikipedia:GamesMaster (magazine)|GamesMaster]]''", 'GMaster' },
{ "''[[Wikipedia:GameSpot|GameSpot]]''", 'GSpot' },
{ "''[[Wikipedia:GameSpot|GameSpot]]''", 'GSpot' },
{ "''[[GameSpy]]''", 'GSpy' },
{ "''[[Wikipedia:GameSpy|GameSpy]]''", 'GSpy' },
{ "''[[GamesRadar+]]''", 'GRadar' },
{ "''[[GamesRadar+]]''", 'GRadar' },
{ "''[[GameStar]]''", 'GStar' },
{ "''[[GameStar]]''", 'GStar' },
Line 85: Line 86:
{ "''[[NME]]''", 'NME' },
{ "''[[NME]]''", 'NME' },
{ "''[[Wikipedia:Official Nintendo Magazine|Official Nintendo Magazine]]''", 'ONM' },
{ "''[[Wikipedia:Official Nintendo Magazine|Official Nintendo Magazine]]''", 'ONM' },
{ "''Official Australian PlayStation Magazine''", 'OPSMAu' },
{ "''Official UK PlayStation Magazine''", 'OPSMUK' },
{ "''[[Wikipedia:Official U.S. PlayStation Magazine|Official U.S. PlayStation Magazine]]''", 'OPSMUS' },
{ "[[Official Xbox Magazine|''Official Xbox Magazine'' (UK)]]", 'OXMUK' },
{ "[[Official Xbox Magazine|''Official Xbox Magazine'' (US)]]", 'OXM' },
{ "''[[PlayStation Official Magazine – Australia]]''", 'OPMAU' },
{ "''[[PlayStation Official Magazine – Australia]]''", 'OPMAU' },
{ "''[[PlayStation Official Magazine – UK]]''", 'OPMUK' },
{ "''[[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' },
{ "''PALGN''", 'PALGN' },
{ "''[[PC Accelerator]]''", 'PCA' },
{ "''[[PC Accelerator]]''", 'PCA' },
Line 200: Line 203:
{ '[[Wikipedia:ZX Spectrum|ZX]]', 'ZX' },
{ '[[Wikipedia: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


local function setupSortkeys(t)
local function setupSortkeys(t)
Line 215: Line 226:
i18n = {
i18n = {
wrapper = 'Template:Video game reviews',
wrapper = 'Template:Video game reviews',
emptyCategory = '[[Category:Empty templates on articles]]',
templatestyles = 'Module:Video game reviews/styles.css',
multiplatformCategory = '[[Category:Articles using Video game reviews template in multiple platform mode]]',
pattern = {
singleplatformCategory = '[[Category:Articles using Video game reviews template in single platform mode]]',
reviewer = '^rev%d+$',
aggregateScore = 'Aggregate score',
aggregator = '^agg%d+$',
aggregateScores = 'Aggregate scores',
award = '^award%d+$',
aggregator = 'Aggregator',
},
award = 'Award',
class = {
awards = 'Awards',
aggregators = 'vgr-aggregators',
na = 'N/A',
awards = 'vgr-awards',
publication = 'Publication',
centeredpub = 'vgr-center',
reception = 'Reception',
container = 'video-game-reviews',
reviewScore = 'Review score',
containerleft = 'vgr-left',
reviewScores = 'Review scores',
containernone = 'vgr-none',
score = 'Score',
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 = '[[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 = {
argi18n = {
Line 234: Line 284:
-- Example:
-- Example:
-- subtitle = 'untertitel'
-- subtitle = 'untertitel'
}
},
}
}

Latest revision as of 14:07, 30 May 2024

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

local reviewers = {
	{ "''[[1Up.com]]''", '1UP' },
	{ "''[[4Players]]''", '4P' },
	{ "''[[ACE (magazine)|ACE]]''", 'ACE' },
	{ "''[[Wikipedia:Adrenaline Vault|Adrenaline Vault]]''", 'AVault' },
	{ "''[[Adventure Gamers]]''", 'AdvGamers' },
	{ "''[[Wikipedia:AllGame|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' },
	{ "''[[Wikipedia:Computer Games Magazine|Computer Games Magazine]]''", 'CGM' },
	{ "''[[Wikipedia:Computer Games Magazine|Computer Games Strategy Plus]]''", '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' },
	{ "''[[Wikipedia:Electronic Gaming Monthly|Electronic Gaming Monthly]]''", 'EGM' },
	{ "''[[Wikipedia:EP Daily|The Electric Playground]]''", 'EPD' },
	{ "''[[Wikipedia:Eurogamer|Eurogamer]]''", 'EuroG' },
	{ "''[[Famitsu]]''", 'Fam' },
	{ "''[[Wikipedia:G4 (American TV network)|G4]]''", 'G4' },
	{ "''Game Industry News''", 'GiN' },
	{ "''[[Wikipedia:Game Informer|Game Informer]]''", 'GI' },
	{ "''[[Game Players]]''", 'GP' },
	{ "''[[GameDaily]]''", 'GD' },
	{ "''[[GameFan]]''", 'GameFan' },
	{ "''[[Gamekult]]''", 'Gamekult' },
	{ "''[[GamePro]]''", 'GamePro' },
	{ "''[[GameRevolution]]''", 'GameRev' },
	{ "''[[Wikipedia:GamesMaster (magazine)|GamesMaster]]''", 'GMaster' },
	{ "''[[Wikipedia:GameSpot|GameSpot]]''", 'GSpot' },
	{ "''[[Wikipedia:GameSpy|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' },
	{ "''[[Wikipedia:Giant Bomb|Giant Bomb]]''", 'GB' },
	{ "''GBX''", 'GBX' },
	{ "''Hardcore Gamer''", 'HCG' },
	{ "''[[HobbyConsolas]]''", 'HC' },
	{ "''[[Wikipedia:Hyper (magazine)|Hyper]]''", 'Hyper' },
	{ "''[[Wikipedia:IGN|IGN]]''", 'IGN' },
	{ "''Impress Watch''", 'IW' },
	{ "''[[Jeuxvideo.com]]''", 'JXV' },
	{ "''Joypad''", 'JP' },
	{ "''[[Wikipedia: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' },
	{ "''[[Wikipedia:NGC Magazine|N64 Magazine]]''", 'N64' },
	{ "''[[Wikipedia:Next Generation (magazine)|Next Generation]]''", 'NGen' },
	{ "''Next Level''", 'TNL' },
	{ "''[[Wikipedia:Nintendo Gamer|NGamer]]''", 'NG' },
	{ "''[[NGC Magazine]]''", 'NGC' },
	{ "''[[Nintendo Life]]''", 'NLife' },
	{ "''[[Wikipedia:Nintendo Power|Nintendo Power]]''", 'NP' },
	{ "''Nintendo World Report''", 'NWR' },
	{ "''[[NME]]''", 'NME' },
	{ "''[[Wikipedia:Official Nintendo Magazine|Official Nintendo Magazine]]''", 'ONM' },
	{ "''Official Australian PlayStation Magazine''", 'OPSMAu' },
	{ "''Official UK PlayStation Magazine''", 'OPSMUK' },
	{ "''[[Wikipedia:Official U.S. PlayStation Magazine|Official U.S. PlayStation Magazine]]''", 'OPSMUS' },
	{ "[[Official Xbox Magazine|''Official Xbox Magazine'' (UK)]]", 'OXMUK' },
	{ "[[Official Xbox Magazine|''Official Xbox Magazine'' (US)]]", 'OXM' },
	{ "''[[PlayStation Official Magazine – Australia]]''", 'OPMAU' },
	{ "''[[PlayStation Official Magazine – UK]]''", 'OPMUK' },
	{ "''PALGN''", 'PALGN' },
	{ "''[[PC Accelerator]]''", 'PCA' },
	{ "''PC Engine Fan''", 'PCEF' },
	{ "''[[PC Format]]''", 'PCF' },
	{ "[[Wikipedia:PC Gamer|''PC Gamer'' (UK)]]", 'PCGUK' },
	{ "[[Wikipedia:PC Gamer|''PC Gamer'' (US)]]", 'PCGUS' },
	{ "[[Wikipedia:PC Games|''PC Games'' (DE)]]", 'PCG' },
	{ "[[Wikipedia:GamePro#PC Games|''PC Games'' (US)]]", 'GPPCG' },
	{ "''[[Wikipedia:PC Player (German magazine)|PC Player]]''", 'PCPlayer' },
	{ "''[[PC PowerPlay]]''", 'PCPP' },
	{ "''[[Wikipedia:PC Zone|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' },
	{ "''[[TouchArcade]]''", 'TA' },
	{ "''[[Wikipedia:The Daily Telegraph|The Telegraph]]''", 'TELE' },
	{ "''Total Game Boy''", 'TGB' },
	{ "[[Wikipedia:The Games Machine|''The Games Machine'' (UK)]]", 'TGM' },
	{ "[[The Games Machine (Italy)|''The Games Machine'' (Italy)]]", 'TGMIt' },
	{ "''[[The Guardian]]''", 'TG' },
	{ "''[[Wikipedia:Tilt (French magazine)|Tilt]]''", 'TILT' },
	{ "''[[TechRadar]]''", 'TR' },
	{ "''[[Total!]]''", 'TOT' },
	{ "''[[TeamXbox]]''", 'TX' },
	{ "''[[USgamer]]''", 'USG' },
	{ "''[[VentureBeat]]''", 'VB' },
	{ "''[[Video Games Chronicle]]''", 'VGC' },
	{ "''[[VG247]]''", 'VG247' },
	{ "''Video Games'' (DE)", 'VGS' },
	{ "''VideoGamer.com''", 'VG' },
	{ "''[[VideoGames & Computer Entertainment]]''", 'VGCE' },
	{ "''[[X-Play]]''", 'XPlay' },
	{ "''[[Wikipedia:Your Sinclair|Your Sinclair]]''", 'YSinclair' },
	{ "''[[Wikipedia:Zero (video game magazine)|Zero]]''", 'Zero' },
	{ "''[[Wikipedia:Zzap!64]|Zzap!64]]''", 'Z64' },
}

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

local systems = {
	{ '[[3DO Interactive Multiplayer|3DO]]', '3DO' },
	{ '[[Wikipedia:Nintendo 3DS|3DS]]', '3DS' },
	{ '[[Amiga]]', 'AMI' },
	{ '[[Arcade game|Arcade]]', 'ARC' },
	{ '[[Atari 2600]]', 'A2600' },
	{ '[[Atari Jaguar]]', 'JAG' },
	{ '[[Atari Lynx]]', 'LYNX' },
	{ '[[Atari ST]]', 'AST' },
	{ '[[Wikipedia:Commodore 64|C64]]', 'C64' },
	{ '[[Amiga CD32|CD32]]', 'CD32' },
	{ '[[ColecoVision]]', 'CV' },
	{ '[[Wikipedia:MS-DOS|DOS]]', 'DOS' },
	{ '[[Dreamcast]]', 'SDC' },
	{ '[[Wikipedia:Nintendo DS|DS]]', 'DS' },
	{ '[[Game Boy]]', 'GB' },
	{ '[[Wikipedia:Game Boy Advance|GBA]]', 'GBA' },
	{ '[[Wikipedia:Game Boy Color|GBC]]', 'GBC' },
	{ '[[Wikipedia:GameCube|GC]]', 'NGC' },
	{ '[[List of video game consoles|General]]', 'GEN' },
	{ '[[iOS]]', 'iOS' },
	{ '[[Macintosh]]', 'MAC' },
	{ '[[Master System]]', 'SMS' },
	{ '[[Mobile phone|mobile]]', 'MOB' },
	{ '[[N-Gage (device)|N-Gage]]', 'N-G' },
	{ '[[Wikipedia:Nintendo 64|N64]]', 'N64' },
	{ '[[Wikipedia:Nintendo Entertainment System|NES]]', 'NES' },
	{ '[[Wikipedia:Nintendo Switch|NS]]', 'NS' },
	{ '[[Wikipedia:Personal computer|PC]]', 'PC' },
	{ '[[Wikipedia:PlayStation Vita|PS Vita]]', 'VITA' },
	{ '[[Wikipedia:PlayStation (console)|PS]]', 'PS' },
	{ '[[Wikipedia:PlayStation 2|PS2]]', 'PS2' },
	{ '[[Wikipedia:PlayStation 3|PS3]]', 'PS3' },
	{ '[[Wikipedia:PlayStation 4|PS4]]', 'PS4' },
	{ '[[Wikipedia:PlayStation 5|PS5]]', 'PS5' },
	{ '[[PlayStation Portable|PSP]]', 'PSP' },
	{ '[[Sega Saturn|Saturn]]', 'SSAT' },
	{ '[[Sega Genesis]]', 'SMD' },
	{ '[[Sega Game Gear|SGG]]', 'SGG' },
	{ '[[Wikipedia:Nvidia Shield|Shield]]', 'NSHI' },
	{ '[[Wikipedia:Super Nintendo Entertainment System|SNES]]', 'SNES' },
	{ '[[TurboGrafx-16]]', 'TG16' },
	{ '[[Wikipedia:Wii|Wii]]', 'WII' },
	{ '[[Wikipedia:Wii U|Wii U]]', 'WIIU' },
	{ '[[Wikipedia:Xbox (console)|Xbox]]', 'XBOX' },
	{ '[[Wikipedia:Xbox 360|Xbox 360]]', 'X360' },
	{ '[[Wikipedia:Xbox One|Xbox One]]', 'XONE' },
	{ '[[Wikipedia:Xbox Series X and Series S|Xbox Series X/S]]', 'XSXS' },
	{ '[[Wikipedia: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

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 = '[[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'
	},
}