Module:Election results/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 14:
for i = 1, 20 do
if args['cand' .. i] then
cand = true
table.insert(index, i)
if not party and args['party' .. i] then
Line 41 ⟶ 42:
end
valid[2] = valid[2] + votesi
end
if args['sc' .. i] then
sc = true
end
if args['seats' .. i] then
seats = true
end
end
end
cand = ((sc or seats) and false) or cand
local root = mw.html.create('table')
root