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

From blackwiki
Jump to navigation Jump to search
blackwiki>Ferret
(Switch)
blackwiki>Izno
(sync with main box)
Line 1: Line 1:
 
local reviewers = {
 
local reviewers = {
{'[[1UP.com]]', '1UP'},
+
{"[[1UP.com|''1UP.com'']]", '1UP'},
 
{'[[Adventure Gamers]]', 'AdvGamers'},
 
{'[[Adventure Gamers]]', 'AdvGamers'},
 
{'[[AllGame]]', 'Allgame'},
 
{'[[AllGame]]', 'Allgame'},
 
{"[[Amstrad Action|''Amstrad Action'']]", 'AAction'},
 
{"[[Amstrad Action|''Amstrad Action'']]", 'AAction'},
{"[[Amtix!|''Amtix!'']]", 'Amtix'},
+
{"[[Amtix|''Amtix'']]", 'Amtix'},
 
{"[[Computer Gaming World|''CGW'']]", 'CWG'},
 
{"[[Computer Gaming World|''CGW'']]", 'CWG'},
 
{"[[Computer and Video Games|''CVG'']]", 'CVG'},
 
{"[[Computer and Video Games|''CVG'']]", 'CVG'},
Line 12: Line 12:
 
{"[[Edge (magazine)|''Edge'']]", 'Edge'},
 
{"[[Edge (magazine)|''Edge'']]", 'Edge'},
 
{"[[Electronic Gaming Monthly|''EGM'']]", 'EGM'},
 
{"[[Electronic Gaming Monthly|''EGM'']]", 'EGM'},
{'[[Eurogamer]]', 'EuroG'},
+
{"[[Eurogamer|''Eurogamer'']]", 'EuroG'},
 
{"[[Famitsu|''Famitsu'']]", 'Fam'},
 
{"[[Famitsu|''Famitsu'']]", 'Fam'},
{'[[G4 (TV channel)|G4]]', 'G4'},
+
{'[[G4 (U.S. TV channel)|G4]]', 'G4'},
 
{"[[GameFan|''GameFan'']]", 'GameFan'},
 
{"[[GameFan|''GameFan'']]", 'GameFan'},
 
{"[[Game Informer|''Game Informer'']]", 'GI'},
 
{"[[Game Informer|''Game Informer'']]", 'GI'},
 
{"[[GamePro|''GamePro'']]", 'GamePro'},
 
{"[[GamePro|''GamePro'']]", 'GamePro'},
 
{'[[Game Revolution]]', 'GameRev'},
 
{'[[Game Revolution]]', 'GameRev'},
{"[[GamesMaster|''GamesMaster'']]", 'GMaster'},
+
{"[[GamesMaster (magazine)|''GamesMaster'']]", 'GMaster'},
 
{'[[GameSpot]]', 'GSpot'},
 
{'[[GameSpot]]', 'GSpot'},
 
{'[[GameSpy]]', 'GSpy'},
 
{'[[GameSpy]]', 'GSpy'},
Line 29: Line 29:
 
{"[[Hyper (magazine)|''Hyper'']]", 'Hyper'},
 
{"[[Hyper (magazine)|''Hyper'']]", 'Hyper'},
 
{'[[IGN]]', 'IGN'},
 
{'[[IGN]]', 'IGN'},
{'[[Joystiq]]', 'Joystiq'},
+
{"[[Joystiq|''Joystiq'']]", 'Joystiq'},
 
{"[[Maximum PC|''Maximum PC'']]", 'MaxPC'},
 
{"[[Maximum PC|''Maximum PC'']]", 'MaxPC'},
 
{"[[NGC Magazine|''N64 Magazine'']]", 'N64'},
 
{"[[NGC Magazine|''N64 Magazine'']]", 'N64'},
 
{"[[NGC Magazine|''NGC Magazine'']]", 'NGC'},
 
{"[[NGC Magazine|''NGC Magazine'']]", 'NGC'},
 
{"[[Nintendo Gamer|''NGamer'']]", 'NG'},
 
{"[[Nintendo Gamer|''NGamer'']]", 'NG'},
{'[[Nintendo Life]]', 'NLife'},
+
{"[[Nintendo Life|''Nintendo Life'']]", 'NLife'},
 
{"[[Nintendo Power|''Nintendo Power'']]", 'NP'},
 
{"[[Nintendo Power|''Nintendo Power'']]", 'NP'},
 
{'Nintendo World Report', 'NWR'},
 
{'Nintendo World Report', 'NWR'},
 
{"[[Official Nintendo Magazine|''ONM'']]", 'ONM'},
 
{"[[Official Nintendo Magazine|''ONM'']]", 'ONM'},
 
{"[[Official U.S. PlayStation Magazine|''OPM'' (US)]]", 'OPM'},
 
{"[[Official U.S. PlayStation Magazine|''OPM'' (US)]]", 'OPM'},
{"[[PlayStation Official Magazine - UK|''OPM'' (UK)]]", 'OPMUK'},
+
{"[[PlayStation Official Magazine UK|''OPM'' (UK)]]", 'OPMUK'},
{"[[Official PlayStation Magazine (Australia)|''OPM'' (AU)]]", 'OPMAU'},
+
{"[[PlayStation Official Magazine Australia|''OPM'' (AU)]]", 'OPMAU'},
{"[[Official Xbox Magazine|''OXM'']]", 'OXM'},
+
{"[[Official Xbox Magazine|''OXM'' (US)]]", 'OXM'},
 
{"[[Official Xbox Magazine|''OXM'' (UK)]]", 'OXMUK'},
 
{"[[Official Xbox Magazine|''OXM'' (UK)]]", 'OXMUK'},
 
{'[[PALGN]]', 'PALGN'},
 
{'[[PALGN]]', 'PALGN'},
Line 50: Line 50:
 
{"[[PC Zone|''PC Zone'']]", 'PCZone'},
 
{"[[PC Zone|''PC Zone'']]", 'PCZone'},
 
{"[[Play (UK magazine)|''Play'']]", 'Play'},
 
{"[[Play (UK magazine)|''Play'']]", 'Play'},
{'[[Polygon (website)|Polygon]]', 'Poly'},
+
{"[[Polygon (website)|''Polygon'']]", 'Poly'},
 
{"[[PlayStation: The Official Magazine|''PSM'']]", 'PSM'},
 
{"[[PlayStation: The Official Magazine|''PSM'']]", 'PSM'},
 
{"[[PSM3|''PSM3'']]", 'PSM3'},
 
{"[[PSM3|''PSM3'']]", 'PSM3'},
{'[[RPGamer]]', 'RPG'},
+
{'RPGamer', 'RPG'},
 
{"[[Sinclair User|''Sinclair User'']]", 'SUser'},
 
{"[[Sinclair User|''Sinclair User'']]", 'SUser'},
 
{'[[TeamXbox]]', 'TX'},
 
{'[[TeamXbox]]', 'TX'},
Line 71: Line 71:
 
{'[[ColecoVision]]','CV'},
 
{'[[ColecoVision]]','CV'},
 
{'[[Nintendo DS|DS]]','DS'},
 
{'[[Nintendo DS|DS]]','DS'},
{'[[Dreamcast]]','SDC'},
+
{'[[Dreamcast]]','SDC'},
 +
{'[[Nintendo eShop|eShop]]','ESHOP'},
 
{'[[Game Boy]]','GB'},
 
{'[[Game Boy]]','GB'},
 
{'[[Game Boy Advance|GBA]]','GBA'},
 
{'[[Game Boy Advance|GBA]]','GBA'},
Line 104: Line 105:
 
{'[[Xbox 360]]','X360'},
 
{'[[Xbox 360]]','X360'},
 
{'[[Xbox One]]','XONE'},
 
{'[[Xbox One]]','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'},
 
 
}
 
}
  
