Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
define title earlier
try
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({[1] = article_class}, title)
if article_class and article_class~='' then -- article class exists, check if it can be inherited
local normalised_class = mw.text.trim(frame:expandTemplate{