Template:Category/doc

From Minecraft Discontinued Features Wiki
Jump to navigation Jump to search
Book and Quill 2.png
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.

Usage

{{|category name}}
{{|category name |link text}}

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.

Template parameters

ParameterDescriptionTypeStatus
Category name1

The name of the category to link to, without the Category: prefix

Stringrequired
Link text2

Text of the actual link, if you want to override it

Stringoptional