Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
move to cfg
move to cfg
Line 78:
elseif raw_importance then-- standard importance scale
if pagetype=='article' then
local mask = {top = 'Top', high = 'High', mid = 'Mid', low = 'Low', na = 'NA', no = 'NA'} -- replace with cfg.importance.mask after update
if mask[raw_importance:lower()] then
importance = mask[raw_importance:lower()]
Line 307:
local template_outside_shell
if content_without_shell and mw.ustring.find(content_without_shell, '{{%s*' .. banner_name_escaped .. '%s*[|}]') then -- found banner template outside of the shell
add_category('WikiProject banners placed outside the banner shell'cfg.banner_shell.outside_shell)
end
else -- no banner shell on page