This template is used on approximately 380,000 pages, or roughly 33% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Usage[edit source]
Creates a link to the specified category. Canonalizes the displayed category name.
Example:
{{Cat|Stubs}}
→ Category:Stubs{{Cat|stubs}}
→ Category:Stubs{{Cat|cat:stubs}}
→ Category:Stubs{{Cat|category:stubs}}
→ Category:Stubs
See also[edit source]
- {{c}} – pipetricked category name – skips 'Category:' and displays bare link.
- {{cl}} – links to category and includes the 'Category:' label
- {{cls}} – compromise macro between 'C' and 'Cat': [[:Category:{{{1}}}|Cat:{{{1}}}]]
- {{catlist}} – list of many, variable output format
- {{cat see also}} – list of many, fixed output format for a category-namespace hatnote
With administration links:
- {{lc}} – Category name and full links – for administration and discussion pages
- {{lcs}} – Category name and smaller set of links – same purposes,
but note, both are useful from within preview screens as well to explore and study relationships, or make related changes.