Changes
Template:WikiProject assessment category check (view source)
Revision as of 23:26, 26 August 2018
, 6 years agoallow negating 1.0 cats
{{#ifexpr:
{{#ifexist:Category:FA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{fa}}}|yes|1|0}}+
{{#ifexist:Category:FL-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{fl}}}|yes|1|0}}+
{{#ifexist:Category:A-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{a|yes}}}|yes|1|0}}+
{{#ifexist:Category:GA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{ga}}}|yes|1|0}}+
{{#ifexist:Category:B-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{b}}}|yes|1|0}}+
{{#ifexist:Category:C-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{c}}}|yes|1|0}}+
{{#ifexist:Category:Start-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{start}}}|yes|1|0}}+
{{#ifexist:Category:Stub-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{stub}}}|yes|1|0}}+
{{#ifexist:Category:List-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{list}}}|yes|1|0}}+
{{#ifexist:Category:Unassessed {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}+
{{#ifexist:Category:NA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}+
{{#ifexist:Category:Future-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{future}}}|yes|1|0}}+
{{#ifexist:Category:Current-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{current}}}|yes|1|0}}+
{{#ifexist:Category:Needed-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{needed}}}|yes|1|0}}+
{{#ifexist:Category:SIA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{sia}}}|yes|1|0}}+
{{#ifexist:Category:Merge-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{merge}}}|yes|1|0}}+
{{#ifexist:Category:File-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{file}}}|yes|1|0}}+
{{#ifexist:Category:File-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{file-image}}}|File|1|0}}+
{{#ifexist:Category:Category-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{category}}}|yes|1|0}}+
{{#ifexist:Category:Disambig-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{disambig}}}|yes|1|0}}+
{{#ifexist:Category:Portal-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{portal}}}|yes|1|0}}+
{{#ifexist:Category:Redirect-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{redirect}}}|yes|1|0}}+
{{#ifexist:Category:Template-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{template}}}|yes|1|0}}+
{{#ifexist:Category:Project-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{project}}}|yes|1|0}}+
{{#ifexist:Category:Book-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{book}}}|yes|1|0}}+
{{#ifexist:Category:Draft-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{draft}}}|yes|1|0}}+
{{#ifexist:Category:FM-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{fm}}}|yes|1|0}}+
{{#ifexist:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality|0|1}}
|{{ombox
|type=content
|image=[[File:Nuvola apps kfig.svg|50px]]
|text=Some of the categories required{{#if:{{{name|}}}| for '''{{{name}}}'''}} do not currently exist, and need to be created. Please ensure that the categories below are created to avoid redlinks appearing on talk pages.{{#if:{{{assessment_cat_name|}}}
| Alternatively, you may have to set or update the {{para|{{{assessment_cat_name}}}}} parameter in this template.
}}{{#ifeq:{{{fa}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=FA
}}}}{{#ifeq:{{{fl}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=FL
}}}}{{#ifeq:{{{a}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=A
}}}}{{#ifeq:{{{ga}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=GA
}}}}{{#ifeq:{{{b}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=B
}}}}{{#ifeq:{{{c}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=C
}}}}{{#ifeq:{{{start}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Start
}}}}{{#ifeq:{{{stub}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Stub
}}}}{{#ifeq:{{{list}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=List
}}}}{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Unassessed
}}{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=NA
}}{{#ifeq:{{{future}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Future
}}}}{{#ifeq:{{{current}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Current
}}}}{{#ifeq:{{{needed}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Needed
}}}}{{#ifeq:{{{merge}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Merge
}}}}{{#ifeq:{{{sia}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=SIA
}}}}{{#ifeq:{{{file}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=File
}}}}{{#ifeq:{{{file-image}}}|File|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=File
}}}}{{#ifeq:{{{category}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Category
}}}}{{#ifeq:{{{disambig}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Disambig
}}}}{{#ifeq:{{{portal}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Portal
}}}}{{#ifeq:{{{redirect}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Redirect
}}}}{{#ifeq:{{{template}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Template
}}}}{{#ifeq:{{{project}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Project
}}}}{{#ifeq:{{{book}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Book
}}}}{{#ifeq:{{{draft}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Draft
}}}}{{#ifeq:{{{fm}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=FM
}}}}{{#ifexist:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality|| 
*[[:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality]] – ([{{fullurl:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality|action=edit&preload=Template:WPBannerMeta/templatepage/preloadmeta&editintro=Template:WPBannerMeta/templatepage/editintro&preview=false}} create])}}
}}{{#ifexpr:{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|1|0}}+{{#ifeq:{{NAMESPACE}}|{{ns:2}}|1|0}}=0|[[Category:WPBannerMeta templates with missing assessment categories|{{{PROJECT|{{{topic}}}}}}]]}}
}}<noinclude>
{{documentation}}
</noinclude>
{{#ifexist:Category:FA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{fa}}}|yes|1|0}}+
{{#ifexist:Category:FL-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{fl}}}|yes|1|0}}+
{{#ifexist:Category:A-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{a|yes}}}|yes|1|0}}+
{{#ifexist:Category:GA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{ga}}}|yes|1|0}}+
{{#ifexist:Category:B-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{b}}}|yes|1|0}}+
{{#ifexist:Category:C-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{c}}}|yes|1|0}}+
{{#ifexist:Category:Start-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{start}}}|yes|1|0}}+
{{#ifexist:Category:Stub-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{stub}}}|yes|1|0}}+
{{#ifexist:Category:List-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{list}}}|yes|1|0}}+
{{#ifexist:Category:Unassessed {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}+
{{#ifexist:Category:NA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}+
{{#ifexist:Category:Future-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{future}}}|yes|1|0}}+
{{#ifexist:Category:Current-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{current}}}|yes|1|0}}+
{{#ifexist:Category:Needed-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{needed}}}|yes|1|0}}+
{{#ifexist:Category:SIA-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{sia}}}|yes|1|0}}+
{{#ifexist:Category:Merge-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{merge}}}|yes|1|0}}+
{{#ifexist:Category:File-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{file}}}|yes|1|0}}+
{{#ifexist:Category:File-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{file-image}}}|File|1|0}}+
{{#ifexist:Category:Category-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{category}}}|yes|1|0}}+
{{#ifexist:Category:Disambig-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{disambig}}}|yes|1|0}}+
{{#ifexist:Category:Portal-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{portal}}}|yes|1|0}}+
{{#ifexist:Category:Redirect-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{redirect}}}|yes|1|0}}+
{{#ifexist:Category:Template-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{template}}}|yes|1|0}}+
{{#ifexist:Category:Project-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{project}}}|yes|1|0}}+
{{#ifexist:Category:Book-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{book}}}|yes|1|0}}+
{{#ifexist:Category:Draft-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{draft}}}|yes|1|0}}+
{{#ifexist:Category:FM-Class {{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|0|1}}*{{#ifeq:{{{fm}}}|yes|1|0}}+
{{#ifexist:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality|0|1}}
|{{ombox
|type=content
|image=[[File:Nuvola apps kfig.svg|50px]]
|text=Some of the categories required{{#if:{{{name|}}}| for '''{{{name}}}'''}} do not currently exist, and need to be created. Please ensure that the categories below are created to avoid redlinks appearing on talk pages.{{#if:{{{assessment_cat_name|}}}
| Alternatively, you may have to set or update the {{para|{{{assessment_cat_name}}}}} parameter in this template.
}}{{#ifeq:{{{fa}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=FA
}}}}{{#ifeq:{{{fl}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=FL
}}}}{{#ifeq:{{{a}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=A
}}}}{{#ifeq:{{{ga}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=GA
}}}}{{#ifeq:{{{b}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=B
}}}}{{#ifeq:{{{c}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=C
}}}}{{#ifeq:{{{start}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Start
}}}}{{#ifeq:{{{stub}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Stub
}}}}{{#ifeq:{{{list}}}|no||{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=List
}}}}{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Unassessed
}}{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=NA
}}{{#ifeq:{{{future}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Future
}}}}{{#ifeq:{{{current}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Current
}}}}{{#ifeq:{{{needed}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Needed
}}}}{{#ifeq:{{{merge}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Merge
}}}}{{#ifeq:{{{sia}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=SIA
}}}}{{#ifeq:{{{file}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=File
}}}}{{#ifeq:{{{file-image}}}|File|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=File
}}}}{{#ifeq:{{{category}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Category
}}}}{{#ifeq:{{{disambig}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Disambig
}}}}{{#ifeq:{{{portal}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Portal
}}}}{{#ifeq:{{{redirect}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Redirect
}}}}{{#ifeq:{{{template}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Template
}}}}{{#ifeq:{{{project}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Project
}}}}{{#ifeq:{{{book}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Book
}}}}{{#ifeq:{{{draft}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=Draft
}}}}{{#ifeq:{{{fm}}}|yes|{{WikiProject assessment category check/row|cat={{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}}|class=FM
}}}}{{#ifexist:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality|| 
*[[:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality]] – ([{{fullurl:Category:{{{cat|{{{topic|}}} {{#if:{{{articles|}}}|{{{articles|}}}|articles}}}}} by quality|action=edit&preload=Template:WPBannerMeta/templatepage/preloadmeta&editintro=Template:WPBannerMeta/templatepage/editintro&preview=false}} create])}}
}}{{#ifexpr:{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|1|0}}+{{#ifeq:{{NAMESPACE}}|{{ns:2}}|1|0}}=0|[[Category:WPBannerMeta templates with missing assessment categories|{{{PROJECT|{{{topic}}}}}}]]}}
}}<noinclude>
{{documentation}}
</noinclude>