Template:WikiProject Books/doc

Source: Wikipedia, the free encyclopedia.

Usage

WikiProject iconBooks Unassessed
WikiProject iconThis article is within the scope of WikiProject Books. To participate in the project, please visit its page, where you can join the project and discuss matters related to book articles. To use this banner, please refer to the documentation. For guidelines on this template's usage, see its documentation.
???This article has not yet received a rating on Wikipedia's content assessment scale.

Please note: This template should be transcluded ({{WikiProject Books}}) 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 pages.

{{WikiProject Books
|class = 
|needs-infobox = 
|needs-infobox-cover = 
|listas = 
|referencework=
}}

Optional parameters

  • class – valid values are fa, a, ga, b, c, start, stub, fl, list, category, disambig, draft, file, portal, project, template, na (case-insensitive). 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.
  • 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.
  • needs-infobox-cover – set |needs-infobox-cover=yes to requested that a picture or pictures be included in this article to improve its quality.
  • referencework – set |referencework =yes if the article is supported by the Reference works task force.
  • 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 Johannes Gutenberg, use |listas=Gutenberg, Johannes so that the talk page will show up in the G's and not the J'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.
  • 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.

Aliases

  • The parameter |referenceworks= is recognised as an alias for |referencework=. If both |referencework= and |referenceworks= are present, there may be unexpected results.

Examples

Example 1: Basic

{{WikiProject Books}}

or

{{WikiProject Books|class=|needs-infobox=|needs-infobox-cover=|listas=|referencework=}}
WikiProject iconBooks Unassessed
WikiProject iconThis article is within the scope of WikiProject Books. To participate in the project, please visit its page, where you can join the project and discuss matters related to book articles. To use this banner, please refer to the documentation. For guidelines on this template's usage, see its documentation.
???This article has not yet received a rating on Wikipedia's content assessment scale.

Example 2: Full

{{WikiProject Books
|class = NA
|needs-infobox = yes
|needs-infobox-cover = yes
|referencework = yes
|listas = Presley, Elvis
}}

or

{{WikiProject Books|class=NA|needs-infobox=yes|needs-infobox-cover=yes|referencework=yes|listas=Presley, Elvis}}
WikiProject iconBooks: Reference works Unassessed
WikiProject iconThis article is within the scope of WikiProject Books. To participate in the project, please visit its page, where you can join the project and discuss matters related to book articles. To use this banner, please refer to the documentation. For guidelines on this template's usage, see its documentation.
???This article has not yet received a rating on Wikipedia's content assessment scale.
Taskforce icon
This article is supported by the Reference works task force.
Note icon
This article has been marked as needing an infobox.
Note icon
It is requested that a picture or pictures be included in this article to improve its quality.

See also