Content deleted Content added
testing branching one if statement to only apply rowscopes when appropriate |
adding another fork for if alliance+party but not cand to not put rowscope on the party |
||
Line 728:
:wikitext(args['alliance' .. v])
end
if args['party' .. v] and not args['cand' .. v] and not args['alliance' .. v] then
row
:tag('td')
:attr('scope', 'row')
:wikitext(args['party' .. v])
elseif args['party' .. v] and not args['cand' .. v] then
row
:tag('td')
:wikitext(args['party' .. v])
elseif args['party' .. v] and not has_alliance or args['cand' .. v] and has_party and not has_alliance then
|