Modulo:Progetti interessati: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m wikilink importanza
icon_nc, text_nc
Riga 350:
local PreMonitoraggioTable = {}
 
function PreMonitoraggioTable:new(livello, args)
local self = {}
setmetatable(self, { __index = PreMonitoraggioTable })
self.livello = livello
self.args = args
return self
end
Riga 364 ⟶ 366:
}
local tableNode = mw.html.create('table'):css(tableStyle)
local text = self.livello and cfg.monitoraggio.text or cfg.monitoraggio.text_nc
tableNode
:tag('tr')
Riga 369 ⟶ 372:
:css('width', '52px')
:css('text-align', 'center')
:wikitext(self.livello and cfg.monitoraggio.icon or cfg.monitoraggio.icon_nc)
:done()
:tag('td')
:wikitext(cfg.monitoraggiomw.getCurrentFrame():preprocess(text))
:done()
 
Riga 548 ⟶ 551:
(table.concat(getCategories(livello, args, projects)) .. table.concat(errcat)) or ''
return ProjectsTable:new(projects):getHTML() ..
PreMonitoraggioTable:new(livello, args):getHTML() ..
(livello and MonitoraggioTable:new(livello, args):getHTML() or '') ..
categories
else