ढाँचा:Class
स्वरूप
??? |
ढाँचा कागजात[हेर्नुहोस्] [सम्पादन गर्नुहोस्] [इतिहास] [ताजा गर्नुहोस्]
This template is used on approximately ८,४४०,००० pages, or roughly 7629% 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 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.
- By default the
Examples
[सम्पादन गर्नुहोस्]
|
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 in articles based on this TemplateData.
Classको कागजात
मापदण्ड | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Grade | 1 | The classification of the article | String | आवश्यक |
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 | वैकल्पिक |
Category | category | An alternative category link | String | वैकल्पिक |
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 | वैकल्पिक |