Module:Election results/sandbox: Difference between revisions

Content deleted Content added
+
+
Line 41:
:tag('th')
:wikitext('Party')
:tag('th')
:wikitext('Votes')
:tag('th')
:wikitext('%')
end
if cand then
Line 49 ⟶ 53:
:tag('th')
:wikitext('Party')
else
row
:tag('th')
:wikitext('PartyVotes')
:attrtag('colspanth', 2)
:wikitext('%')
end
if sc then
row
:tag('th')
:wikitext('Votes')
:tag('th')
:wikitext('%')
if seats then
row
:tag('th')
:wikitext('Candidate')
:attr('colspan', 2)
:tag('th')
:wikitext('Party')
:tag('th')
:wikitext('Votes')
:tag('th')
:wikitext('%')
:tag('th')
:wikitext('Seats')
end
if sc then
row
:tag('th')
:wikitext('+/–')
else
end
row
:tag('th')
:wikitext('Candidate')
:attr('colspan', 2)
:tag('th')
:wikitext('Party')
:tag('th')
:wikitext('Votes')
:tag('th')
:wikitext('%')
:tag('th')
:wikitext('Seats')
end
root:node(row)
local lang = mw.getContentLanguage()