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 →
Revision as of 18:18, 22 April 2016 editZero Serenity (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers4,040 edits Here goes nothing← Previous edit Revision as of 21:10, 22 April 2016 edit undoJackmcbarn (talk | contribs)31,380 editsm Jackmcbarn moved page Module:Video game reviews/data/Sandbox to Module:Video game reviews/data/sandbox without leaving a redirect: history mergeNext edit →
(No difference)

Revision as of 21:10, 22 April 2016

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'},
	{']','CV'},
	{']','DS'},
	{']','SDC'},	
	{']','GB'},
	{']','GBA'},
	{']','GBC'},
	{']','NGC'},	
	{']','GEN'},
	{']','iOS'},
	{']','LYNX'},	
	{']','MAC'},
	{']','SMD'},	
	{']','MOB'},
	{']','N-G'},
	{']','N64'},
	{']','NES'},
	{']','PC'},
	{']','PS'},
	{']','PS2'},
	{']','PS3'},
	{']','PS4'},
	{']','PSP'},
	{']','SGG'},
	{']','SNES'},
	{']','SMS'},
	{']','SSAT'},
	{']','NSHI'},	
	{']','TG16'},
	{']','VITA'},
	{']','WII'},
	{']','WIIU'},	
	{']','XBOX'},
	{']','X360'},
	{']','XONE'},
}

--Episodes, Seasons, soforth.
local parts = {
	--Episodes
	{'Episode One', 'E1' },
	{'Episode Two', 'E2' },
	{'Episode Three', 'E3' },
	{'Episode Four', 'E4' },
	{'Episode Five', 'E5' },
	{'Episode Six', 'E6' },
	{'Episode Seven', 'E7' },
	{'Episode Eight', 'E8' },
	{'Episode Nine', 'E9' },
	{'Episode Ten', 'E10' },
	--Seasons
	{'Season One', 'S1' },
	{'Season Two', 'S2' },
	{'Season Three', 'S3' },
	{'Season Four', 'S4' },
	{'Season Five', 'S5' },
	{'Season Six', 'S6' },
	{'Season Seven', 'S7' },
	{'Season Eight', 'S8' },
	{'Season Nine', 'S9' },
	{'Season Ten', 'S10' },
	--Years
	{'Year One', 'Y1' },
	{'Year Two', 'Y2' },
	{'Year Three', 'Y3' },
	{'Year Four', 'Y4' },
	{'Year Five', 'Y5' },
	{'Year Six', 'Y6' },
	{'Year Seven', 'Y7' },
	{'Year Eight', 'Y8' },
	{'Year Nine', 'Y9' },
	{'Year Ten', 'Y10' },
}

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: