Content deleted Content added
m class |
No edit summary |
||
Line 251:
if class=='' then -- unassessed, see if there is an article assessment
local article_class = p.readarticleclass({ignore_subtemplates=true}, title.prefixedText)
article_class = article_class and class_mask({
if article_class and article_class~='' then -- article class exists, check if it can be inherited
local normalised_class = mw.text.trim(frame:expandTemplate{
title = custom_mask.prefixedText,
args = {class = article_class}
})
class = normalised_class~='' and normalised_class or ''
|