This is a documentation subpage for Template:OKA category. It may contain usage information, categories and other content that is not part of the original template page. |
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
editThere 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
editCategory 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- {{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