Line 155: Line 119:
 
aggregators = setupSortkeys(aggregators),
 
aggregators = setupSortkeys(aggregators),
 
systems = setupSortkeys(systems),
 
systems = setupSortkeys(systems),
parts = setupSortkeys(parts),
 
 
i18n = {
 
i18n = {
 
wrapper = 'Template:Video game reviews',
 
wrapper = 'Template:Video game reviews',

Revision as of 14:47, 6 July 2017

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

local reviewers = {
	{"[[1UP.com|''1UP.com'']]", '1UP'},
	{'[[Adventure Gamers]]', 'AdvGamers'},
	{'[[AllGame]]', 'Allgame'},
	{"[[Amstrad Action|''Amstrad Action'']]", 'AAction'},
	{"[[Amtix|''Amtix'']]", 'Amtix'},
	{"[[Computer Gaming World|''CGW'']]", 'CWG'},
	{"[[Computer and Video Games|''CVG'']]", 'CVG'},
	{"[[Crash (magazine)|''Crash'']]", 'CRASH'},
	{"[[Destructoid|''Destructoid'']]", 'Destruct'},
	{"[[Dragon (magazine)|''Dragon'']]", 'Dragon'},
	{"[[Edge (magazine)|''Edge'']]", 'Edge'},
	{"[[Electronic Gaming Monthly|''EGM'']]", 'EGM'},
	{"[[Eurogamer|''Eurogamer'']]", 'EuroG'},
	{"[[Famitsu|''Famitsu'']]", 'Fam'},
	{'[[G4 (U.S. TV channel)|G4]]', 'G4'},
	{"[[GameFan|''GameFan'']]", 'GameFan'},
	{"[[Game Informer|''Game Informer'']]", 'GI'},
	{"[[GamePro|''GamePro'']]", 'GamePro'},
	{'[[Game Revolution]]', 'GameRev'},
	{"[[GamesMaster (magazine)|''GamesMaster'']]", 'GMaster'},
	{'[[GameSpot]]', 'GSpot'},
	{'[[GameSpy]]', 'GSpy'},
	{'[[GamesRadar]]', 'GRadar'},
	{"[[GamesTM|''GamesTM'']]", 'GTM'},
	{'[[GameTrailers]]', 'GT'},
	{'[[GameZone]]', 'GameZone'},
	{'[[Giant Bomb]]', 'GB'},
	{"[[Hyper (magazine)|''Hyper'']]", 'Hyper'},
	{'[[IGN]]', 'IGN'},
	{"[[Joystiq|''Joystiq'']]", 'Joystiq'},
	{"[[Maximum PC|''Maximum PC'']]", 'MaxPC'},
	{"[[NGC Magazine|''N64 Magazine'']]", 'N64'},
	{"[[NGC Magazine|''NGC Magazine'']]", 'NGC'},
	{"[[Nintendo Gamer|''NGamer'']]", 'NG'},
	{"[[Nintendo Life|''Nintendo Life'']]", 'NLife'},
	{"[[Nintendo Power|''Nintendo Power'']]", 'NP'},
	{'Nintendo World Report', 'NWR'},
	{"[[Official Nintendo Magazine|''ONM'']]", 'ONM'},
	{"[[Official U.S. PlayStation Magazine|''OPM'' (US)]]", 'OPM'},
	{"[[PlayStation Official Magazine – UK|''OPM'' (UK)]]", 'OPMUK'},
	{"[[PlayStation Official Magazine – Australia|''OPM'' (AU)]]", 'OPMAU'},
	{"[[Official Xbox Magazine|''OXM'' (US)]]", 'OXM'},
	{"[[Official Xbox Magazine|''OXM'' (UK)]]", 'OXMUK'},
	{'[[PALGN]]', 'PALGN'},
	{"[[PC Format|''PC Format'']]", 'PCF'},
	{"[[PC Gamer|''PC Gamer'' (UK)]]", 'PCGUK'},
	{"[[PC Gamer|''PC Gamer'' (US)]]", 'PCGUS'},
	{"[[PC PowerPlay|''PC PowerPlay'']]", 'PCPP'},
	{"[[PC Zone|''PC Zone'']]", 'PCZone'},
	{"[[Play (UK magazine)|''Play'']]", 'Play'},
	{"[[Polygon (website)|''Polygon'']]", 'Poly'},
	{"[[PlayStation: The Official Magazine|''PSM'']]", 'PSM'},
	{"[[PSM3|''PSM3'']]", 'PSM3'},
	{'RPGamer', 'RPG'},
	{"[[Sinclair User|''Sinclair User'']]", 'SUser'},
	{'[[TeamXbox]]', 'TX'},
	{'[[VideoGamer.com]]', 'VG'},
	{"[[X-Play|''X-Play'']]", 'XPlay'},
	{"[[Your Sinclair|''Your Sinclair'']]", 'YSinclair'},
}

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

local systems = {
	{'[[Nintendo 3DS|3DS]]','3DS'},
	{'[[Atari 2600]]','A2600'},
	{'[[ColecoVision]]','CV'},
	{'[[Nintendo DS|DS]]','DS'},
	{'[[Dreamcast]]','SDC'},
	{'[[Nintendo eShop|eShop]]','ESHOP'},
	{'[[Game Boy]]','GB'},
	{'[[Game Boy Advance|GBA]]','GBA'},
	{'[[Game Boy Color|GBC]]','GBC'},
	{'[[GameCube|GC]]','NGC'},	
	{'[[List of video game consoles|General]]','GEN'},
	{'[[iOS]]','iOS'},
	{'[[Atari Lynx]]','LYNX'},	
	{'[[Macintosh]]','MAC'},
	{'[[Sega Genesis|Mega Drive]]','SMD'},	
	{'[[Mobile phones|mobile]]','MOB'},
	{'[[N-Gage (device)|N-Gage]]','N-G'},
	{'[[Nintendo 64|N64]]','N64'},
	{'[[Nintendo Entertainment System|NES]]','NES'},
	{'[[Nintendo Switch|NS]]','NS'},
	{'[[Personal Computer|PC]]','PC'},
	{'[[PlayStation (console)|PS]]','PS'},
	{'[[PlayStation 2|PS2]]','PS2'},
	{'[[PlayStation 3|PS3]]','PS3'},
	{'[[PlayStation 4|PS4]]','PS4'},
	{'[[PlayStation Portable|PSP]]','PSP'},
	{'[[Sega Game Gear|SGG]]','SGG'},
	{'[[Super Nintendo Entertainment System|SNES]]','SNES'},
	{'[[Master System]]','SMS'},
	{'[[Sega Saturn|Saturn]]','SSAT'},
	{'[[Nvidia Shield|Shield]]','NSHI'},	
	{'[[TurboGrafx-16]]','TG16'},
	{'[[PlayStation Vita|PS Vita]]','VITA'},
	{'[[Wii]]','WII'},
	{'[[Wii U]]','WIIU'},	
	{'[[Xbox (console)|Xbox]]','XBOX'},
	{'[[Xbox 360]]','X360'},
	{'[[Xbox One]]','XONE'},
}

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',
		emptyCategory = '[[Category:Empty templates on articles]]',
		multiplatformCategory = '[[Category:Articles using Video game reviews template in multiple platform mode]]',
		singleplatformCategory = '[[Category:Articles using Video game reviews template in single platform mode]]',
		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'
	}
}