Module:Video game reviews/sandbox: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
reduce scope of platforms
Jackmcbarn (talk | contribs)
reduce scope of custome_agg and custome_rev
Line 24:
 
local args
local custome_agg
local custome_rev
 
local function Split(str, delim)
Line 88 ⟶ 86:
end
 
local function reviews(halfkeysrev, halfkeysagg, platforms, custome_agg, custome_rev)
local arg_system
local tbl2
Line 421 ⟶ 419:
end
 
local function renderMainTable(halfkeysrev, halfkeysagg, awardnums, platforms, custome_agg, custome_rev)
local tbl
 
Line 473 ⟶ 471:
.tag('tr')
.tag('td')
.node(reviews(halfkeysrev, halfkeysagg, platforms, custome_agg, custome_rev))
 
tbl
Line 501 ⟶ 499:
local platforms = #activeSystems
local activeAggregators, activeReviewers = getActiveCustomAggregatorsAndReviewers(args)
local custome_agg, custome_rev = #activeAggregators, #activeReviewers
 
local sortedArgKeys = {}
Line 570 ⟶ 568:
if awardnums then table.sort(awardnums) end
 
return renderMainTable(halfkeysrev, halfkeysagg, awardnums, platforms, custome_agg, custome_rev)
end