Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
fix
not needed
Line 339:
local importance = importance_mask(raw_args.importance or raw_args.priority, class, args.IMPORTANCE_SCALE, banner_name)
local importance_name = args.IMPN or (raw_args.priority and 'priority' or cfg.importance.default_name)
if importance then -- banner gives importance ratings
local category = (importance=='' and 'Unknown' or importance) .. '-' .. importance_name .. ' ' .. assessment_cat
if importance~='NA' then -- display importance rating
local rating = importance=='Unknown' and cfg.importance.not_yet or cfg.importance.rated:format(importance, importance_name)