Misplaced Pages

Module:Video game reviews/data/sandbox: Difference between revisions

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 Browse history interactively← Previous editNext edit →Content deleted Content added
Revision as of 17:04, 18 September 2019 editMasem (talk | contribs)Administrators187,457 edits testing new additions...← Previous edit Revision as of 13:30, 15 July 2020 edit undoNyxaros (talk | contribs)Extended confirmed users, IP block exemptions17,602 edits +Next edit →
Line 60: Line 60:
{ "]", 'PCGUS' }, { "]", 'PCGUS' },
{ "]", 'PCG' }, { "]", 'PCG' },
{ "]", 'PCM' },
{ "]", 'PCPP' }, { "]", 'PCPP' },
{ "]", 'PCZone' }, { "]", 'PCZone' },

Revision as of 13:30, 15 July 2020

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' },
        { "]", '4P' },
	{ "]", 'ACE' },
	{ "]", 'AdvGamers' },
	{ "]", 'Allgame' },
	{ "]", 'AAction' },
	{ "]", 'Amtix' },
	{ "]", 'CVG' },
	{ "]", 'CGM' },
	{ "]", 'CGSP' },
	{ "]", 'CGW' },
	{ "\''Consoles +'\'", 'CP' },
	{ "]", 'CRASH' },
	{ "]", 'Destruct' },
	{ "]", 'Dragon' },
	{ "]", 'Edge' },
	{ "]", 'EGM' },
	{ "]", 'EuroG' },
	{ "]", 'Fam' },
	{ "]", 'G4' },
	{ "]", 'GI' },
	{ "]", 'GameRev' },
	{ "]", 'GameFan' },
	{ "]", 'GamePro' },
	{ "]", 'GMaster' },
	{ "]", 'GSpot' },
	{ "]", 'GSpy' },
	{ "]", 'GRadar' },
        { "]", 'GStar' },
	{ "]", 'GTM' },
	{ "]", 'GT' },
	{ "\''GameZone'\'", 'GameZone' },
	{ "]", 'GB' },
	{ "]", 'Hyper' },
	{ "]", 'IGN' },
	{ "\''Impress Watch'\'", 'IW' },
	{ "]", 'JXV' },
	{ "]", 'Joystiq' },
	{ "\''Joypad'\'", 'JP' },
	{ "\''M! Games'\'", 'MG' },
	{ "\''Mega Fun'\'", 'MF' },
	{ "]", 'MaxPC' },
	{ "]", 'N64' },
	{ "]", 'NGen' },
	{ "]", 'NG' },
	{ "]", 'NGC' },
	{ "]", 'NLife' },
	{ "]", 'NP' },
	{ "\''Nintendo World Report'\'", 'NWR' },
	{ "]", 'ONM' },
	{ "]", 'OPMAU' },
	{ "]", 'OPMUK' },
	{ "]", 'OPM' },
	{ "]", 'OXMUK' },
	{ "]", 'OXM' },
	{ "]", 'PALGN' },
	{ "]", 'PCF' },
	{ "]", 'PCGUK' },
	{ "]", 'PCGUS' },
        { "]", 'PCG' },
    { "]", 'PCM' },
	{ "]", 'PCPP' },
	{ "]", 'PCZone' },
	{ "]", 'PCGN' },
	{ "]", 'Play' },
	{ "]", 'PG' },
	{ "]", 'Poly' },
	{ "]", 'PSM' },
	{ "]", 'PSM3' },
	{ "\''RPGamer'\'", 'RPG' },
	{ "]", 'SN' },
	{ "]", 'SUser' },
	{ "]", 'TX' },
	{ "\''Total!'\'", 'TOT' },
	{ "]", 'TA' },
	{ "]", 'USG' },
	{ "]", 'VB' },
        { "]", 'VG247' },
	{ "\''VideoGamer.com'\'", 'VG' },
	{ "\''Video Games'\' (DE)", 'VGS' },
	{ "]", 'XPlay' },
	{ "]", 'YSinclair' },
	{ "]", 'Z64' },
}

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

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

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: