Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 278:
-- Banner shell checks ----
---------------------------
local title = args.demo_page and demo_page~=true and mw.title.new(args.demo_page) or current_title
local article_class = p.readarticleclass({ignore_subtemplates=true}, title.prefixedText)
if article_class then -- banner shell exists
Line 302:
add_category('WikiProject banners placed outside the banner shell')
end
else -- no banner shell on page
else
if pagetype=='article' then
add_category(cfg.banner_shell.category.no_banner_shell_articles)