Module:Election results/sandbox: Difference between revisions

Content deleted Content added
+
?
Line 167:
if args['votes' .. i .. '_3'] then
has_votes = true
rounds = (rounds < 3) and 3 or rounds
if tonumber(args['votes' .. i .. '_3']) then showtotal.votes_3 = 1 end
local votesi = tonumber(args['votes' .. i .. '_3']) or 0
Line 526 ⟶ 527:
end
end
if has_votes and not has_seats2 or has_votes3 and not has_seats3 then
for k=1, rounds do
secondrow