< Template:Category
Revision as of 13:25, 23 October 2022 by Arcology Expert Program (talk | contribs)
Template:Category is used to simplify the creation of links to categories.
Usage
It accepts one mandatory string parameter, the name of an article in the category namespace and one optional parameter.
Return
It returns a link to the category page, without the namespace prepended. For instance, {{Category|Admin}} returns:
This is in contrast to a normal Mediawiki category link, such as [[:Category:Admin]], which would return:
If a second parameter of end is included, the return is modified: {{Category|Admin|end}} returns:
Admin category
