User:Danaman5/Workshop/WPCHINA

From Wikipedia, the free encyclopedia

This article is part of WikiProject China, a project to improve all China-related articles. If you would like to help improve this and other China-related articles, please join the project. All interested editors are welcome.
??? This article has not yet received a rating on the quality scale.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Usage

[edit] Project banner

The {{WPCHINA}} 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:

{{WPCHINA
|small=
|class=  
|importance=
|portal=
|attention=
|collaboration-candidate=
|past-collaboration=
|failed-collaboration=
|peer-review= 
|old-peer-review=
|orphan= 
|needs-infobox=
|auto=
|map-needed=
|image-needed=
|portaldykdate=
|portal-picture=
|assess-date=
<!-- Portal specific tags -->
|group-portal1=Portal Name 1
|group-portal2=(Portal Name 2)
|group-portal3=(Portal Name 3)
|group-portal4=(Portal Name 4)
|group-portal5=(Portal Name 5)
|group-portal-picture1=Portal selected picture name 1
|group-portal-picture2=(Portal selected picture name 2)
|group-portal-picture3=(Portal selected picture name 3)
|group-portal-picture4=(Portal selected picture name 4)
|group-portal-picture5=(Portal selected picture name 5)
<!-- Wikiproject geography specific tags -->
|maps=
|cities=
|provinces=
|tibet=
<!-- Wikiproject topic specific tags -->
|politics=
|history=
|cinema=
}}

Template display formatting parameters:

  • small - show the normal or reduced size template; shows the reduced size template if small=yes.

General parameters:

  • class – a rating of the article's quality; see the assessment department for more details.
    • FA - The article has reached Featured article status.
    • A - Could be submitted as a Featured article candidate; probably could use some small updates to make it Featured quality.
    • GA - The article has reached Good article status.
    • B - Could be submitted as a Good article nominee; probably could use some updates or may lack some features from the Good article criteria, but it presents a good overview of the subject.
    • Start - The article is more than a stub, but may lack some important aspects of the topic's discussion.
    • Stub - The article is a stub; it likely contains one of the China stub templates.
    • Needed - The article does not yet exist but has been identified as a subject that should be covered.
    • Disambig or Dab - The article is a disambiguation page.
    • Redirect or Redir - The article is a redirect page.
    • Template - The page is a template.
    • Category or Cat - The page is a category.
    • Image or Img - The page is an image.
    • List - The page is a list.
    • Portal - The page is a portal.
    • NA - The page is another type of non-article page on which assessment is unnecessary.
  • importance – a rating of the article's importance; see the assessment department for more details.
    • Top
    • High
    • Mid
    • Low
  • portal – if the article is used in the selected article queue of the China Portal, the subpage number of its entry.
  • portal-picture – if the image is used in the selected picture queue of the China Portal, the subpage number of its entry.
  • attention – "yes" if the article requires immediate attention; this should be used sparingly.
  • collaboration-candidate – "yes" if the article is currently a candidate for the project's Collaboration of the week.
  • past-collaboration – week of <date> the article was previously a Collaboration of the week, the dash-separated dates of the collaboration period; must be left blank otherwise.
  • failed-collaboration – <date> the article was nominated for the Collaboration of the week, but failed to quality; must be left blank otherwise.
  • peer-review – "yes" if the article is currently listed on the project's peer review department.
  • old-peer-review – "yes" if the article was previously listed on the project's peer review department.
  • orphan – "yes" if the article is not currently supported by an Chinese WikiProject.
  • needs-infobox – "yes" if the article lacks an infobox, otherwise remove this line.
  • auto – "yes" This parameter is for bot-use. It calls the {{stubclass}} template.
  • map-needed – "yes" if the article needs a map, otherwise remove this line.
  • image-needed – "yes" if the article needs pictures, otherwise remove this line. It adds articles to Category:China articles needing images.
  • portaldykdate – Date on which the article was displayed on the DYK section of the China portal. Format: [[Month]] [[day]], [[Year]].
  • assess-date - Date last assessed. Example: assess-date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}

Portal specific parameters

  • group-portal(1-5): Can list selected articles of up to 5 portals
  • group-portal-list(1-5): Can list selected lists of up to 5 portals
  • group-portal-picture(1-5): Can list selected pictures of up to 5 portals

Wikiproject specific parameters

Geography
Others

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