Template:WikiProject China/doc
Appearance
This is a documentation subpage for Template:WikiProject China. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 103,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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.- This parameter populates Category:China articles needing attention.
- image-needed – set
|image-needed=yes
if the article needs pictures, otherwise remove this line.- This parameter populates Category:Wikipedia requested photographs in China.
- map-needed – set
|map-needed=yes
if the article needs a map, otherwise remove this line.- This parameter populates Category:Wikipedia requested maps in China.
- 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.- This parameter populates Category:China articles without infoboxes.
- orphan – set
|orphan=yes
if the article is not currently supported by a Chinese WikiProject.- This parameter populates Category:China articles without a workgroup.
- 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- Use of the above values (or value combinations) with this parameter populates Category:Automatically assessed China-related articles.
- 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]- portal – set
|portal=yes
if the article is used in the selected article queue of the China Portal.- This parameter populates Category:WikiProject China articles using portal parameters.
- portaldykdate – Date on which the article was displayed on the DYK section of the China portal. Format: [[Month]] [[day]], [[Year]].
Project and task force specific
[edit]- christianity – set
|christianity=yes
if the article is supported by the Christianity in China work group.- This parameter populates Category:Christianity in China work group articles, and the relevant subcategory of Category:Christianity in China work group articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Christianity in China work group articles by importance.
- This parameter populates Category:Christianity in China work group articles, and the relevant subcategory of Category:Christianity in China work group articles by quality based upon the
- cinema – set
|cinema=yes
if the article is supported by the Chinese cinema task force.- This parameter populates Category:Chinese cinema task force articles, and the relevant subcategory of Category:Chinese cinema articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Chinese cinema articles by importance.
- This parameter populates Category:Chinese cinema task force articles, and the relevant subcategory of Category:Chinese cinema articles by quality based upon the
- cities – set
|cities=yes
if the article is supported by the Chinese cities workgroup.- This parameter populates Category:WikiProject Chinese cities articles, and the relevant subcategory of Category:Chinese cities articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Chinese cities articles by importance.
- This parameter populates Category:WikiProject Chinese cities articles, and the relevant subcategory of Category:Chinese cities articles by quality based upon the
- entertainment – set
|entertainment=yes
if the article is supported by the Chinese-language entertainment taskforce.- This parameter populates Category:WikiProject Chinese-language entertainment articles, and the relevant subcategory of Category:Chinese-language entertainment articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Chinese-language entertainment articles by importance.
- This parameter populates Category:WikiProject Chinese-language entertainment articles, and the relevant subcategory of Category:Chinese-language entertainment articles by quality based upon the
- history – set
|history=yes
if the article is supported by WikiProject Chinese history.- This parameter populates Category:WikiProject Chinese history articles, and the relevant subcategory of Category:Chinese history articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Chinese history articles by importance.
- This parameter populates Category:WikiProject Chinese history articles, and the relevant subcategory of Category:Chinese history articles by quality based upon the
- maps – set
|maps=yes
if the article is supported by the Chinese maps workgroup.- This parameter populates Category:WikiProject Chinese maps articles.
- politics – set
|politics=yes
if the article is supported by WikiProject Chinese politics.- This parameter populates Category:WikiProject Chinese politics articles, and the relevant subcategory of Category:Chinese politics articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Chinese politics articles by importance.
- This parameter populates Category:WikiProject Chinese politics articles, and the relevant subcategory of Category:Chinese politics articles by quality based upon the
- provinces – set
|provinces=yes
if the article is supported by the Chinese provinces workgroup.- This parameter populates Category:WikiProject Chinese provinces articles, and the relevant subcategory of Category:Chinese provinces articles by quality based upon the
|class=
parameter.
- This parameter populates Category:WikiProject Chinese provinces articles, and the relevant subcategory of Category:Chinese provinces articles by quality based upon the
- Shenzhen – set
|Shenzhen=yes
if the article is supported by the Pearl River Delta workgroup.- This parameter populates Category:WikiProject China/Pearl River Delta workgroup articles, and the relevant subcategory of Category:Pearl River Delta articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Pearl River Delta articles by importance.
- This parameter populates Category:WikiProject China/Pearl River Delta workgroup articles, and the relevant subcategory of Category:Pearl River Delta articles by quality based upon the
- surname – set
|surname=yes
if the article is supported by WikiProject Chinese surnames.- This parameter populates Category:WikiProject Chinese surname articles, and the relevant subcategory of Category:Chinese surname articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Chinese surname articles by importance.
- This parameter populates Category:WikiProject Chinese surname articles, and the relevant subcategory of Category:Chinese surname articles by quality based upon the
- tibet – set
|tibet=yes
if the article is supported by WikiProject Tibet.- This parameter populates Category:WikiProject Tibet articles, and the relevant subcategory of Category:Tibet articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Tibet articles by importance.
- This parameter populates Category:WikiProject Tibet articles, and the relevant subcategory of Category:Tibet articles by quality based upon the
- transportation – set
|transportation=yes
if the article is supported by the Transportation in China task force.- This parameter populates Category:WikiProject Transportation in China articles, and the relevant subcategory of Category:Transportation in China articles by quality based upon the
|class=
parameter. - This parameter uses
|importance=
to populate the relevant subcategory of Category:Transportation in China articles by importance.
- This parameter populates Category:WikiProject Transportation in China articles, and the relevant subcategory of Category:Transportation in China articles by quality based upon the
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]