Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
oops
extra grade for module
Line 105:
ret = grade:upper()
end
 
-- NA
elseif grade == 'na' then
if args.forceNA == 'yes' then
Line 113 ⟶ 111:
ret = 'NA'
end
 
-- File
elseif grade == 'file' or grade == 'image' or grade == 'img' then
ret = resolveFQSgrade('file', args)
 
-- Category
elseif grade == 'category' or grade == 'cat' or grade == 'categ' then
ret = resolveFQSgrade('category', args)
 
-- Disambguation
elseif grade == 'dab' or grade == 'disambig' or grade == 'disambiguation' or grade == 'disamb' then
ret = resolveFQSgrade('disambig', args)
 
-- Redirect
elseif grade == 'redirect' or grade == 'red' or grade == 'redir' then
ret = resolveExtraGrade('redirect', args)
 
-- Portal, Project and Draft
elseif grade == 'portal' or grade == 'project' or grade == 'draft' then
ret = resolveFQSgrade(grade, args)
 
-- Template
elseif grade == 'template' or grade == 'temp' or grade == 'tpl' or grade == 'templ' then
ret = resolveFQSgrade('template', args)
elseif grade == 'module' then
 
ret = resolveExtragrade('module', args)
-- FM
elseif grade == 'fm' then
if args.fm == 'yes' then