ਫਰਮਾ:Class/doc

This template is used to show WP1.0 assessment ratings on WikiProject banners and other places.

Usage

  • {{class|grade}}
    Where grade is the classification of the article.
  • {{class|grade|image=yes}}
    |image=yes Displays a small icon next to the grade description for all assessments (produced by {{class/icon}}).
    |image=no does not ever display icons.
    |image= (blank or undefined) displays icons for FA, FL, A and GA classes only.
  • {{class|grade|category=category}}
    Define an alternative category link.
  • {{class|grade|header=yes}}
    By default the {{class}} template generates a table cell using the <td>...</td> element. If the template is used in the header row of a sortable table, use |header=yes so that the cell is constructed using the <th>...</th> element. If used elsewhere than a header row, omit this parameter.

Examples

{{class|FA}}

 FA

{{class|FA|image=no}}

FA

{{class|FA|category=biography articles}}

 FA

{{class|B}}

B

{{class|B|image=yes}}

 B

{{class|B|category=mathematics articles}}

B

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Class

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Grade1

The classification of the article

Stringrequired
Imageimage

Set to 'yes' to display an icon; 'no' to not display an icon; or no value or blank to display an icon for FA, FL, A and GA classes only

Stringoptional
Categorycategory

An alternative category link

Stringoptional
Headerheader

Set to 'yes' if the template is used in the header row of a sortable table, so that the cell is constructed using a "th" element rather than a "td" element

Stringoptional

See also

Standard class types
 FA FL FM A
{{Class|FA}}{{Class|FL}}{{Class|FM}}{{Class|A}}
 GABCStart
{{Class|GA}}{{Class|B}}{{Class|C}}{{Class|Start}}
StubListNA???
{{Class|Stub}}{{Class|List}}{{Class|NA}}{{Class|Unassessed}}
Non-standard class types
CurrentFutureSIA AL
{{Class|Current}}{{Class|Future}}{{Class|SIA}}{{Class|AL}}
BLCLSLCategory
{{Class|BL}}{{Class|CL}}{{Class|SL}}{{Class|Category}}
DisambigDraftFileMerge
{{Class|Disambig}}{{Class|Draft}}{{Class|File}}{{Class|Merge}}
NeededPortalProjectRedirect
{{Class|Needed}}{{Class|Portal}}{{Class|Project}}{{Class|Redirect}}
TemplateUser
{{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}}
Class
  • {{Article classification}}
  • {{Grading scheme}}
  • {{Assessment Class Summary}}
  • {{Category class}}
  • {{Articles by Quality}}
  • {{Class}}
Importance
  • {{Article importance}}
  • {{Importance scheme}}
  • {{Assessment Importance Summary}}
  • {{Category importance}}
  • {{Articles by Importance}}
  • {{Importance}}
  • {{Importance/colour}}
  • {{Importance/icon}}
Hybrid
  • {{Articles by Quality and Importance}}
  • {{Article by Quality and Importance}}
Others
Tool to add multiple templates to quality assessment pages
  • {{WPBannerMeta/templatepage/qualheader|project =|topic =}}