Module:Infobox election/sandbox: Difference between revisions

Content deleted Content added
debug
add first round and final round
Line 149:
-- Percentage --
threeCells('percentage')
-- PrimaryFirst orround presidential--
if rtype == 'primary' then
threeCells('first_round')
end
-- Final round --
threeCells('final_round')
-- Primary or presidential --
if rtype == 'primary' or rtype == 'presidential' then
-- Counties won --
Line 223 ⟶ 229:
if notblank(v) then
args[k] = mw.text.trim(v)
frameArgs = Truetrue
end
end
Line 243 ⟶ 249:
if notblank(v) then
args[k] = mw.text.trim(v)
frameArgs = Truetrue
end
end