יחידה:Election results – הבדלי גרסאות

תוכן שנמחק תוכן שנוסף
Couple more upgrades to deal with no invalid vote figures and cases where turnout is known but electorate not
colspan=3 for rows with no votes when swing is invoked
שורה 289:
:css('text-align', 'right')
:wikitext(pct(args['votes' .. v .. suf], valid[kk]))
elseif headings['sw'] then
row:tag('td'):attr('colspan', 3)
else
row:tag('td'):attr('colspan', 2)
end
end
if headings['sw'] and (args['votes' .. v]) then
row
:tag('td')