Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
simp
simp
Line 147:
function p._main(args, title)
title = title or mw.title.getCurrentTitle()
local docWarningout = ''
if title.namespace == 10 and title.subpageText == 'class' then
docWarningout = mw.getCurrentFrame():expandTemplate{
title = 'Class mask/doc warning'
}
end
local gradeout = out .. getGrade(args, title) or ''
return docWarning .. gradeout
end