Module:Video game reviews/sandbox: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
use the data module in new code
Jackmcbarn (talk | contribs)
further simplify getPlatforms
Line 62:
function getPlatforms(args)
local count = 0
for k_,v in ipairs(data.systems) do
local argValue if= args[tostring(v[2])] ~= nil then
if argValue and if string.argValue:lower(tostring(args[tostring(v[2])])) == 'true' then
count = count + count=count+1
end
end
end
return count