Template:OKA category
Appearance
114
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}}
→ 713{{OKA category|C|name=y}}
→ C-Class OKA articles{{OKA category|List}}
→ 19{{OKA category|List|name=y}}
→ List-Class OKA articles
See also
[edit]- {{Category class}}
The following subtemplates are available:
{{OKA category/name}}
– returns the name of the category for a given class{{OKA category/row}}
– returns one wikitable row, with category info for a given class{{OKA category/summary}}
– displays a wikitable for OKA quality categories