Returns OKA project category info for a given short token: either the full category name, or the number of articles in the category.

Usage

edit

{{OKA category|category-code}}
{{OKA category|category-code|name=y}}

Parameters

edit

There is one unnamed and one named parameter:

  • |1= – category token: a short token representing a full category name (optional; default: 'U'); see § Details below.
  • |name= – boolean; if present, returns the full name of the category

Details

edit

Category tokens includes codes in the article quality grading scheme such as: FA, FL, GA, A, B, C, Start, Stub, List, and so on.

Examples

edit
  • {{OKA category|C}} → 801
  • {{OKA category|C|name=y}} → C-Class OKA articles
  • {{OKA category|List}} → 20
  • {{OKA category|List|name=y}} → List-Class OKA articles

See also

edit

The following subtemplates are available: