લખાણ પર જાઓ

ઢાંચો:Articles by Importance/doc

વિકિપીડિયામાંથી

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=
 |project=
}}
  • |topic= (required) - set so that the importance categories are: "Foo-importance topic articles".
  • |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:

 Top  High  Mid  Low  ??? Total
WikiProject Physics  articles by importance     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 Importance|topic=physics|project=Physics|format=toc}}

will result in:

 Top  High  Mid  Low  ??? Total
WikiProject Physics  articles by importance     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 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:

 Top  High  Mid  Low  ??? Total
Cheeses Taskforce  articles by importance     Refresh


Standard class types
 FA  A  GA B
{{class|FA}} {{class|A}} {{class|GA}} {{class|B}}
C Start Stub  FL
{{class|C}} {{class|Start}} {{class|Stub}} {{class|FL}}
List  FM NA ???
{{class|List}} {{class|FM}} {{class|NA}} {{class|Unassessed}}
Non-standard class types
??? Category Current Disambig
{{class|Book}} {{class|Category}} {{class|Current}} {{class|Disambig}}
File Future Merge Needed
{{class|File}} {{class|Future}} {{class|Merge}} {{class|Needed}}
Portal Project 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