Content deleted Content added
No edit summary |
No edit summary |
||
Line 13:
local i = 1
local total1, total2 = 0, 0
for parameter in mw.text.gsplit( lines[#lines], ';' ) do
if string.find( parameter, '^ *%A' ) then
if i == 6 then
Line 28 ⟶ 26:
total2 = 0
end
end
i = i + 1
Line 34 ⟶ 32:
end
divisor = math.max( total1, total2 ) / ( 0.95 * barwidth )
end
return divisor
|