Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
try this logic
No edit summary
Line 251:
})
if article_class and article_class~='' then -- article class exists, check if it can be inherited
article_classlocal article_class_normalised = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args = {class = article_class}
})
article_class = article_class_normalised~='' and article_class_normalised or nil
end
end