Module:Election results/sandbox: Difference between revisions

Content deleted Content added
rv one back- is putting rowscopes on parties even when candidates listed
testing branching one if statement to only apply rowscopes when appropriate
Line 728:
:wikitext(args['alliance' .. v])
end
if args['party' .. v] and not has_alliance or args['cand' .. v] and has_party and not has_alliance then
row
:tag('td')
:attr('scope', 'row')
:wikitext(args['party' .. v])
elseif args['party' .. v] and not has_alliance or args['cand' .. v] and has_party and not has_alliance then
row
:tag('td')