Template:WP India/sandbox

From Wikipedia, the free encyclopedia

WikiProject_India This article is within the scope of WikiProject India, which aims to improve Wikipedia's coverage of India-related topics. If you would like to participate, please visit the project page.
??? 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 {{WP India}} 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:

{{WP India
|small=
|pre=
|nested=
|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-list1=Portal selected list name 1
|group-portal-list2=(Portal selected list name 2)
|group-portal-list3=(Portal selected list name 3)
|group-portal-list4=(Portal selected list name 4)
|group-portal-list5=(Portal selected list 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 -->
|cities=
|districts=
|maps=
|states=
<!-- Wikiproject Indian states specific tags -->
|andhra=
|bengal=
|goa=
|himachal=
|karnataka=
|kerala=
|maharashtra=
|tamilnadu=
|gujarat=
|punjab=
<!-- Wikiproject topic specific tags -->
|cinema=
|history=
|geography=
|literature=
|politics=
|protected-areas=
|tamil=
|television=
<!-- Wikiproject geography specific importance tags -->
|cities-importance=
|districts-importance=
|states-importance=
<!-- Wikiproject Indian states specific importance tags -->
|andhra-importance=
|bengal-importance=
|goa-importance=
|himachal-importance=
|karnataka-importance=
|kerala-importance=
|maharashtra-importance=
|gujarat-importance=
|punjab-importance=
|tamilnadu-importance=
<!-- Wikiproject topic specific importance tags -->
|cinema-importance=
|history-importance=
|geography-importance=
|literature-importance=
|politics-importance=
|protected-areas-importance=
|tamil-importance=
|television-importance=
}}

Template display formatting parameters:

  • small - show the normal or reduced size template; shows the reduced size template if small=yes.
  • nested - allows for the banner to be hidden with a show/hide button in conjunction with the WikiProjectBannerShell template if nested=yes.
  • pre - for pre-independence articles; changes flag image to a map of sub-continent if pre=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 India 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 not an article and should not be rated; it could be a template, image or category, for example.
  • 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 India Portal, the subpage number of its entry.
  • portal-picture – if the image is used in the selected picture queue of the India 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 Indian 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. It adds articles to Category:Wikipedia requested maps in India.
  • image-needed – "yes" if the article needs pictures, otherwise remove this line. It adds articles to Category:India articles needing images. The template automatically categorizes the articles into "Wikipedia requested photographs in" location categories based on taskforce parameters. For example, if chennai=yes and image-needed=yes, will place the article talk page into Category:Wikipedia requested photographs in Chennai. The feature can be disabled with a parameter, photocat=no
    • photocat – "no" This parameter is used to disable automatic categorization when image-needed is "yes".
    • in – Used in conjunction with the image-needed parameter to place the image request into a specific Indian location. Leave blank or delete if not. For example, "in=Tamil Nadu" will place the article talk page into Category:Wikipedia requested photographs in Tamil Nadu.
    • Additional in2 and in3 – parameters used in conjunction with the image-needed parameter may be used to specify up to three total location categories.
  • portaldykdate – Date on which the article was displayed on the DYK section of the India 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.