Content deleted Content added
put article_class through custom mask to find value to inherit |
|||
Line 250:
args = raw_args
})
if class=='' and article_class and article_class~='' then -- if unassessed and article class exists, check if it can be inherited
local new_arg_table = {}
for arg, val in pairs(raw_args) do
new_arg_table[arg] = val
end
new_arg_table.class = article_class
local article_class_normalised = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args =
})
if article_class_normalised
else
article_class = nil -- effectively no article_class for this banner
|