Template:Pages by Quality

From Wikibooks, open books for an open world
Jump to: navigation, search
 FB   A   B   C   Start   Stub   Project   Category   Subject   Template   NB   ???  Total
4 4 4 5 5 5 4 4 4 4 4 5 52
Template documentation[edit] [history] [purge]
Shortcut:
{{PbQ}}

Usage

This template will display, in a horizontal table, the number of pages of each quality, which belong to a particular WikiProject. The syntax is as follows:

{{Pages by Quality
 |topic=
 |project=
}}

Parameters

  • |topic= (required) - set so that the quality categories are: "Foo-quality topic pages".
  • |project= (optional) - if defined, a refresh button and the following caption is displayed below the table: "WikiProject project pages by quality".

Examples

{{Pages by Quality|topic=language|project=Languages}}

will result in:

 FB   A   B   C   Start   Stub   Project   Category   Subject   Template   NB   ???  Total
2 0 3 9 2 0 7 357 26 498 3 4,146 5,053
WikiProject Languages  pages by quality     Refresh
Formatting template layout

By using the |format= tag, you can change the way the template is formatted using one of Wikibooks' defined styles (CSS).

{{Pages by Quality|topic=language|project=Languages|format=toc}}

will result in:

 FB   A   B   C   Start   Stub   Project   Category   Subject   Template   NB   ???  Total
2 0 3 9 2 0 7 357 26 498 3 4,146 5,053
WikiProject Languages  pages by quality     Refresh

You can use any of the Wikibooks-defined classes in this parameter. In this example, the switch changes the style from the default wikitable to the toc style used in the {{Cat quality}} template. All formatting in the template will be changed to the defined style chosen and cannot be modified.

Task force example

{{Pages by Quality
 |project    = Languages
 |topic      = French language
 |task_force = yes
  |tf_link   = French language task force
  |parent    = Languages
 |format     = toc
}}

will generate:

 FB   A   B   C   Start   Stub   Project   Category   Subject   Template   NB   ???  Total
0 0 2 3 0 0 1 25 0 45 0 182 258
French language task force  pages by quality     Refresh

See also

Standard class types
 FB   A   B   C 
{{quality|FB}} {{quality|A}} {{quality|B}} {{quality|C}}
 Start   Stub   NB   ??? 
{{quality|Start}} {{quality|Stub}} {{quality|NB}} {{quality|Unassessed}}
Non-standard quality types
 Project   Category   Subject   Template 
{{quality|Project}} {{quality|Category}} {{quality|Subject}} {{quality|Template}}
Priority types
 Top   High   Mid 
{{priority|Top}} {{priority|High}} {{priority|Mid}}
 Low   NB   ??? 
{{priority|Low}} {{priority|NB}} {{priority|Unknown}}
Quality
Priority