Revision 57271306 of "Sjabloon:Class mask/templatepage" on nlwiki<noinclude>{{Sjabloonweg||2020|10|06}}</noinclude>{{#ifeq:{{{1|{{{class|¬}}}}}}|<includeonly>¬</includeonly>|{{ombox
|type=content
|text=It appears that the ''class'' parameter is not being passed to this template. Please add {{para|1|<nowiki>{{{class|}}}</nowiki>}}
}}
}}{{#if:{{{topic|}}}
|{{#ifeq:{{{hidewarnings|}}}|yes||{{WikiProject assessment category check
|topic={{{topic}}}
|articles={{{articles|}}}
|fa={{{fa}}} |fl={{{fl}}} |a={{{a}}} |ga={{{ga}}} |b={{{b}}} |c={{{c}}}
|start={{{start}}} |stub={{{stub}}} |list={{{list}}}
|future={{{future}}} |current={{{current}}}
|needed={{{needed}}} |merge={{{merge}}}
|file={{{file|{{{FQS}}}}}}
|category={{{category|{{{FQS}}}}}}
|disambig={{{disambig|{{{FQS}}}}}} |portal={{{portal|{{{FQS}}}}}}
|redirect={{{redirect|}}} |template={{{template|{{{FQS}}}}}}
|project={{{project|{{{FQS}}}}}} |book={{{book}}}
|draft={{{draft|{{{FQS}}}}}}
|fm={{{fm}}}
}}}}
|{{ombox
|type=content
|text=In order for this documentation to relate specifically to the WikiProject, please define the {{para|topic}} parameter.
}}
}}{{#if:{{{topic1|}}}
|{{WikiProject assessment category check
|topic={{{topic1}}} |name=the {{{topic1}}} subproject or taskforce
|articles={{{articles|}}}
|fa={{{fa}}} |fl={{{fl}}} |a={{{a}}} |ga={{{ga}}} |b={{{b}}} |c={{{c}}}
|start={{{start}}} |stub={{{stub}}} |list={{{list}}}
|future={{{future}}} |current={{{current}}}
|needed={{{needed}}} |merge={{{merge}}}
|file={{{file|{{{FQS}}}}}}
|category={{{category|{{{FQS}}}}}}
|disambig={{{disambig|{{{FQS}}}}}} |portal={{{portal|{{{FQS}}}}}}
|redirect={{{redirect|}}} |template={{{template|{{{FQS}}}}}}
|project={{{project|{{{FQS}}}}}} |book={{{book}}}
|draft={{{draft|{{{FQS}}}}}}
|fm={{{fm}}}
}}
}}{{#if:{{{topic2|}}}
|{{WikiProject assessment category check
|topic={{{topic2}}} |name=the {{{topic2}}} subproject or taskforce
|articles={{{articles|}}}
|fa={{{fa}}} |fl={{{fl}}} |a={{{a}}} |ga={{{ga}}} |b={{{b}}} |c={{{c}}}
|start={{{start}}} |stub={{{stub}}} |list={{{list}}}
|future={{{future}}} |current={{{current}}}
|needed={{{needed}}} |merge={{{merge}}}
|file={{{file|{{{FQS}}}}}}
|category={{{category|{{{FQS}}}}}}
|disambig={{{disambig|{{{FQS}}}}}} |portal={{{portal|{{{FQS}}}}}}
|redirect={{{redirect|}}} |template={{{template|{{{FQS}}}}}}
|project={{{project|{{{FQS}}}}}} |book={{{book}}}
|draft={{{draft|{{{FQS}}}}}}
|fm={{{fm}}}
}}
}}{{#if:{{{topic3|}}}
|{{WikiProject assessment category check
|topic={{{topic3}}} |name=the {{{topic3}}} subproject or taskforce
|articles={{{articles|}}}
|fa={{{fa}}} |fl={{{fl}}} |a={{{a}}} |ga={{{ga}}} |b={{{b}}} |c={{{c}}}
|start={{{start}}} |stub={{{stub}}} |list={{{list}}}
|future={{{future}}} |current={{{current}}}
|needed={{{needed}}} |merge={{{merge}}}
|file={{{file|{{{FQS}}}}}}
|category={{{category|{{{FQS}}}}}}
|disambig={{{disambig|{{{FQS}}}}}} |portal={{{portal|{{{FQS}}}}}}
|redirect={{{redirect|}}} |template={{{template|{{{FQS}}}}}}
|project={{{project|{{{FQS}}}}}} |book={{{book}}}
|draft={{{draft|{{{FQS}}}}}}
|fm={{{fm}}}
}}
}}{{#if:{{{topic4|}}}
|{{WikiProject assessment category check
|topic={{{topic4}}} |name=the {{{topic4}}} subproject or taskforce
|articles={{{articles|}}}
|fa={{{fa}}} |fl={{{fl}}} |a={{{a}}} |ga={{{ga}}} |b={{{b}}} |c={{{c}}}
|start={{{start}}} |stub={{{stub}}} |list={{{list}}}
|future={{{future}}} |current={{{current}}}
|needed={{{needed}}} |merge={{{merge}}}
|file={{{file|{{{FQS}}}}}}
|category={{{category|{{{FQS}}}}}}
|disambig={{{disambig|{{{FQS}}}}}} |portal={{{portal|{{{FQS}}}}}}
|redirect={{{redirect|}}} |template={{{template|{{{FQS}}}}}}
|project={{{project|{{{FQS}}}}}} |book={{{book}}}
|draft={{{draft|{{{FQS}}}}}}
|fm={{{fm}}}
}}
}}{{#if:{{{topic5|}}}
|{{WikiProject assessment category check
|topic={{{topic5}}} |name=the {{{topic5}}} subproject or taskforce
|articles={{{articles|}}}
|fa={{{fa}}} |fl={{{fl}}} |a={{{a}}} |ga={{{ga}}} |b={{{b}}} |c={{{c}}}
|start={{{start}}} |stub={{{stub}}} |list={{{list}}}
|future={{{future}}} |current={{{current}}}
|needed={{{needed}}} |merge={{{merge}}}
|file={{{file|{{{FQS}}}}}}
|category={{{category|{{{FQS}}}}}}
|disambig={{{disambig|{{{FQS}}}}}} |portal={{{portal|{{{FQS}}}}}}
|redirect={{{redirect|}}} |template={{{template|{{{FQS}}}}}}
|project={{{project|{{{FQS}}}}}} |book={{{book}}}
|draft={{{draft|{{{FQS}}}}}}
|fm={{{fm}}}
}}
}}<!--
-->{{Sjabdoc|content=This page holds the custom class mask for the [[Sjabloon:{{BASEPAGENAME}}]]. It uses {{tl|class mask}}, a template for constructing class masks according to individual WikiProjects' wishes. The following table shows the output of the mask, with the current parameter definitions, for different inputs and namespaces.
=== Classification based on ''class'' parameter ===
<table class="wikitable">
<tr><th>Input<br />(not case-specific)</th><th>Icon</th><th>Class</th><th>Category</th><th>Population</th></tr>
{{class mask/row|FA|trigger={{{fa|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|A|trigger={{{a|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|GA|trigger={{{ga|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{#ifeq:{{{b1|¬}}}{{{b2|¬}}}{{{b3|¬}}}{{{b4|¬}}}{{{b5|¬}}}{{{b6|¬}}}|¬¬¬¬¬¬
|{{class mask/row|B|trigger={{{b|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}}}
|<td>b</td><td colspan=4>Depends on status of B-class checklist - [[#B-class checklist|see below]]</td>
}}{{class mask/row|C|trigger={{{c|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Start|trigger={{{start|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Stub|trigger={{{stub|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|FL|trigger={{{fl|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|List|trigger={{{list|yes}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|SL|trigger={{{SL|}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|SIA|trigger={{{sia|}}}|input=sia|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Future|trigger={{{future|}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Current|trigger={{{current|}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Needed|trigger={{{needed|}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Merge|trigger={{{merge|}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{#ifeq:{{{forceNA|}}}|yes|
|{{class mask/row|NA|topic={{{topic|}}}|articles={{{articles|}}}}}
}}{{class mask/row|FM|trigger={{{fm|}}}|input=fm|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|File|trigger={{{file|{{{FQS|}}}}}}|input=image / img / file|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Book|trigger={{{book|}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Draft|trigger={{{draft|{{{FQS|}}}}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Category|trigger={{{category|{{{FQS|}}}}}}|input=category / cat / categ|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Disambig|trigger={{{disambig|{{{FQS|}}}}}}|input=disambig / disamb /<br>disambiguation / dab|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Portal|trigger={{{portal|{{{FQS|}}}}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Redirect|trigger={{{redirect|}}}|input=redirect / redir / red|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Template|trigger={{{template|{{{FQS|}}}}}}|input=template / temp / templ / tpl|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Project|trigger={{{project|{{{FQS|}}}}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Audio|trigger={{{AUDIO|}}}|topic={{{topic|}}}|articles={{{articles|}}}
}}</table>
{{#ifeq:{{{b1|¬}}}{{{b2|¬}}}{{{b3|¬}}}{{{b4|¬}}}{{{b5|¬}}}{{{b6|¬}}}|¬¬¬¬¬¬||
=== B-class checklist ===
This class mask automatically classifies articles based on individual [[Wikipedia:BCLASS|B-class criteria]]. There are {{#expr:{{#ifeq:{{{b1|¬}}}|¬|0|1}}+{{#ifeq:{{{b2|¬}}}|¬|0|1}}+{{#ifeq:{{{b3|¬}}}|¬|0|1}}+{{#ifeq:{{{b4|¬}}}|¬|0|1}}+{{#ifeq:{{{b5|¬}}}|¬|0|1}}+{{#ifeq:{{{b6|¬}}}|¬|0|1}}}} different parameters which are used to assess the criteria and the table below shows how the classification depends on the number of satisfied criteria.
<table class="wikitable">
<tr><th>Number of satisfied criteria</th><th>Icon</th><th>Class</th><th>Category</th><th>Population</th></tr>
{{class mask/row|C|input=1 — {{#expr:{{#ifeq:{{{b1|¬}}}|¬|0|1}}+{{#ifeq:{{{b2|¬}}}|¬|0|1}}+{{#ifeq:{{{b3|¬}}}|¬|0|1}}+{{#ifeq:{{{b4|¬}}}|¬|0|1}}+{{#ifeq:{{{b5|¬}}}|¬|0|1}}+{{#ifeq:{{{b6|¬}}}|¬|0|1}}-1}}|topic={{{topic|}}}|articles={{{articles|}}}}}
{{class mask/row|B|input={{#expr:{{#ifeq:{{{b1|¬}}}|¬|0|1}}+{{#ifeq:{{{b2|¬}}}|¬|0|1}}+{{#ifeq:{{{b3|¬}}}|¬|0|1}}+{{#ifeq:{{{b4|¬}}}|¬|0|1}}+{{#ifeq:{{{b5|¬}}}|¬|0|1}}+{{#ifeq:{{{b6|¬}}}|¬|0|1}}}}|topic={{{topic|}}}|articles={{{articles|}}}}}
</table>
}}
=== Classification of redirects ===
If the WikiProject banner is placed on the talk page of a redirect (in any namespace) and the ''class'' parameter is not defined, then the page will automatically be classified as {{#ifeq:{{{redirect}}}|yes|Redirect|NA}}-class and placed in [[:Category:{{#ifeq:{{{redirect}}}|yes|Redirect|NA}}-Class{{#if:{{{topic|}}}| {{{topic}}}}} {{{articles|articles}}}]].
=== Classification based on namespace ===
In addition, if ''class'' {{#ifeq:{{{forceNA}}}|yes|is equal to NA, or }}is empty, undefined or unrecognized, then the class will be deduced from the namespace of the page when possible.
<table class="wikitable">
<tr><th>Namespace</th><th>Icon</th><th>Class</th><th>Category</th><th>Population</th></tr>
{{class mask/row|NA|rowspan={{#expr:6
+{{#ifeq:{{{file|{{{FQS}}}}}}|yes|0|2}}
+{{#ifeq:{{{category|{{{FQS}}}}}}|yes|0|1}}
+{{#ifeq:{{{portal|{{{FQS}}}}}}|yes|0|1}}
+{{#ifeq:{{{template|{{{FQS}}}}}}|yes|0|2}}
+{{#ifeq:{{{project|{{{FQS}}}}}}|yes|0|1}}
+{{#ifeq:{{{book}}}|yes|0|1}}
+{{#ifeq:{{{draft|{{{FQS}}}}}}|yes|0|1}}
}}|input=User talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{#ifeq:{{{file|{{{FQS}}}}}}|yes|
|<tr><td>File talk</td></tr><tr><td>TimedText talk</td></tr>
}}{{#ifeq:{{{category|{{{FQS}}}}}}|yes|
|<tr><td>Category talk</td></tr>
}}{{#ifeq:{{{portal|{{{FQS}}}}}}|yes|
|<tr><td>Portal talk</td></tr>
}}{{#ifeq:{{{template|{{{FQS}}}}}}|yes|
|<tr><td>Template talk</td></tr><tr><td>Module talk</td></tr>
}}{{#ifeq:{{{project|{{{FQS}}}}}}|yes|
|<tr><td>Project talk</td></tr>
}}{{#ifeq:{{{book}}}|yes|
|<tr><td>Book talk</td></tr>
}}{{#ifeq:{{{draft|{{{FQS}}}}}}|yes|
|<tr><td>Draft talk</td></tr>
}}
<tr><td>Help talk</td></tr>
<tr><td>MediaWiki talk</td></tr>
<tr><td>Education Program talk</td></tr>
<tr><td>Gadget talk</td></tr>
<tr><td>Gadget definition talk</td></tr>
{{class mask/row|rowspan=2|File|trigger={{{file|{{{FQS|}}}}}}|input=File talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{#ifeq:{{{file|{{{FQS}}}}}}|yes
|<tr><td>TimedText talk</td></tr>
}}{{class mask/row|Category|trigger={{{category|{{{FQS|}}}}}}|input=Category talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Portal|trigger={{{portal|{{{FQS|}}}}}}|input=Portal talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|rowspan=2|Template|trigger={{{template|{{{FQS|}}}}}}|input=Template talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{#ifeq:{{{template|{{{FQS}}}}}}|yes
|<tr><td>Module talk</td></tr>
}}{{class mask/row|Project|trigger={{{project|{{{FQS|}}}}}}|input=Wikipedia talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Book|trigger={{{book|}}}|input=Book talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|Draft|trigger={{{draft|{{{FQS|}}}}}}|input=Draft talk|topic={{{topic|}}}|articles={{{articles|}}}
}}{{class mask/row|NA|trigger={{{forceNA|}}}|input=Talk ''(if class=NA)''|topic={{{topic|}}}|articles={{{articles|}}}
}}
</table>
In all other circumstances, articles will be classed as ''Unassessed'' and placed in [[:Category:Unassessed{{#if:{{{topic|}}}| {{{topic}}}|-Class}} {{{articles|articles}}}]].
|link box=This documentation is automatically generated by [[Sjabloon:Class mask/templatepage]].
}}All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://nl.wikipedia.org/w/index.php?oldid=57271306.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|