Template:category/documentation
Appearance
This template imitates the format of a wikilink to a category.
It is formatted using [[double-brackets]], with the text Category: appended to the front. e.g. [[Category:Wiktionary]]. If the link is invalid, then the clickable link will be disabled.
Usage
[edit]This template may be added anywhere outside of content namespaces to display a category link.
Parameters
[edit]This template uses one or two unnamed (positional) parameters:
|1=(required) The category to be linked to, without theCategory:prefix.|2=(optional) The sortkey to be displayed in the category link.
Examples
[edit]{{category|English nouns}}returns:- Result:
[[Category:English nouns]]
- Result:
{{category|Portuguese appendices}}returns:- Result:
[[Category:Portuguese appendices]]
- Result:
{{category|Fundamental|sortkey}}returns:- Result:
[[Category:Fundamental|sortkey]]
- Result:
{{category|Some<invalid>category name}}- Result:
[[Category:Some<invalid>category name]]
- Result:
See also
[edit]{{topics}}{{catlangname}}{{categorize}}