Module:WikiProject banner/config: Difference between revisions

Content deleted Content added
sync sandbox changes, add wording for auto, change wording for inactive, some fixes
b-checklist parameters not in use unless QUALITY_CRITERIA parameter used, changes to how parameters are displayed in auto doc
Line 313:
trigger = 'class',
parameters = {'QUALITY_SCALE', 'QUALITY_CRITERIA', 'ASSESSMENT_CAT', 'ASSESSMENT_LINK'}
},
{
trigger = 'QUALITY_CRITERIA',
categoriesparameters = {'b1', 'b2', 'b3', 'b4', 'b5', 'b6', 'B_DISPLAY_ON_START', 'B1_CAT', 'B2_CAT', 'B3_CAT', 'B4_CAT', 'B5_CAT', 'B6_CAT', 'B_MAIN_CAT'}
},
{
Line 352 ⟶ 356:
parameters = {'ACR_SUBPAGE_LINK', 'ACR_REVIEW_LINK', 'ACR_IMAGE', 'ACR_SIZE'},
categories = {'ACR_PASS_CAT', 'ACR_FAIL_CAT', 'ACR_CURRENT_CAT', 'ACR_INVALID_CAT'}
},
{
triggers = {'b1', 'b2', 'b3', 'b4', 'b5', 'b6'},
parameters = {'B_DISPLAY_ON_START'},
categories = {'B1_CAT', 'B2_CAT', 'B3_CAT', 'B4_CAT', 'B5_CAT', 'B6_CAT', 'B_MAIN_CAT'}
},
{
Line 378 ⟶ 377:
},
auto_doc = {
attention = 'set _PARAMETER_ to "yes"_PARAMETER|yes_ if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention; this should be used sparingly. It is strongly encouraged to also add a section to the talk page explaining what needs attention. This parameter populates [[:Category:%s]].',
infobox = 'set _PARAMETER_ to "yes"_PARAMETER|yes_ if the article needs an [[Wikipedia:Manual of Style/Infoboxes|infobox]]. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles. This parameter populates [[:Category:%s]].',
listas = 'this parameter, which is the equivalent of the [[Help:Category#Default sort key|DEFAULTSORT sortkey]] that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for %s, use %s so that the talk page will show up in the %s\'s and not the %s\'s of the various assessment and administrative categories. Similarly, for topics with titles beginning with an [[article (grammar)|article]] such as "the" or "a" - e.g. for %s, use %s so that the talk page will show up in the %s\'s. This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see [[Wikipedia:Categorization of people#Ordering names in a category]]. It is not required if another WikiProject template on the same page has its own {{para|listas}} set, since it affects the sortkey of all banners and templates.',
category = 'set _PARAMETER_ to "no"_PARAMETER|no_ if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter.',
auto = 'this parameter is for the use of [[Wikipedia:Bots|bots]] and indicates that the article has been [[Wikipedia:Types of bots#WikiProject tagging and auto-assessment bots|automatically rated]]:\n'
.. '*length – based on the length of the article;\n'
.. '*inherit – because one or more other projects use this class;\n'
.. '*yes or stub (in conjunction with <code>|class=stub</code>) – as Stub-Class because it uses a [[Wikipedia:Stub|stub template]].\n'
.. 'Use of the above values with this parameter populates [[:Category:%s]].',
note = {
yes_no = 'set _PARAMETER_ to "yes"_PARAMETER|yes_ or any non-blank value other than "no", "n" or "0". ',
text = 'The following message will be displayed: "%s"',
category = 'This will populate [[:Category:%s]].'
},
task_force = {
yes_no = 'set _PARAMETER_ to "yes"_PARAMETER|yes_ if the article is supported by [[%s|%s]]. ',
category = 'This parameter populates [[:Category:%s]]. ',
class = 'This parameter populates the relevant subcategory of [[:Category:%s by quality]] based on the <code>|%s=</code> parameter. ',
importance = 'This parameter uses %s to populate the relevant subcategory of [[:Category:%s by importance]].'
},
Line 417 ⟶ 416:
redirects = 'Redirects will automatically be classified as %s-class and placed in %s.',
dabs = 'Disambiguation pages will automatically be classified as %s-class and placed in %s.',
not_defined = 'If the <icode>|class=</icode> parameter is not defined and the WikiProject banner is placed on the talk page of a redirect (in any namespace) or disambigation page then it will automatically be classified as follows:',
namespace = 'Classification based on namespace',
deduced = 'In addition, if <icode>|class=</icode> is empty, undefined or unrecognized, then the class will be deduced from the namespace of the page when possible.',
other = 'In all other circumstances, articles will be classed as <i>Unassessed</i> and placed in [[:Category:Unassessed %s]].'
},