Template:Category

From Minecraft Discontinued Features Wiki
Jump to navigation Jump to search

[[:Category:|]]

[view | edit | history | purge | sandbox]Documentation

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[Edit template data]

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
[view | edit | history | purge | sandbox]The above documentation is transcluded from Template:Category/doc.