Module:Election results/sandbox: Difference between revisions

Content deleted Content added
Hmmm
+
Line 99:
:tag('td')
:wikitext(string.format('\[\[%s\]\]', args['vp' .. v]))
if args['party_name' .. v] then
row
:tag('td')
:wikitext(string.format('\[\[%s\|%s\]\]', args['party' .. v], args['party_name' .. v]))
else
row
:tag('td')
:wikitext(string.format('\[\[%s\]\]', args['candparty' .. v]))
end
else
row
:tag('td')
:wikitext(string.format('\[\[%s\]\]', args['cand' .. v]))
if args['party_name' .. v] then
row
Line 112 ⟶ 120:
:tag('td')
:wikitext(string.format('\[\[%s\]\]', args['party' .. v]))
end
end
local cell = mw.html.create('td')