Misplaced Pages

Module:Video game reviews/data

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Module:Video game reviews Module documentation[view] [edit] [history] [purge]
WarningThis Lua module is used on approximately 15,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them.
ProtectedThis module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing.
This module depends on the following other modules:
CSSThis module uses TemplateStyles:
Related pages

This module implements the {{Video game reviews}} template. Please see the template page for usage instructions.

Tracking/maintenance category

The above documentation is transcluded from Module:Video game reviews/data/doc. (edit | history)
Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages.
Subpages of this module.

local reviewers = {
	{ "'']''", '1UP' },
	{ "'']''", '4P' },
	{ "'']''", 'ACE' },
	{ "'']''", 'AdvGamers' },
	{ "'']''", 'Allgame' },
	{ "'']''", 'ASM' },
	{ "'']''", 'AmAction' },
	{ "'']''", 'AmComputing' },
	{ "'']''", 'AmForce' },
	{ "'']''", 'AmFormat' },
	{ "'']''", 'AmPower' },
	{ "'']''", 'AmUI' },
	{ "'']''", 'AAction' },
	{ "'']''", 'Amtix' },
	{ "'']''", 'AVC' },	
	{ "'']''", 'BMD' },
	{ "'']''", 'CNG' },
	{ "'']''", 'CGR' },
	{ "'']''", 'CGM' },
	{ "'']''", 'CGSP' },
	{ "'']''", 'CGW' },
	{ "''Consoles +''", 'CP' },
	{ "'']''", 'CRASH' },
	{ "'']''", 'CVG' },
	{ "'']''", 'Destruct' },
	{ "'']''", 'DT' },
	{ "'']''", 'Dragon' },
	{ "'']''", 'EZA' },
	{ "'']''", 'Edge' },
	{ "'']''", 'EGM' },
	{ "'']''", 'EPD' },
	{ "'']''", 'EuroG' },
	{ "'']''", 'Fam' },
	{ "'']''", 'G4' },
	{ "'']''", 'GI' },
	{ "'']''", 'GP' },
	{ "'']''", 'GD' },
	{ "'']''", 'GameFan' },
	{ "'']''", 'Gamekult' },
	{ "'']''", 'GamePro' },
	{ "'']''", 'GameRev' },
	{ "'']''", 'GMaster' },
	{ "'']''", 'GSpot' },
	{ "'']''", 'GSpy' },
	{ "'']''", 'GRadar' },
	{ "'']''", 'GStar' },
	{ "'']''", 'GTM' },
	{ "'']''", 'GX' },
	{ "'']''", 'GT' },
	{ "'']''", 'Gamezebo' },
	{ "''GameZone''", 'GameZone' },
	{ "''Gekkan PC Engine''", 'GPCE' },
	{ "''Génération 4''", 'Gen4' },
	{ "'']''", 'GB' },
	{ "''Hardcore Gamer''", 'HCG' },
	{ "'']''", 'HC' },
	{ "'']''", 'Hyper' },
	{ "'']''", 'IGN' },
	{ "''Impress Watch''", 'IW' },
	{ "'']''", 'JXV' },
	{ "''Joypad''", 'JP' },
	{ "'']''", 'JS' },
	{ "'']''", 'Joystiq' },
	{ "'']''", 'KS' },
	{ "''M! Games''", 'MG' },
	{ "'']''", 'ML' },
	{ "'']''", 'MW' },
	{ "''Marukatsu PC Engine''", 'MPCE' },
	{ "'']''", 'MaxPC' },
	{ "'']''", 'MM' },
	{ "'']''", 'MMS' },
	{ "''Mega Fun''", 'MF' },
	{ "''MeriStation''", 'MS' },
	{ "'']''", 'MIC' },
	{ "'']''", 'N64' },
	{ "'']''", 'NGen' },
	{ "'']''", 'NG' },
	{ "'']''", 'NGC' },
	{ "'']''", 'NLife' },
	{ "'']''", 'NP' },
	{ "''Nintendo World Report''", 'NWR' },
	{ "'']''", 'NME' },
	{ "'']''", 'ONM' },
	{ "'']''", 'OPMAU' },
	{ "'']''", 'OPMUK' },
	{ "'']''", 'OPM' },
	{ "]", 'OXMUK' },
	{ "]", 'OXM' },
	{ "''PALGN''", 'PALGN' },
	{ "'']''", 'PCA' },
	{ "''PC Engine Fan''", 'PCEF' },
	{ "'']''", 'PCF' },
	{ "]", 'PCGUK' },
	{ "]", 'PCGUS' },
	{ "]", 'PCG' },
	{ "]", 'GPPCG' },
	{ "'']''", 'PCPP' },
	{ "'']''", 'PCZone' },
	{ "'']''", 'PCGN' },
	{ "'']''", 'PCM' },
	{ "'']''", 'Play' },
	{ "'']''", 'PG' },
	{ "'']''", 'Poly' },
	{ "''Player One''", 'PO' },
	{ "'']''", 'PSM' },
	{ "'']''", 'PSM3' },
	{ "'']''", 'PSQ' },
	{ "'']''", 'Raze' },
	{ "'']''", 'Retro' },
	{ "''RPGamer''", 'RPG' },
	{ "''RPGFan''", 'RPGFan' },
	{ "'']''", 'SN' },
	{ "'']''", 'SUser' },
	{ "'']''", 'STAction' },
	{ "'']''", 'STFormat' },
	{ "'']''", 'STRev' },
	{ "''Superjuegos''", 'SJ' },
	{ "''Super Game Power''", 'SGP' },
	{ "'']''", 'SP' },
	{ "'']''", 'TX' },
	{ "'']''", 'TR' },
	{ "'']''", 'TELE' },
	{ "]", 'TGM' },
	{ "]", 'TGMIt' },
	{ "'']''", 'TG' },
	{ "'']''", 'TILT' },
	{ "'']''", 'TOT' },
	{ "'']''", 'TA' },
	{ "'']''", 'USG' },
	{ "'']''", 'VB' },
	{ "'']''", 'VGC' },
	{ "'']''", 'VG247' },
	{ "''Video Games'' (DE)", 'VGS' },
	{ "''VideoGamer.com''", 'VG' },
	{ "'']''", 'VGCE' },
	{ "'']''", 'XPlay' },
	{ "'']''", 'YSinclair' },
	{ "'']''", 'Zero' },
	{ "'']''", 'Z64' },
}

