Difference between revisions of "Template:Class/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(remove Test)
imported>Ms2ger
m (→‎Usage: Typo)
Line 11: Line 11:
 
*:'''{{para|image|yes}}''' Displays a small icon next to the grade description for ''all'' assessments (produced by {{tlx|classicon}}).
 
*:'''{{para|image|yes}}''' Displays a small icon next to the grade description for ''all'' assessments (produced by {{tlx|classicon}}).
 
*:'''{{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.
 
*<tt><nowiki>{{class|</nowiki>''grade''<nowiki>|category=</nowiki>''category''<nowiki>}}</nowiki></tt>
 
*<tt><nowiki>{{class|</nowiki>''grade''<nowiki>|category=</nowiki>''category''<nowiki>}}</nowiki></tt>
 
*:Define an alternative category link.
 
*:Define an alternative category link.

Revision as of 17:49, 5 April 2009

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 {{classicon}}).
    |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.

Examples

{{class|FA}}

{{class|FA|image=yes}}

{{class|FA|category=biography articles}}


{{class|B+}}

{{class|B+|image=yes}}

{{class|B+|category=mathematics articles}}

Article classes
class td col class td col class td col class td col
class td col class td col class td col class td col
Other classes
class td col class td col class td col class td col
class td col class td col class td col class td col
class td col class td col class td col
Non-standard grades
class td col class td col class td col class td col

See also