Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
change order
change order
Line 382:
class = check_fallbacks(article_class, assessment_cat) -- check fallbacks again now that class may have changed
elseif class==article_class then -- local class matches article class or is blank
check_redundant()
elseif args.QUALITY_CRITERIA~='custom' and article_class=='FM' then
class = check_fallbacks(article_class, assessment_cat)
check_redundant()
elseif article_class=='' then -- local class defined and no article class defined
Line 393 ⟶ 390:
elseif args.QUALITY_CRITERIA=='custom' then -- project uses custom criteria and class differs
show = true -- show quality class in project banner
elseif args.QUALITY_CRITERIA~='custom' and article_class=='FM' then
class = check_fallbacks(article_class, assessment_cat)
check_redundant()
elseif not article and class~='FM' then -- article class and local class are both non-article classes
check_redundant()