લખાણ પર જાઓ

ઢાંચો:Class/doc

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

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

  • {{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.

{{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
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Class in articles based on its TemplateData.

TemplateData for Class

Template parameters

ParameterDescriptionTypeStatus
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
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