Content deleted Content added
Jackmcbarn (talk | contribs) rm unnecessary HtmlBuilder call |
Jackmcbarn (talk | contribs) reduce variable scope in awards and rm redundancy in HtmlBuilder usage |
||
Line 412:
end
function
.tag('td')
.css('font-weight','bold')
Line 422:
.css('background-color','#f2f2f2')
.wikitext(args['award' .. awardnum])
end
function awards(args, awardnums)
if args['award1'] then
local Cell = HtmlBuilder.create('table')
Line 443 ⟶ 441:
.css('border-top', 'none')
.wikitext('Awards')
Cell
.tag('tr')
Line 449 ⟶ 446:
.tag('th').wikitext('Award')
for
end
return Cell
Line 516 ⟶ 511:
.tag('tr')
.tag('td')
.node(awards(args, awardnums))
.done()
else
|