Template:Class mask/templatepage: Difference between revisions

>MSGJ
m Reverted edits by MSGJ (talk) to last version by MJL
 
WikiDwarfBOT (talk | contribs)
m B-class checklist: clean up, replaced: WP: → BP:
 
(One intermediate revision by one other user not shown)
Line 160: Line 160:
{{#ifeq:{{{b1|¬}}}{{{b2|¬}}}{{{b3|¬}}}{{{b4|¬}}}{{{b5|¬}}}{{{b6|¬}}}|¬¬¬¬¬¬||
{{#ifeq:{{{b1|¬}}}{{{b2|¬}}}{{{b3|¬}}}{{{b4|¬}}}{{{b5|¬}}}{{{b6|¬}}}|¬¬¬¬¬¬||
=== B-class checklist ===
=== B-class checklist ===
This class mask automatically classifies articles based on individual [[WP: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.
This class mask automatically classifies articles based on individual [[BP: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">
<table class="wikitable">
<tr><th>Number of satisfied criteria</th><th>Icon</th><th>Class</th><th>Category</th><th>Population</th></tr>
<tr><th>Number of satisfied criteria</th><th>Icon</th><th>Class</th><th>Category</th><th>Population</th></tr>

Latest revision as of 10:46, 1 June 2021

Template documentation

This page holds the custom class mask for the Template:Class mask. It uses {{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

Input
(not case-specific)
IconClassCategoryPopulation
fa Featured article Featured article FA  Category:FA-Class articles 1
a A-Class article A-Class article A  Category:A-Class articles 1
ga  GA  Category:GA-Class articles 1
b B-Class article B-Class article B  Category:B-Class articles 0
c C-Class article C-Class article C  Category:C-Class articles 0
start Start-Class article Start-Class article Start  Category:Start-Class articles 1
stub Stub-Class article Stub-Class article Stub  Category:Stub-Class articles 1
fl Featured list Featured list FL  Category:FL-Class articles 1
list  List  Category:List-Class articles 1
na  NA  Category:NA-Class articles 0

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 NA-class and placed in Category:NA-Class articles.

Classification based on namespace

In addition, if class is empty, undefined or unrecognized, then the class will be deduced from the namespace of the page when possible.

NamespaceIconClassCategoryPopulation
User talk  NA  Category:NA-Class articles 0
File talk
TimedText talk
Category talk
Portal talk
Template talk
Module talk
Project talk
Book talk
Draft talk
Help talk
MediaWiki talk
Education Program talk
Gadget talk
Gadget definition talk

In all other circumstances, articles will be classed as Unassessed and placed in Category:Unassessed-Class articles.