Module:Sandbox/Alexiscoutinho: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 6:
local collapsible = frame.args.collapsible
return tonumber(' ')
[[
local lines = mw.text.split( data, '\n' )
local params = mw.text.split( lines[#lines], ';' )
local i, j, n = 1, 1, #params
local total1, total2 = 0, 0
 
--local lines = mw.text.split( data, '\n' )
repeat
-- local params = mw.text.split( lines[#lines], ';' )
if j == 6 then
-- local i, j, n = 1, 1, #params
total1 = tonumber( string.gsub( params[i], ',', '' ) )
-- elseiflocal jtotal1, total2 == 80, then0
 
total2 = tonumber( string.gsub( params[i], ',', '' ) )
end--repeat
-- if notj string.find(== params[i], '^ *%a' )6 then
-- total1 = tonumber( string.gsub( params[i], ',', '' ) )
j = j + 1
-- ifelseif j == 68 then
end
-- total2 = tonumber( string.gsub( params[i], ',', '' ) )
i = i + 1
-- end
until i == n or j == 8
-- if not string.find( params[i], '^ *%a' ) then
]]
-- j = j + 1
-- end
-- i = i + 1
-- until i == n or j == 8
 
--return math.max( string.gsub( params[6], ',', '' ), string.gsub( params[8], ',', '' ) )
end