local aggregators = {
	{ ']', 'GR' },
	{ ']', 'MC' },
	{ ']', 'OC' },
}

local systems = {
	{ ']', '3DO' },
	{ ']', '3DS' },
	{ ']', 'AMI' },
	{ ']', 'ARC' },
	{ ']', 'A2600' },
	{ ']', 'JAG' },
	{ ']', 'LYNX' },
	{ ']', 'AST' },
	{ ']', 'C64' },
	{ ']', 'CD32' },
	{ ']', 'CV' },
	{ ']', 'DOS' },
	{ ']', 'SDC' },
	{ ']', 'DS' },
	{ ']', 'GB' },
	{ ']', 'GBA' },
	{ ']', 'GBC' },
	{ ']', 'NGC' },
	{ ']', 'GEN' },
	{ ']', 'INT' },
	{ ']', 'iOS' },
	{ ']', 'MAC' },
	{ ']', 'SMS' },
	{ ']', 'MOB' },
	{ ']', 'N-G' },
	{ ']', 'N64' },
	{ ']', 'NES' },
	{ ']', 'NS' },
	{ ']', 'PC' },
	{ ']', 'VITA' },
	{ ']', 'PS' },
	{ ']', 'PS2' },
	{ ']', 'PS3' },
	{ ']', 'PS4' },
	{ ']', 'PS5' },
	{ ']', 'PSP' },
	{ ']', 'SSAT' },
	{ ']', 'SMD' },
	{ ']', 'SGG' },
	{ ']', 'NSHI' },
	{ ']', 'SNES' },
	{ ']', 'TG16' },
	{ ']', 'WII' },
	{ ']', 'WIIU' },
	{ ']', 'XBOX' },
	{ ']', 'X360' },
	{ ']', 'XONE' },
	{ ']', 'XSXS' },
	{ ']', 'ZX' },
}

local function setupSortkeys(t)
	local retval = {}
	for k, v in ipairs(t) do
		retval] = { name = v, 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'
	},
}
Categories: