Module:Election results/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 80:
row = root:tag('tr')
end
for k=1,rounds do
row
row
:tag('th')
:wikitext('Votes')
:tag('th')
:wikitext('%')
end
elseif cand then
row = root:tag('tr')
Line 105 ⟶ 107:
row = root:tag('tr')
end
for k=1,rounds do
row
row
:tag('th')
:wikitext('Votes')
:tag('th')
:wikitext('%')
end
elseif sc then
row = root:tag('tr')
Line 131 ⟶ 135:
:attr('rowspan', 2)
row = root:tag('tr')
for k=1,rounds do
row
row
:tag('th')
:wikitext('Votes')
:tag('th')
:wikitext('%')
rowend
else
row
Line 168 ⟶ 174:
:attr('rowspan', 2)
row = root:tag('tr')
for k=1,rounds do
:tag('th')
row
:wikitext('Votes')
:tag('th')
:wikitext('%Votes')
:tag('th')
:wikitext('Votes%')
end
else
row
Line 345 ⟶ 354:
row:tag('td')
:wikitext('Source: ', args.source)
:attr('colspan', cols -+ 02*(rounds-1))
:css('text-align', 'left')