Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

This template outputs either "article" or "page" based on whether a given quality assessment applies to an article or a page. It is mainly used within category header templates (for instance, {{WP 20th Century Studios quality and importance cat}}).

The default output is "article" to easily handle non-standard quality assessments.

Because it is easier to pluralize "article" and "page" than de-pluralize "articles" and "pages", the output of this template is singular. If the plural form is desired, you can add an s directly after the template, such as {{Article or page|Foo}}s.

Usage

  • {{Article or page|File}} → page
  • {{Article or page|File}}s → pages
  • {{Article or page|B}} → article
  • {{Article or page|B}}s → articles
  • {{Article or page|Purple monkey dish washer}} → article

TemplateData

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

TemplateData for Article or page

A template which outputs "article" or "page", depending on whether the input is an assessment class for articles or pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Assessment class1

The assessment class

Linerequired