לדלג לתוכן

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

colspan=3 for rows with no votes when swing is invoked
(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)
: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')