Template:Article or page
article
This template is used on approximately 3,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Assessment class | 1 | The assessment class | Line | required |