Module:Event list: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 71:
:css('line-height', '95%')
local tr = innertable:tag('tr'):css('vertical-align', 'top')
tr:tag('th')
:attr('scope', 'col')
:css('width', datewidth)
:css('text-align', 'left'):wikitext('Date')
:css('border-bottom', '1px #aaa solid')
tr:tag('th'):attr('scope', 'col'):css('text-align', 'left'):wikitext('Event description')
:wikitext('Date')
tr:tag('th')
:attr('scope', 'col')
:css('text-align', 'left')
:css('border-bottom', '1px #aaa solid')
:wikitext('Event description')
for j=1,percol do
k = k + 1
Line 80 ⟶ 89:
local e = (args['event' .. n] or '') .. (args[2*(n-1)+2] or '')
if d ~= '' or e ~= '' then
tr = innertable:tag('tr'):css('vertical-align', 'top')
tr:tag('td'):wikitext(d)
tr:tag('td'):wikitext(e)