Şablon:Class
??? |
This template is used to show WP1.0 assessment ratings on WikiProject banners and other places.
Usage
redaktə{{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.
- By default the
Examples
redaktə
{{class|FA}}
{{class|FA|image=no}}
{{class|FA|category=biography articles}}
{{class|Bplus}}
{{class|Bplus|image=yes}}
{{class|Bplus|category=mathematics articles}}
|
TemplateData
redaktəThis is the TemplateData documentation for this template used by VisualEditor and other tools.
See the monthly error report for this template.
TemplateData for Class
Parametr | İzah | Tipi | Status | |
---|---|---|---|---|
Grade | 1 | The classification of the article | Mətn | tələb olunur |
Image | image | 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 | Mətn | məcburi deyil |
Category | category | An alternative category link | Mətn | məcburi deyil |
Header | header | Set to 'yes' if the template is used in the header row of a sortable table, so that the cell is constructed using the <th> element rather than the <tl> element | Mətn | məcburi deyil |