Changes
automatically recognise TimedText as File-class, module as Template-class, and any other namespace as NA-class
{{#ifeq:{{NAMESPACE}}:::{{SUBPAGENAME}}|Template:::class
|{{class mask/doc warning}}
}}{{#switch:{{lc:{{{1|¬}}}}}
|fa
|fl
|a
|ga
|c = {{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|no||{{uc:{{{1|}}}}} }}
|b = {{#ifeq:{{{b1|¬}}}{{{b2|¬}}}{{{b3|¬}}}{{{b4|¬}}}{{{b5|¬}}}{{{b6|¬}}}|¬¬¬¬¬¬
|{{#ifeq:{{{b}}}|no||B}}
|{{#ifexpr:
{{#switch:{{class mask/b|{{{b1|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b2|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b3|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b4|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b5|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b6|¬}}}}}|y|x|¬=1|0}}
|B
|C
}}
}}
|start
|stub
|list = {{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|no||{{ucfirst:{{lc:{{{1|}}}}}}} }}
|na = {{#ifeq:{{{forceNA}}}|yes
|{{#switch:{{SUBJECTSPACE}}
|TimedText
|File = {{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}
|Category = {{#ifeq:{{{category|{{{FQS}}}}}}|yes|Category|NA}}
|Portal = {{#ifeq:{{{portal|{{{FQS}}}}}}|yes|Portal|NA}}
|Module
|Template = {{#ifeq:{{{template|{{{FQS}}}}}}|yes|Template|NA}}
|Wikipedia = {{#ifeq:{{{project|{{{FQS}}}}}}|yes|Project|NA}}
|Draft = {{#ifeq:{{{draft|{{{FQS}}}}}}|yes|Draft|NA}}
|Book = {{#ifeq:{{{book}}}|yes|Book|NA}}
|#default = NA
}}
|NA
}}
|image
|img
|file = {{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}
|category
|cat
|categ = {{#ifeq:{{{category|{{{FQS}}}}}}|yes|Category|NA}}
|disambiguation
|disambig
|disamb
|dab = {{#ifeq:{{{disambig|{{{FQS}}}}}}|yes|Disambig|NA}}
|portal = {{#ifeq:{{{portal|{{{FQS}}}}}}|yes|Portal|NA}}
|redirect
|red
|redir = {{#ifeq:{{{redirect}}}|yes|Redirect|NA}}
|template
|temp
|tpl
|templ = {{#ifeq:{{{template|{{{FQS}}}}}}|yes|Template|NA}}
|project = {{#ifeq:{{{project|{{{FQS}}}}}}|yes|Project|NA}}
|draft = {{#ifeq:{{{draft|{{{FQS}}}}}}|yes|Draft|NA}}
|book = {{#ifeq:{{{book}}}|yes|Book|NA}}
|fm = {{#ifeq:{{{fm}}}|yes|FM|{{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}}}
|¬ = ¬
|#default = {{#if:{{{{{uc:{{{1|}}}}}|{{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|yes|{{ucfirst:{{lc:{{{1}}}}}}}}}}}}
|{{{{{uc:{{{1|}}}}}|{{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|yes|{{ucfirst:{{lc:{{{1}}}}}}}}}}}}
|{{#ifeq:{{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes
|{{#ifeq:{{{redirect}}}|yes|Redirect|NA}}
|{{#switch:{{SUBJECTSPACE}}
|TimedText
|File = {{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}
|Category = {{#ifeq:{{{category|{{{FQS}}}}}}|yes|Category|NA}}
|Portal = {{#ifeq:{{{portal|{{{FQS}}}}}}|yes|Portal|NA}}
|Module
|Template = {{#ifeq:{{{template|{{{FQS}}}}}}|yes|Template|NA}}
|Wikipedia = {{#ifeq:{{{project|{{{FQS}}}}}}|yes|Project|NA}}
|Draft = {{#ifeq:{{{draft|{{{FQS}}}}}}|yes|Draft|NA}}
|Book = {{#ifeq:{{{book}}}|yes|Book|NA}}
| = <!-- Mainspace, leave unassessed -->
|#default = NA <!--includes all other namespaces -->
}}
}}
}}
}}<noinclude>
{{documentation}}
</noinclude>
|{{class mask/doc warning}}
}}{{#switch:{{lc:{{{1|¬}}}}}
|fa
|fl
|a
|ga
|c = {{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|no||{{uc:{{{1|}}}}} }}
|b = {{#ifeq:{{{b1|¬}}}{{{b2|¬}}}{{{b3|¬}}}{{{b4|¬}}}{{{b5|¬}}}{{{b6|¬}}}|¬¬¬¬¬¬
|{{#ifeq:{{{b}}}|no||B}}
|{{#ifexpr:
{{#switch:{{class mask/b|{{{b1|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b2|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b3|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b4|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b5|¬}}}}}|y|x|¬=1|0}}*
{{#switch:{{class mask/b|{{{b6|¬}}}}}|y|x|¬=1|0}}
|B
|C
}}
}}
|start
|stub
|list = {{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|no||{{ucfirst:{{lc:{{{1|}}}}}}} }}
|na = {{#ifeq:{{{forceNA}}}|yes
|{{#switch:{{SUBJECTSPACE}}
|TimedText
|File = {{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}
|Category = {{#ifeq:{{{category|{{{FQS}}}}}}|yes|Category|NA}}
|Portal = {{#ifeq:{{{portal|{{{FQS}}}}}}|yes|Portal|NA}}
|Module
|Template = {{#ifeq:{{{template|{{{FQS}}}}}}|yes|Template|NA}}
|Wikipedia = {{#ifeq:{{{project|{{{FQS}}}}}}|yes|Project|NA}}
|Draft = {{#ifeq:{{{draft|{{{FQS}}}}}}|yes|Draft|NA}}
|Book = {{#ifeq:{{{book}}}|yes|Book|NA}}
|#default = NA
}}
|NA
}}
|image
|img
|file = {{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}
|category
|cat
|categ = {{#ifeq:{{{category|{{{FQS}}}}}}|yes|Category|NA}}
|disambiguation
|disambig
|disamb
|dab = {{#ifeq:{{{disambig|{{{FQS}}}}}}|yes|Disambig|NA}}
|portal = {{#ifeq:{{{portal|{{{FQS}}}}}}|yes|Portal|NA}}
|redirect
|red
|redir = {{#ifeq:{{{redirect}}}|yes|Redirect|NA}}
|template
|temp
|tpl
|templ = {{#ifeq:{{{template|{{{FQS}}}}}}|yes|Template|NA}}
|project = {{#ifeq:{{{project|{{{FQS}}}}}}|yes|Project|NA}}
|draft = {{#ifeq:{{{draft|{{{FQS}}}}}}|yes|Draft|NA}}
|book = {{#ifeq:{{{book}}}|yes|Book|NA}}
|fm = {{#ifeq:{{{fm}}}|yes|FM|{{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}}}
|¬ = ¬
|#default = {{#if:{{{{{uc:{{{1|}}}}}|{{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|yes|{{ucfirst:{{lc:{{{1}}}}}}}}}}}}
|{{{{{uc:{{{1|}}}}}|{{#ifeq:{{{{{lc:{{{1|}}}}}|}}}|yes|{{ucfirst:{{lc:{{{1}}}}}}}}}}}}
|{{#ifeq:{{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes
|{{#ifeq:{{{redirect}}}|yes|Redirect|NA}}
|{{#switch:{{SUBJECTSPACE}}
|TimedText
|File = {{#ifeq:{{{file|{{{FQS}}}}}}|yes|File|NA}}
|Category = {{#ifeq:{{{category|{{{FQS}}}}}}|yes|Category|NA}}
|Portal = {{#ifeq:{{{portal|{{{FQS}}}}}}|yes|Portal|NA}}
|Module
|Template = {{#ifeq:{{{template|{{{FQS}}}}}}|yes|Template|NA}}
|Wikipedia = {{#ifeq:{{{project|{{{FQS}}}}}}|yes|Project|NA}}
|Draft = {{#ifeq:{{{draft|{{{FQS}}}}}}|yes|Draft|NA}}
|Book = {{#ifeq:{{{book}}}|yes|Book|NA}}
| = <!-- Mainspace, leave unassessed -->
|#default = NA <!--includes all other namespaces -->
}}
}}
}}
}}<noinclude>
{{documentation}}
</noinclude>