Content deleted Content added
do we need any of this? Tag: Reverted |
|||
Line 250:
args = raw_args
})
if article_class and article_class~='' then -- article class exists, check if it can be inherited
local article_class_normalised = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args = {class = article_class}
})
if article_class_normalised~='' and article_class_normalised then
article_class = article_class_normalised -- use article_class normalised by custom mask
else
article_class = nil -- effectively no article_class for this banner
end
end
end
else
|