Misplaced Pages

Module:Video game reviews/data/sandbox

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 | data

This is an old revision of this page, as edited by Deltasim (talk | contribs) at 21:44, 22 March 2016 (Added platforms). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 21:44, 22 March 2016 by Deltasim (talk | contribs) (Added platforms)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
This is the module sandbox page for Module:Video game reviews/data (diff).
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.
Add categories to the /doc subpage. Subpages of this module.
local reviewers = {
	{']', '1UP'},
	{']', 'AdvGamers'},
	{']', 'Allgame'},
	{"]", 'AAction'},
	{"]", 'Amtix'},
	{"]", 'CWG'},
	{"]", 'CVG'},
	{"]", 'CRASH'},
	{"]", 'Destruct'},
	{"]", 'Dragon'},
	{"]", 'Edge'},
	{"]", 'EGM'},
	{']', 'EuroG'},
	{"]", 'Fam'},
	{']', 'G4'},
	{"]", 'GameFan'},
	{"]", 'GI'},
	{"]", 'GamePro'},
	{']', 'GameRev'},
	{"]", 'GMaster'},
	{']', 'GSpot'},
	{']', 'GSpy'},
	{']', 'GRadar'},
	{"]", 'GTM'},
	{']', 'GT'},
	{']', 'GameZone'},
	{']', 'GB'},
	{"]", 'Hyper'},
	{']', 'IGN'},
	{']', 'Joystiq'},
	{"]", 'MaxPC'},
	{"]", 'N64'},
	{"]", 'NGC'},
	{"]", 'NG'},
	{']', 'NLife'},
	{"]", 'NP'},
	{'Nintendo World Report', 'NWR'},
	{"]", 'ONM'},
	{"]", 'OPM'},
	{"]", 'OPMUK'},
	{"]", 'OPMAU'},
	{"]", 'OXM'},
	{"]", 'OXMUK'},
	{']', 'PALGN'},
	{"]", 'PCF'},
	{"]", 'PCGUK'},
	{"]", 'PCGUS'},
	{"]", 'PCPP'},
	{"]", 'PCZone'},
	{"]", 'Play'},
	{']', 'Poly'},
	{"]", 'PSM'},
	{"]", 'PSM3'},
	{']', 'RPG'},
	{"]", 'SUser'},
	{']', 'TX'},
	{']', 'VG'},
	{"]", 'XPlay'},
	{"]", 'YSinclair'},
}

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

local systems = {
	{']','3DS'},
	{']','A2600'},
	{']','AST'},
	{']', 'AMIGA'},
	{']','BBC'},
	{']','CPC'},
	{']','CV'},
	{']','C64'},
	{']','DS'},
	{']','SDC'},	
	{']','GB'},
	{']','GBA'},
	{']','GBC'},
	{']','NGC'},	
	{']','GEN'},
	{']','iOS'},
	{']','LYNX'},	
	{']','MAC'},
	{']','SMD'},	
	{']','MOB'},
	{']','N-G'},
	{']','NEO'},
	{']','NCD'},
	{']','N64'},
	{']','NES'},
	{']','PC'},
	{']','PS'},
	{']','PS2'},
	{']','PS3'},
	{']','PS4'},
	{']','PSP'},
	{']','SGG'},
	{']','SNES'},
	{']','SMS'},
	{']','SSAT'},
	{']','NSHI'},	
	{']','TG16'},
	{']','VITA'},
	{']','WII'},
	{']','WIIU'},
	{']','WIN'},
	{']','XBOX'},
	{']','X360'},
	{']','XONE'},
	{']','ZXS'},
}

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',
		emptyCategory = ']',
		multiplatformCategory = ']',
		singleplatformCategory = ']',
		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'
	}
}
Category: