Content deleted Content added
Jackmcbarn (talk | contribs) m typo |
Jackmcbarn (talk | contribs) clean up the awards function |
||
Line 370:
end
local function
tbl.tag('tr')▼
.tag('td')▼
.css('font-weight','bold')▼
.css('background-color','#f2f2f2')▼
.wikitext(args['award' .. awardnum .. 'Pub'])▼
.done()▼
.tag('td')▼
.css('background-color','#f2f2f2')▼
.wikitext(args['award' .. awardnum])▼
▲ if args['award1'] then
local Cell = HtmlBuilder.create('table')
.addClass('infobox wikitable')
Line 391 ⟶ 379:
.attr('cellpadding', 3)
.attr('cellspacing', 0)
Cell▼
.tag('tr')
.tag('th')
Line 399 ⟶ 386:
.css('border-top', 'none')
.wikitext('Awards')
▲ .done()
.tag('tr')
.tag('th')
.wikitext('Publication') .
.tag('th')
.wikitext('Award')
.done()
for _,v in ipairs(
▲ .tag('td')
▲ .css('font-weight','bold')
▲ .css('background-color','#f2f2f2')
.done()
▲ .tag('td')
▲ .css('background-color','#f2f2f2')
end
return Cell
Line 411 ⟶ 412:
end
local function renderMainTable(halfkeysrev, halfkeysagg,
local tbl
Line 476 ⟶ 477:
.tag('tr')
.tag('td')
.node(awards(args,
else
local category = categoryHandler{
Line 560 ⟶ 561:
end
halfkeysagg = nitem
return renderMainTable(halfkeysrev, halfkeysagg,
▲ return renderMainTable(halfkeysrev, halfkeysagg, awardnums, platforms, custome_agg, custome_rev, args)
end
|