Template:Category or link
Jump to navigation
Jump to search
Suggested: [[:Category:]]
This documentation is transcluded from Template:Category or link/doc.
Similar to Template:Category ifexist, but creates a wikilink to the category, if it doesn't exist.
Places a page in a category if that category exists. Otherwise links to the category, suggesting its creation.
Usage
{{Category or link |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | categoryname | Name of the category without the "Category:" prefix. | empty | required |
2 | optionalsortkey | Sort key for the categorization. | empty | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Example
{{Category or link|Volcanic eruptions in 1794}}
renders as: