Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
start warnings
use existing warning
Line 157:
dab = 'disambiguation page'
})
local rows, nested_ratings, task_forces, notes, categories, taskforce_categories, warnings = {}, {}, {}, {}, {}, {}, {}
local add_category = function(category, key)
if category and category~='none' then
Line 335:
else
add_category(cfg.category.no_quality_rating)
tablewarning = warning ..insert(warnings, 'Please add the quality rating to the WikiProject banner shell instead of this project banner. See [[WP:PIQA]] for details.')
end
elseif class=='' or class==article_class then -- local class matches article class or is blank
Line 352:
end
else
tablewarning = warning ..insert(warnings, 'Please add {{WikiProject banner shell}} to this page and add the quality rating to it instead of this project banner. See [[WP:PIQA]] for details.')
end
if not isarticle(class) then