יחידה:Election results – הבדלי גרסאות
תוכן שנמחק תוכן שנוסף
use nil |
Allow electorate and turnout to be entered when they are the only things known |
||
שורה 97:
end
end
end▼
end
שורה 189 ⟵ 172:
end
if rounds > 1 then
if args['firstround'] then▼
row
:tag('th')
:wikitext(args.firstround or 'First round')
:attr('scope', 'col')
:attr('colspan', 2)
:tag('th')
:wikitext(args.secondround or 'Second round')
:attr('scope', 'col')
:attr('colspan', 2)
secondrow = root:tag('tr')
:tag('th')▼
:wikitext('First round')▼
:tag('th')▼
:wikitext('Second round')▼
else
secondrow = row
שורה 508 ⟵ 478:
:css('font-weight', 'normal')
:css('background', 'inherit')
if args['electorate'] and args['turnout'] then
for k=1,rounds do
▲ end
for k=1,rounds do
row:tag('td')
|