Template:Category/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Category
It may contain usage information, categories and other content that is not part of the original template page.
It may contain usage information, categories and other content that is not part of the original template page.
Usage
Use {{c}} to create a namespace-free link to a category, e.g. Items rather than Category:Items, this doesn't actually add a page to a category.
- {{c|Items}} produces: Items
To specify the text used for the link – e.g. "Item category" in place of "Item" – add it as the next parameter:
- {{c|Items|Item category}} produces: Item category
Creates links to categories without the namespace prefix to be used in the article, does not add the page to the category.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category name | 1 | The name of the category to link to, without the Category: prefix | String | required |
Link text | 2 | Text of the actual link, if you want to override it | String | optional |