Template:WPBiography

From Wikipedia, the free encyclopedia

This article is within the scope of WikiProject Biography. For more information, visit the project page.
??? This article has not yet received a rating on the Project's quality scale. Please rate the article and then leave a short summary here to explain the ratings and/or to identify the strengths and weaknesses of the article. [FAQ]
This template employs intricate features of template syntax.
Please do not alter it unless you are certain to understand its setup and parser functions and are ready to repair/revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in the template sandbox, or in your user space, before applying anything here.

If you must edit this template:

  • Please give a detailed edit summary to explain what you're doing and,
  • If the changes are significant discuss it on the talk page first
  • Don't mark major edits as minor
  • Do the changes in a sandbox first and then paste them in in a single edit

The template is used on over 200,000 pages and it's a big strain on the server every time it's updated (see the Job Queue).

Usage

Please note: This template should be transcluded ({{WPBiography}}) (right here!)and not substituted (subst) because it employs conditional code. Transclusion also allows easy updating of all the Project's talk pages without having to edit hundreds of thousands of pages.

{{WPBiography
|small = 
|living = 
|class = 
|priority = 
|core = 
|attention = 
|collaboration-candidate = 
|past-collaboration = 
|peer-review = 
|old-peer-review = 
|needs-infobox = 
|activepol = 
|a&e-work-group = 
|politician-work-group = 
|british-royalty = 
|royalty-work-group = 
|military-work-group = 
|sports-work-group = 
|s&a-work-group = 
|musician-work-group = 
|peerage-work-group=
|baronets-work-group=
|non-bio = 
|removal = 
|auto = 
|listas = 
|needs-photo = 
}}
  • small: Answer yes to make the template small and along the right side of the page (as opposed to at the top.)
  • living: Answer yes if the subject is living; remove line if subject is dead.
  • class: Options are FA, A, GA, B, Start, Stub, Dab, Template, Cat, NA. If blank, this will default as Unassessed. Descriptions of the options can be found at Wikipedia:WikiProject Biography/Assessment#Quality scale. NA is "not applicable".
  • priority: Top, High, Mid, Low, NA. If blank, this will default as Unknown priority. NA is "not applicable". Descriptions of the options can be found at Wikipedia:WikiProject Biography/Assessment#Priority_scale. Note: only Top will have a visible effect on the template - the other options will just assign the correct category. Second note: These ratings apply only to workgroups. Because of the scale of this WikiProject it was felt that assessing priority across the whole Project would be too much. (This has the effect of meaning that Top priority can be assigned a little more liberally, as Top is now Top to the workgroup and not necessarily a core biography).
  • core: Answer yes if, and only if, the article is listed at Wikipedia:WikiProject Biography/Core biographies
  • attention: Answer yes if the page needs immediate attention, otherwise remove this line.
  • collaboration-candidate: Answer Yes if the page is currently nominated as the WikiProject Biography "Collaboration of the Fortnight", otherwise remove this line.
  • past-collaboration: If the article was previously a "Collaboration of the Fortnight" per the option above, set this variable as a date (e.g. 1 June - 14 June 2006), otherwise remove this line.
  • peer-review: Answer yes if the page is currently nominated for Peer review by WikiProject Biography, otherwise remove this line.
  • old-peer-review: Answer yes if the article has received a peer review from WikiProject Biography per the option above, otherwise remove this line.
  • needs-infobox: Answer yes if the article lacks an infobox, otherwise remove this line.
  • activepol: Answer yes if the article is about an active politician, otherwise remove this line.
  • a&e-work-group: Answer yes if the article is in the scope of the Biography Arts and Entertainment work group, otherwise remove this line. (If the article is about a musician, please use musician-work-group=yes instead)
  • politician-work-group: Answer yes if the article is in the scope of the Biography Politics and Government work group, otherwise remove this line.
  • british-royalty:Answer yes if the article is in the scope of WikiProject British Royalty, otherwise remove this line.
  • royalty-work-group: Answer yes if the article is in the scope of the Biography Royalty and Nobility work group, otherwise remove this line. (If the article is about British royalty please use british-royalty=yes instead)
  • military-work-group: Answer yes if the article is in the scope of the Biography Military work group, otherwise remove this line.
  • sports-work-group: Answer yes if the article is in the scope of the Biography Sports and Games work group, otherwise remove this line.
  • s&a-work-group: Answer yes if the article is in the scope of the Biography Science and Academia work group, otherwise remove this line.
  • musician-work-group: Answer yes if the article is in the scope of the Biography Musicians work group, otherwise remove this line.
  • peerage-work-group: Answer yes if the article is within the scope of WikiProject Peerage, otherwise remove this line. (If the article is about a baronet please use baronets-work-group=yes instead)
  • baronets-work-group: Answer yes if the article is within the scope of WikiProject Baronetcies, otherwise remove this line.
  • non-bio: Some workgroups or child projects might have slightly larger scope which extends beyond biographies (currently this applies only to WikiProject British Royalty which might want to include articles on, for example, the royal palaces within their scope). If an article is not a biography, and therefore not appropriate for the main Biography lists (Index · Statistics · Log) answer yes. Otherwise remove this line.
  • removal: If the subject of this article does not want to be included in Wikipedia, you may answer yes here to flag the article for monitoring.
  • auto: This parameter is for the use of bots. It calls the {{stubclass}} template.
  • listas: This parameter is used for bios whose title is in the first part of the article, i.e. Prince George of England, you can instead have listas=George of England, Prince -- so that it will show up in the G's...
  • needs-photo: Answer yes to request a photograph of the person(s) be added.