Template:Articles by Importance

 Top  High  Mid  Low  Bottom  NA  ??? Total
 2,024  2,018  2,052  2,021  30  2,011 2,020  12,176 
Template documentation[view] [edit] [history] [purge]


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

{{Articles by Importance


  • |topic= (optional) - set so that the importance categories are: "Foo-importance topic articles". If absent, category pages will also be counted.
  • |project= (optional) - if defined, a refresh button and the following caption is displayed below the table: "WikiProject project articles by importance".
  • |custom1= (optional) - allows for addition of a custom importance


{{Articles by Importance|topic=physics|project=Physics}}

will result in:

WikiProject Physics Articles by importance (refresh)
 Top  High  Mid  Low  NA  ??? Total
 247  1,334  5,338  12,601  3,849 372  23,741 
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 Importance|topic=physics|project=Physics|format=toc}}

will result in:

WikiProject Physics Articles by importance (refresh)
 Top  High  Mid  Low  NA  ??? Total
 247  1,334  5,338  12,601  3,849 372  23,741 

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 importance}} template. All formatting in the template will be changed to the defined style chosen and cannot be modified.

Taskforce example

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

will generate:

Cheeses Taskforce Articles by importance (refresh)
 Top  High  Mid  Low  NA  ??? Total
 4  22  76  328  164 160  754 

See also

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