Template:Articles by Quality/doc

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Usage[edit]

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

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

Parameters[edit]

  • |topic= (required) - set so that the quality categories are: "Foo-Class topic articles".
  • |project= (optional) - if defined, a refresh button and the following caption is displayed below the table: "WikiProject project articles by quality".
  • |custom1=, |custom2= (optional) - allows for addition of custom classes such as the Audio-Class, for example |custom1=Audio

Examples[edit]

{{Articles by Quality|topic=AFC|project=Articles for creation}}

will result in:

Featured article FA   GA  B-Class article B  C-Class article C  Start-Class article Start  Stub-Class article Stub  Featured list FL   List  Category page Category  Disambiguation page Disambig   File   Portal   Project  Redirect page Redirect   Template   NA   ???  Total
2 19 680 3,791 10,977 6,140 0 293 610 479 3,049 29 10 10,032 305 21 3,012 39,449
WikiProject Articles for creation  articles by quality     Refresh
Changing class to format template layout

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

{{Articles by Quality|topic=AFC|project=Articles for creation|format=toc}}

will result in:

Featured article FA   GA  B-Class article B  C-Class article C  Start-Class article Start  Stub-Class article Stub  Featured list FL   List  Category page Category  Disambiguation page Disambig   File   Portal   Project  Redirect page Redirect   Template   NA   ???  Total
2 19 680 3,791 10,977 6,140 0 293 610 479 3,049 29 10 10,032 305 21 3,012 39,449
WikiProject Articles for creation  articles by quality     Refresh

You can use any of the Wikipedia 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 class}} template. All formatting in the template will be changed to the defined style chosen and cannot be modified.

Taskforce example[edit]

{{Articles by Quality
 |project    = Food and drink
 |topic      = Cheeses
 |task_force = yes
  |tf_link   = Cheeses task force
  |parent    = Food and drink
 |nocat      = yes
 |format     = toc
}}

will generate:

Featured article FA  A-Class article A   GA  B-Class article B  C-Class article C  Start-Class article Start  Stub-Class article Stub  Featured list FL   List  Category page Category  Disambiguation page Disambig   File   Portal   Project  Redirect page Redirect   Template   NA   ???  Total
0 0 1 2 19 139 338 0 15 107 3 1 1 7 17 21 0 38 709
Cheeses Taskforce  articles by quality     Refresh


See also[edit]

Standard class types
Featured article FA  A-Class article A   GA  B-Class article B 
{{class|FA}} {{class|A}} {{class|GA}} {{class|B}}
C-Class article C  Start-Class article Start  Stub-Class article Stub  Featured list FL 
{{class|C}} {{class|Start}} {{class|Stub}} {{class|FL}}
 List  Featured media FM   NA   ??? 
{{class|List}} {{class|FM}} {{class|NA}} {{class|Unassessed}}
Non-standard class types
Wikipedia Book Book  Category page Category   Current  Disambiguation page Disambig 
{{class|Book}} {{class|Category}} {{class|Current}} {{class|Disambig}}
 File   Future   Merge   Needed 
{{class|File}} {{class|Future}} {{class|Merge}} {{class|Needed}}
 Portal   Project  Redirect page Redirect   Template 
{{class|Portal}} {{class|Project}} {{class|Redirect}} {{class|Template}}
Importance types
 Top   High   Mid   Low 
{{importance|Top}} {{importance|High}} {{importance|Mid}} {{importance|Low}}
 Bottom   NA   ??? 
{{importance|Bottom}} {{importance|NA}} {{importance|Unknown}}
Class
Importance
Hybrid
Tool to add multiple templates to quality assessment pages