• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Class inline

  • Template
  • Talk
  • Language
  • Watch
  • Edit

Template documentation[view] [edit] [history] [purge]

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.

Contents

  • 1 Usage
    • 1.1 Parameters
    • 1.2 Examples
  • 2 See also
  • 3 Template data

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 to promoted on if the date is used, but promoted on should only be used on Good, A-Class, or Featured content.

Examples

edit
CodeResult
{{Class inline}} or {{Class inline|parameter not supported by Template:Icon}}
{{Class inline|stub}}
{{Class inline|start|Network era|February 20, 2012|as of}} Network era, as of February 20, 2012
{{Class inline|GA|Magic Mountain (California)|November 14, 2025}} Magic Mountain (California), promoted on November 14, 2025
{{Class inline|template|Template:GA inline}} Template:GA inline

See also

edit
  • {{GA inline}} and {{FA inline}}, what this template is based on
  • Wikipedia:Content assessment

Template data

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Class inline in articles based on its TemplateData.

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Class1 class

The page's rating on the Content Assessment scale; any parameter valid in Template:Icon is accepted

Suggested values
stub start c b ga a fa
Stringrequired
Article2 article

The page being listed. Wikilinked.

Stringsuggested
Date3 date

The date of the assessment, in any format.

Dateoptional
Phrase4 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.

Suggested values
promoted on as of assessed on since
Default
promoted on
Stringoptional
The above documentation is transcluded from Template:Class inline/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Class_inline&oldid=1343639130"