< Module:Video game reviews
Browse history interactively ← Previous edit Next edit → Content deleted Content addedInline
Revision as of 19:31, 17 July 2014 view source Jackmcbarn (talk | contribs )31,380 edits use new data format← Previous edit
Revision as of 21:19, 17 July 2014 view source Jackmcbarn (talk | contribs )31,380 edits use order and mappingNext edit →
Line 1:
Line 1:
local reviewers = {
return {
{']', '1UP'},
reviewers = {
{']', 'Atrip'},
= "]",
{']', 'AdvGamers'},
= "]",
{']', 'Allgame'},
= "]",
{']', 'AAction'},
= "]",
{']', 'Amtix'},
= "]",
{']', 'CVG'},
= "]",
{']', 'CRASH'},
= "]",
{']', 'Destruct'},
= "]",
{']', 'Dragon'},
= "]",
= "]",
{' ]', 'Edge'} ,
{']', 'EGM'},
= "]",
{']', 'EuroG'},
= "]",
{']', 'Fam'},
= "]",
{']', 'G4'},
= "]",
{'GameCritics', 'GCritics'},
= "]",
{']', 'GameFan'},
= "GameCritics",
{']', 'GI'},
= "]",
{']', 'GamePro'},
= "]",
{']', 'GameRev'},
= "]",
{']', 'GMaster'},
= "]",
{']', 'GRadar'},
= "]",
{']', 'GSpot'},
= "]",
{']', 'GSpy'},
= "]",
{']', 'GTM'},
= "]",
{']', 'GT'},
= "]",
{'GameWire', 'GW'},
= "]",
{']', 'GameZone'},
= "GameWire",
{']', 'GB'},
= "]",
{']', 'Hyper'},
= "]",
{']', 'IGN'},
= "]",
{']', 'Joystiq'},
= "]",
{']', 'MaxPC'},
= "]",
{']', 'N64'},
= "]",
= "]",
{' ]', 'NGC'} ,
{']', 'NG'},
= "]",
{'NintendoLife', 'NLife'},
= "]",
{']', 'NP'},
= "NintendoLife",
{'Nintendo World Report', 'NWR'},
= "]",
= "Nintendo World Report",
{' ]', 'ONM'} ,
= "]",
{' ]', 'OPM'} ,
= "]",
{' ]', 'OPMUK'} ,
= "]",
{' ]', 'OPMAU'} ,
= "]",
{' ]', 'OXM'} ,
= "]",
{' ]', 'OXMUK'} ,
{']', 'PALGN'},
= "]",
{']', 'PCF'},
= "]",
{']', 'PCGUK'},
= "]",
= "]",
{' ]', 'PCGUS'} ,
{']', 'PCPP'},
= "]",
{']', 'PCZone'},
= "]",
{']', 'Play'},
= "]",
{']', 'Poly'},
= "]",
{']', 'PSM'},
= "]",
= "]",
{' ]', 'PSM3'} ,
{']', 'RPG'},
= "]",
{']', 'SUser'},
= "]",
{']', 'TX'},
= "]",
{']', 'VG'},
= "]",
{']', 'XPlay'},
= "]",
{']', 'YSinclair'},
= "]",
= "]",
},
aggregators = {
= "]",
= "]",
},
systems = {
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
= "]",
},
}
}
local aggregators = {
{']','GR'},
{']','MC'},
}
local systems = {
{']','A2600'},
{']','CV'},
{']','DS'},
{']','GB'},
{']','GBA'},
{']','GBC'},
{']', 'GEN'},
{']','iOS'},
{']','N-G'},
{']','N64'},
{']','NES'},
{']','NGC'},
{']','NSHI'},
{']','PC'},
{']','PS'},
{']','PS2'},
{']','PS3'},
{']','PS4'},
{']','PSP'},
{']','SDC'},
{']','SGG'},
{']','SNES'},
{']','SMD'},
{']','SMS'},
{']','SSAT'},
{']','TG16'},
{']','VITA'},
{']','XBOX'},
{']','X360'},
{']','XONE'},
{']','WII'},
}
local function makeOrderAndMapping(t)
local order, mapping = {}, {}
for k,v in ipairs(t) do
order = v
mapping] = v
end
return order, mapping
end
local order, mapping = {}, {}
order.reviewers, mapping.reviewers = makeOrderAndMapping(reviewers)
order.aggregators, mapping.aggregators = makeOrderAndMapping(aggregators)
order.systems, mapping.systems = makeOrderAndMapping(systems)
return { order = order, mapping = mapping }
Revision as of 21:19, 17 July 2014
Module documentation[view ] [edit ] [history ] [purge ]
This module depends on the following other modules:
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'},
{']', 'Atrip'},
{']', 'AdvGamers'},
{']', 'Allgame'},
{']', 'AAction'},
{']', 'Amtix'},
{']', 'CVG'},
{']', 'CRASH'},
{']', 'Destruct'},
{']', 'Dragon'},
{']', 'Edge'},
{']', 'EGM'},
{']', 'EuroG'},
{']', 'Fam'},
{']', 'G4'},
{'GameCritics', 'GCritics'},
{']', 'GameFan'},
{']', 'GI'},
{']', 'GamePro'},
{']', 'GameRev'},
{']', 'GMaster'},
{']', 'GRadar'},
{']', 'GSpot'},
{']', 'GSpy'},
{']', 'GTM'},
{']', 'GT'},
{'GameWire', 'GW'},
{']', 'GameZone'},
{']', 'GB'},
{']', 'Hyper'},
{']', 'IGN'},
{']', 'Joystiq'},
{']', 'MaxPC'},
{']', 'N64'},
{']', 'NGC'},
{']', 'NG'},
{'NintendoLife', '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 = {
{']','A2600'},
{']','CV'},
{']','DS'},
{']','GB'},
{']','GBA'},
{']','GBC'},
{']', 'GEN'},
{']','iOS'},
{']','N-G'},
{']','N64'},
{']','NES'},
{']','NGC'},
{']','NSHI'},
{']','PC'},
{']','PS'},
{']','PS2'},
{']','PS3'},
{']','PS4'},
{']','PSP'},
{']','SDC'},
{']','SGG'},
{']','SNES'},
{']','SMD'},
{']','SMS'},
{']','SSAT'},
{']','TG16'},
{']','VITA'},
{']','XBOX'},
{']','X360'},
{']','XONE'},
{']','WII'},
}
local function makeOrderAndMapping(t)
local order, mapping = {}, {}
for k,v in ipairs(t) do
order = v
mapping] = v
end
return order, mapping
end
local order, mapping = {}, {}
order.reviewers, mapping.reviewers = makeOrderAndMapping(reviewers)
order.aggregators, mapping.aggregators = makeOrderAndMapping(aggregators)
order.systems, mapping.systems = makeOrderAndMapping(systems)
return { order = order, mapping = mapping }
Categories :