Ta̱mpi̱let:Class/doc
| This is a documentation subpage for Ta̱mpi̱let:Class. It contains usage information, categories and other content that is not part of the original ta̱mpi̱let page. |
| This template is used on approximately 9,630,000 pages, or roughly 149534% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template is transcluded in one or more cascade-protected pages, so only administrators can edit it. |
| This template uses Lua: |
This template is used to show WP1.0 assessment ratings on WikiProject banners and other places. Because it wraps its contents in <td>...</td> tags, it must be used inside <table>...</table> tags.
Usage
[jhyuk a̱tyin ka]{{class|grade}}- Where grade is the classification of the article.
{{class|grade|image=yes}}|image=yesDisplays a small icon next to the grade description for all assessments (produced by{{class/icon}}).|image=nodoes 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=yesso that the cell is constructed using the<th>...</th>element. If used elsewhere than a header row, omit this parameter.
- By default the
Examples
[jhyuk a̱tyin ka]|
|
TemplateData
[jhyuk a̱tyin ka]TemplateData for Class
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Grade | 1 | The classification of the article | String | required |
| 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 | String | optional |
| Category | category | An alternative category link | String | optional |
| 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 a "th" element rather than a "td" element | String | optional |
See also
[jhyuk a̱tyin ka]Ta̱mpi̱let:Grading scheme/doc/see also