Jump to content

Template:WikiProject China/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Project banner

[edit]

The {{WikiProject China}} project banner template should be added (not subst:ed) to the talk page of every article within the scope of the project. While the template does not require any additional parameters, it has a number of optional ones that add various extra features to the banner. The full syntax is as follows:

{{WikiProject China
|class=  
|importance=
|attention=
|image-needed=
|map-needed=
|needs-infobox=
|orphan= 
|assess-date=
|auto=
|category=
|listas=
<!-- Portal specific tags -->
|portal=
|portaldykdate=
<!-- Project and task force specific -->
|christianity= 
|cinema= 
|cities= 
|entertainment= <!-- or |music= -->
|history= 
|maps= 
|politics= 
|provinces= 
|Shenzhen= <!-- or |PRD= or |prd= -->
|surname= 
|tibet= 
|transportation= 
}}

General parameters

[edit]
  • class – valid values are listed in the custom class mask. See the project's quality scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave |class= blank or omit the parameter.
  • importance – valid values are: top, high, mid, low, na (case-insensitive). See the project's importance scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave |importance= blank or omit the parameter.
  • 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.
  • image-needed – set |image-needed=yes if the article needs pictures, otherwise remove this line.
  • map-needed – set |map-needed=yes if the article needs a map, otherwise remove this line.
  • needs-infobox – set |needs-infobox=yes if the article needs an infobox. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles.
  • orphan – set |orphan=yes if the article is not currently supported by a Chinese WikiProject.
  • assess-date - Date last assessed. Example: assess-date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
  • 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
  • category – set |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.
  • 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 Yu Guan, use |listas=Guan, Yu so that the talk page will show up in the G's and not the Y'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.
    If the article is using {{WikiProject banner shell}} then it is preferable to add |listas= to that template instead of a project banner template. Putting the parameter on more than one template is not required.

Portal specific

[edit]

Project and task force specific

[edit]

Aliases

[edit]
  • The parameter |music= is recognised as an alias for |entertainment=. If both |entertainment= and |music= are present, there may be unexpected results.
  • The parameters |PRD= and |prd= are recognised as aliases for |Shenzhen=. If more than one is present, |PRD= has precedence over |prd=, and |Shenzhen= has precedence over both of the others: parameters with lower precedence are ignored.

To avoid needlessly cluttering up talk pages, it is usually appropriate to remove any unused parameters from the template.

See also

[edit]