Template:WPBannerDoc

  • {{#if:{{{1|}}}|{{{1}}} – {{#switch:{{{1}}}

|Attention|attention=set {{para|{{{1}}}|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 {{cl|{{#if:{{{ATTENTION_CAT|}}}|{{{ATTENTION_CAT}}}|{{{PROJECT|}}} articles needing attention}}}}.{{#if:{{{ATTENTION_CAT|}}}{{{PROJECT|}}}||WPBannerDoc error: either {{para|PROJECT}} or {{para|ATTENTION_CAT}} must be specified with {{{1}}}}}

|auto=This parameter is for the use of bots and indicates that the article has been automatically rated:

  • {{para|auto|length}} – based on the length of the article
  • {{para|auto|inherit}} – because one or more other projects use this class
  • {{para|auto|yes}} (or {{para|auto|stub}}), in conjunction with {{para|class|stub}} – as Stub-Class because it uses a stub template{{#ifeq:{{{AUTO_ASSESS_CAT|}}}|none||
  • Use of the above values (or value combinations) with this parameter populates {{cl|{{{AUTO_ASSESS_CAT|Automatically assessed {{{PROJECT|}}} articles}}}}}.{{#if:{{{AUTO_ASSESS_CAT|}}}{{{PROJECT|}}}||WPBannerDoc error: either {{para|PROJECT}} or {{para|AUTO_ASSESS_CAT}} must be specified with {{{1}}}}}}}

|category=set {{para|category|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.

|class|importance|priority={{WPBannerDoc/assessment|{{{1}}}|ASSESSMENT_LINK = {{#switch:{{{ASSESSMENT_LINK|}}}

| = {{#ifexist:{{#if:{{{PROJECT_LINK|}}}

|{{{PROJECT_LINK}}}

|Wikipedia:WikiProject {{{PROJECT}}}

}}/Assessment

|{{#if:{{{PROJECT_LINK|}}}

|{{{PROJECT_LINK}}}

|Wikipedia:WikiProject {{{PROJECT}}}

}}/Assessment

|

}}

|no =

|#default = {{{ASSESSMENT_LINK}}}

}} |bpara={{{bpara|}}} |bmax={{{bmax|}}} |QUALITY_SCALE={{{QUALITY_SCALE|}}} |class_values={{{class_values|}}} |IMPORTANCE_SCALE={{{IMPORTANCE_SCALE|}}} |importance_values={{{importance_values|}}} |BANNER_NAME={{#if:{{{BANNER_NAME|}}}|{{{BANNER_NAME}}}|Template:WikiProject {{{PROJECT}}}}} }}

|listas=This parameter, which is the equivalent of the DEFAULTSORT sortkey that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for {{{first}}} {{{last}}}, use {{para|listas|{{ucfirst:{{{last}}}}}, {{{first}}}}} so that the talk page will show up in the {{uc:{{str index|{{{last}}}|1}}}}'s and not the {{str index|{{{first}}}|1}}'s of the various assessment and administrative categories{{#if:{{{last2|}}}|; similarly, for topics with titles beginning with an article such as "the" or "a" - e.g. for {{{first2}}} {{{last2}}}, use {{para|listas|{{ucfirst:{{{last2}}}}}, {{{first2}}}}} so that the talk page will show up in the {{uc:{{str index|{{{last2}}}|1}}}}'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 {{section link|Wikipedia:Categorization of people|Ordering names in a category}}.
If the article is using {{tl|WikiProject banner shell}} then it is preferable to add {{para|listas}} to that template instead of a project banner template. Putting the parameter on more than one template is not required. {{#if:{{{last|}}}||WPBannerDoc error: {{para|last}} must be specified with {{{1}}}}} {{#if:{{{first|}}}||WPBannerDoc error: {{para|first}} must be specified with {{{1}}}}} {{#if:{{{last2|}}}|{{#if:{{{first2|}}}||WPBannerDoc error: {{para|first2}} must be specified with {{para|last2}}}}|{{#if:{{{first2|}}}|WPBannerDoc error: {{para|last2}} must be specified with {{para|first2}}}} }}

|needs-infobox|infobox=set {{para|{{{1}}}|yes}} if the article needs an infobox. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles.

  • This parameter populates {{cl|{{#if:{{{INFOBOX_CAT|}}}|{{{INFOBOX_CAT}}}|{{{PROJECT}}} articles needing infoboxes}}}}.{{#if:{{{INFOBOX_CAT|}}}{{{PROJECT|}}}||WPBannerDoc error: either {{para|PROJECT}} or {{para|INFOBOX_CAT}} must be specified with {{{1}}}}}

|small=this parameter is no longer supported and can safely be removed from the template.

|#default=WPBannerDoc error: first parameter unrecognised

}}|WPBannerDoc error: required first parameter missing}}

{{Documentation}}