Template:Cat/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>PanchoS mention canonalization, give some examples |
meta>PanchoS m refine template category |
||
Line 19: | Line 19: | ||
* {{tl|cat see also}} – list of many, fixed output format | * {{tl|cat see also}} – list of many, fixed output format | ||
<includeonly> | <includeonly>{{sandbox other|| | ||
[[Category:Internal category-link templates]] | |||
[[Category:Internal link templates]] | |||
</includeonly> | </includeonly> |
Revision as of 09:20, 22 June 2016
This is a documentation subpage for Template:Cat. It may contain usage information, categories and other content that is not part of the original template page. |
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:Stubs{{Cat|category:stubs}}
→ 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}}}]]
- {{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. - {{cat see also}} – list of many, fixed output format