Template:Class inline
![]()
This template display's a page's Wikipedia:Content assessment grade inline. This template is based on {{GA inline}} but uses {{Icon}} to expand support to all classes that a page can be assessed as.
Usage
[edit]It can be used to just display the icons, but really should be used for displaying article titles as well (if you just want the icons, use {{Icon}}).
Parameters
[edit]|1=or|class=or first unnumbered parameter – The class of the article for the purposes of Wikipedia:Content assessment. Takes any of the parameters listed at {{Icon}}. Leaving this field empty or using an unknown parameter will generate a
symbol with no tooltip. Using a valid parameter will generate the relevant symbol with a tooltip indicating the meaning of the icon.|2=or|article=or second unnumbered parameter – The name of the article; it will be linked for you.|3=or|date=or third unnumbered parameter – The date the article was assessed or promoted, in whatever format is preferred.|4=or|phrase=or fourth unnumbered parameter – The phrase used to refer to the date. Defaults topromoted on
if the date is used, butpromoted on
should only be used on Good, A-Class, or Featured content.
Examples
[edit]| Code | Result |
|---|---|
{{Class inline}} or {{Class inline|parameter not supported by Template:Icon}} | |
{{Class inline|stub}} | |
{{Class inline|start|Network era|February 20, 2012|as of}} | |
{{Class inline|GA|Magic Mountain (California)|November 14, 2025}} | |
{{Class inline|template|Template:GA inline}} |
See also
[edit]- {{GA inline}} and {{FA inline}}, what this template is based on
- Wikipedia:Content assessment
Template data
[edit]TemplateData for Class inline
Template to display a page's rating in the Content Assessment system inline with other text. Designed for talkpages and userpages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Class | 1 class | The page's rating on the Content Assessment scale; any parameter valid in Template:Icon is accepted
| String | required |
| Article | 2 article | The page being listed. Wikilinked. | String | suggested |
| Date | 3 date | The date of the assessment, in any format. | Date | optional |
| Phrase | 4 phrase | The wording used to introduce the date. Defaults to "promoted on", but different wording should be used for pages that are not Good, A-Class, or Featured content.
| String | optional |