Difference between revisions of "Template:Class/doc"
Jump to navigation
Jump to search
imported>MSGJ (→Usage: too many nowikis) |
imported>MSGJ (→Usage: fix the others) |
||
| Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
| − | *< | + | *<code><nowiki>{{class|''grade''}}</nowiki></code> |
*:Where ''grade'' is the classification of the article. | *:Where ''grade'' is the classification of the article. | ||
| − | *< | + | *<code><nowiki>{{class|''grade''|image=''yes''}}</nowiki></code> |
*:'''{{para|image|yes}}''' Displays a small icon next to the grade description for ''all'' assessments (produced by {{tlx|class/icon}}). | *:'''{{para|image|yes}}''' Displays a small icon next to the grade description for ''all'' assessments (produced by {{tlx|class/icon}}). | ||
*:'''{{para|image|no}}''' does not ever display icons. | *:'''{{para|image|no}}''' does not ever display icons. | ||
*:'''{{para|image}}''' (blank or undefined) displays icons for '''FA''', '''FL''', '''A''' and '''GA''' classes only. | *:'''{{para|image}}''' (blank or undefined) displays icons for '''FA''', '''FL''', '''A''' and '''GA''' classes only. | ||
| − | *< | + | *<code><nowiki>{{class|''grade''|category=''category''}}</nowiki></code> |
*:Define an alternative category link. | *:Define an alternative category link. | ||
*<code><nowiki>{{class|''grade''|header=yes|category=''category''}}</nowiki></code> | *<code><nowiki>{{class|''grade''|header=yes|category=''category''}}</nowiki></code> | ||
Revision as of 18:39, 12 October 2011
| 40px | This is a documentation subpage for Template:Class. It contains usage information, categories and other content that is not part of the original template page. |
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=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|category=''category''}}- 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
|
{{class|FA}} {{class|FA|image=no}} {{class|FA|category=biography articles}} {{class|Bplus}} {{class|Bplus|image=yes}} {{class|Bplus|category=mathematics articles}} |
See also
| Standard class types | |||
|---|---|---|---|
| {{class|FA}} | {{class|FL}} | {{class|FM}} | {{class|A}} |
| {{class|GA}} | {{class|B}} | {{class|C}} | {{class|Start}} |
| {{class|Stub}} | {{class|List}} | {{class|NA}} | {{class|Unassessed}} |
| Non-standard class types | |||
| {{class|Current}} | {{class|Future}} | {{class|SIA}} | {{class|Deferred}} |
| {{class|AL}} | {{class|BL}} | {{class|CL}} | {{class|SL}} |
| {{class|Book}} | {{class|Category}} | {{class|Disambig}} | {{class|Draft}} |
| {{class|File}} | {{class|Merge}} | {{class|Needed}} | {{class|Portal}} |
| {{class|Project}} | {{class|Redirect}} | {{class|Template}} | {{class|User}} |
| Importance types | |||
| Top | High | Mid | Low |
| {{importance|Top}} | {{importance|High}} | {{importance|Mid}} | {{importance|Low}} |
| Bottom | NA | ??? | |
| {{importance|Bottom}} | {{importance|NA}} | {{importance|Unknown}} | |
- Class
- {{Article classification}}
- {{Grading scheme}}
- {{Assessment Class Summary}}
- {{Category class}}
- {{Articles by Quality}}
- {{Class}}
- {{Class/colour}}
- {{Class/icon}}
- Importance
- {{Article importance}}
- {{Importance scheme}}
- {{Assessment Importance Summary}}
- {{Category importance}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}
- Hybrid
- Others
- {{Articles by Quality Pie Graph}}
- {{Articles by Importance Pie Graph}}
- {{Progression rainbow}}
- {{WikiProject assessment progression}}
- Tool to add multiple templates to quality assessment pages
{{WPBannerMeta/templatepage/qualheader |project =|topic =}}