Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
+
b
Line 329:
if show_checklist then
local scale = args.QUALITY_CRITERIA=='custom' and assessment_link and assessment_link..'#'..lang:ucfirst(cfg.quality.name)
or cfg.B_classb_checklist.default_scale
local text = string.format(
cfg.B_checklistb_checklist.text,
parameters_used and cfg.B_checklistb_checklist.checked or cfg.B_checklistb_checklist.not_checked,
scale
)
Line 339:
local b = raw_args['b'..i]
if b and b~='unused' then -- crtierion in use
b = cfg.B_checklistb_checklist.mask[string.lower(b)] or cfg.B_checklistb_checklist.mask.default
local image = '[[File:' .. cfg.Bb-checklist.icon[b] .. '.svg|16x16px|link=|alt=]]'
criteria:tag('li')
:wikitext(image .. ' ' .. cfg.B_checklistb_checklist.criteria[i] .. ': <i>' .. cfg.B_checklistb_checklist.checked[b] .. '</i>')
:done()
end
Line 350:
:tag('td')
:addClass('assess-b')
:css('background', cfg.B_checklistb_checklist.background):css('padding-bottom', '5px')
:wikitext(cfg.B_checklistb_checklist.icon)
:done()
:tag('td')