Template:WPBannerDoc/testcases

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

Testing sandbox version

{{WPBannerDoc/sandbox}}

Error situations

i.e. missing or invalid parameters

  • attention – set |attention=yes if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention.
  • Attention – set |Attention=yes if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention.
  • auto – This parameter is for the use of bots and indicates that the article has been automatically rated:
    • |auto=length – based on the length of the article
    • |auto=inherit – because one or more other projects use this class
    • |auto=yes (or |auto=stub), in conjunction with |class=stub – as Stub-Class because it uses a stub template
      • Use of the above values (or value combinations) with this parameter populates Category:Automatically assessed articles.WPBannerDoc error: either |PROJECT= or |AUTO_ASSESS_CAT= must be specified with auto
  • 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 |listas={{{last}}}, {{{first}}} so that the talk page will show up in the {'s and not the {'s of the various assessment and administrative categories). 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 |listas= set. WPBannerDoc error: |last= must be specified with listas WPBannerDoc error: |first= must be specified with listas
  • fooWPBannerDoc error: first parameter unrecognised
  • WPBannerDoc error: required first parameter missing
  • WPBannerDoc error: required first parameter missing

Testing main template

{{WPBannerDoc}}

Error situations

i.e. missing or invalid parameters

  • attention – set |attention=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:Articles that require attention.WPBannerDoc error: either |PROJECT= or |ATTENTION_CAT= must be specified with attention
  • Attention – set |Attention=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:Articles that require attention.WPBannerDoc error: either |PROJECT= or |ATTENTION_CAT= must be specified with Attention
  • autoWPBannerDoc error: first parameter unrecognized
  • 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 |sort={{{last}}}, {{{first}}} so that the talk page will show up in the {'s and not the {'s of the various assessment and administrative categories). 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. WPBannerDoc error: |last= must be specified with listas WPBannerDoc error: |first= must be specified with listas
  • fooWPBannerDoc error: first parameter unrecognized
  • WPBannerDoc error: required first parameter missing
  • WPBannerDoc error: required first parameter missing

Example output from uses known to be working