Jump to content

Template:WikiProject Books: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
remove {{DEFAULTSORT}} - should not be used within templates
m Reverted edits by Stemonitis (talk) to last version by Malyctenar
Line 20: Line 20:
--> article has not yet '''[[Wikipedia:WikiProject Books/Assessment|received a rating]]''' on the Project's [[Wikipedia:WikiProject Books/Assessment#Quality scale|quality scale]]. Please rate the article and then leave a '''short''' summary at [{{fullurl:{{FULLPAGENAME}}/Comments|action=edit}} in the comments] to explain the ratings and/or to identify the strengths and weaknesses of the article.
--> article has not yet '''[[Wikipedia:WikiProject Books/Assessment|received a rating]]''' on the Project's [[Wikipedia:WikiProject Books/Assessment#Quality scale|quality scale]]. Please rate the article and then leave a '''short''' summary at [{{fullurl:{{FULLPAGENAME}}/Comments|action=edit}} in the comments] to explain the ratings and/or to identify the strengths and weaknesses of the article.
}}
}}
|}<noinclude>{{esoteric}}
|}{{DEFAULTSORT:{{{sortkey|{{PAGENAME}}}}}}}<noinclude>{{esoteric}}


== Usage ==
== Usage ==
Line 28: Line 28:
[[Category:Templates using ParserFunctions]]
[[Category:Templates using ParserFunctions]]
</noinclude><includeonly>
</noinclude><includeonly>
[[Category:WikiProject Books articles{{{sortkey|{{PAGENAME}}}}}]]
[[Category:WikiProject Books articles]]
{{#ifeq:{{{needs-infobox|}}}|yes|
{{#ifeq:{{{needs-infobox|}}}|yes|
[[Category:Book articles needing infoboxes{{{sortkey|{{PAGENAME}}}}}]]
[[Category:Book articles needing infoboxes]]
}}<!--
}}<!--
-->{{#switch:{{{class}}}
-->{{#switch:{{{class}}}
|FA=[[Category:FA-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|FA=[[Category:FA-Class Book articles]]
|A=[[Category:A-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|A=[[Category:A-Class Book articles]]
|GA=[[Category:GA-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|GA=[[Category:GA-Class Book articles]]
|B|b=[[Category:B-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|B|b=[[Category:B-Class Book articles]]
|Start|start=[[Category:Start-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|Start|start=[[Category:Start-Class Book articles]]
|Stub|stub=[[Category:Stub-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|Stub|stub=[[Category:Stub-Class Book articles]]
|Dab|dab=[[Category:Disambig-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|Dab|dab=[[Category:Disambig-Class Book articles]]
|Template=[[Category:Template-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|Template=[[Category:Template-Class Book articles]]
|Cat=[[Category:Category-Class Book articles{{{sortkey|{{PAGENAME}}}}}]]
|Cat=[[Category:Category-Class Book articles]]
|#default=[[Category:Unassessed Book articles{{{sortkey|{{PAGENAME}}}}}]]
|#default=[[Category:Unassessed Book articles]]
}}</includeonly>
}}</includeonly>

Revision as of 11:05, 7 August 2007

This article is within the scope of WikiProject Books. To participate, you can edit the article. You can discuss the Project at its talk page.
???

Usage

Usage

This article is within the scope of WikiProject Books. To participate, you can edit the article. You can discuss the Project at its talk page.
???

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 = 
}}

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.
  • 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.

Example 1: Basic

{{WikiProject Books}}

or

{{WikiProject Books|class=|needs-infobox=|needs-infobox-cover=|listas=}}
This article is within the scope of WikiProject Books. To participate, you can edit the article. You can discuss the Project at its talk page.
???

Example 2: Full

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

or

{{WikiProject Books|class=NA|needs-infobox=yes|needs-infobox-cover=yes|listas=Presley, Elvis}}
This article is within the scope of WikiProject Books. To participate, you can edit the article. You can discuss the Project at its talk page.
NA

See also