Template:Class/doc

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

Usage

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

TemplateData
<TemplateData> {       "description": "", "params": { "1": {                       "label": "Grade", "description": "The classification of the article", "type": "string", "required": true },               "image": { "label": "Image", "description": "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", "type": "string", "required": false },               "category": { "label": "Category", "description": "An alternative category link", "type": "string", "required": false },               "header": { "label": "Header", "description": "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", "type": "string", "required": false }       } } </TemplateData>