Jump to content

साचा: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=
}}

Parameters

[संपादन]
  • |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:

WikiProject Physics Articles by importance (refresh)
 Top  High  Mid  Low  ??? Total
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  ??? Total

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  ??? Total


प्रमाणित दर्जांचे प्रकार
 वृत्तलेख   वृत्तलेखयादी   वृत्तलेखमाध्यम    
{{class|वृत्तलेख}} {{class|वृत्तलेखयादी}} {{class|वृत्तलेखमाध्यम}} {{class|अ}}
 उत्तम         प्राथमिक 
{{class|उत्तम}} {{class|ब}} {{class|क}} {{class|प्राथमिक}}
 खुंटलेल्या   यादी   अ-लेख   अमुल्यांकीत 
{{class|खुंटलेल्या}} {{class|यादी}} {{class|अ-लेख}} {{class|अमुल्यांकीत}}
अ-प्रमाणित दर्जांचे प्रकार
 सद्य   भविष्य   संचअनुक्रमलेख 
{{class|सद्य}} {{class|भविष्य}} {{class|संचअनुक्रमलेख}}
 अ यादी   ब यादी   क यादी   प्राथमिक यादी 
{{class|अ यादी}} {{class|ब यादी}} {{class|क यादी}} {{class|प्राथमिक यादी}}
 पुस्तक   वर्ग   निःसंदिग्धीकरण   मसूदा 
{{class|पुस्तक}} {{class|वर्ग}} {{class|निःसंदिग्धीकरण}} {{class|मसूदा}}
 संचिका   विलयन   हवे   दालन 
{{class|संचिका}} {{class|विलयन}} {{class|हवे}} {{class|दालन}}
 प्रकल्प   पुनर्निर्देशन   साचा   सदस्य 
{{class|प्रकल्प}} {{class|पुनर्निर्देशन}} {{class|साचा}} {{class|सदस्य}}
प्रकारानुसार महत्त्व
 उच्चतम   उच्च   मध्यम   निम्न 
{{importance|उच्चतम}} {{importance|उच्च}} {{importance|मध्यम}} {{importance|निम्न}}
 निम्नतर   अप्राप्त   अज्ञात 
{{importance|निम्नतर}} {{importance|अप्राप्त}} {{importance|अज्ञात}}
Class
Importance
Hybrid
Others
Tool to add multiple templates to quality assessment pages