Difference between revisions of "Template:Cat"
Jump to navigation
Jump to search
test>WOSlinker (remove {{pp-template}}) |
test>Fuhghettaboutit m (Changed protection level of Template:Cat: Enable access by template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(No difference)
| |
Revision as of 03:51, 2 November 2013
[[:Category:{{{1}}}]]
Usage
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:Category:stubs{{Cat|category:stubs}}→ Category:Category:stubs
See also
- {{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.
| The above documentation is transcluded from Template:Cat/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |