Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
fix
remove icons
Line 310:
local quality_rating = cfg.quality.rating:format(pagetype, rating, scale)
local colour = cfg.quality.colour[class] or frame:expandTemplate{title='Class/colour', args={class}}
local icon = cfg.quality.icon[class]
local label = (icon and (icon..' ') or '') .. wikilink(':Category:' .. category, class)
local class_row = mw.html.create('tr')
:tag('td')
:addClass('assess'):addClass('assess-' .. class)
:css('background', colour):wikitext(labelwikilink(':Category:' .. category, class))
:done()
:tag('td'):addClass('mbox-text'):attr('colspan', '2'):wikitext(quality_rating)