Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
move to cfg
more cfg
Line 79:
if pagetype=='article' then
local mask = cfg.importance.mask
if mask[raw_importance:lower()] then -- valid importance specified
importance = mask[raw_importance:lower()]
else -- Unknown importance
importance = 'Unknown'cfg.importance.unknown
end
else -- NA importance
importance = 'NA'cfg.importance.na
end
end