Template:Cat/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Creates a link to the specified category. Canonalizes the dis..." |
Caleb Cooper (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
* {{tl|c}} – pipetricked category name – skips 'Category:' and displays bare link. |
* {{tl|c}} – pipetricked category name – skips 'Category:' and displays bare link. |
||
* {{tl|cl}} – links to category and includes the 'Category:' label |
* {{tl|cl}} – links to category and includes the 'Category:' label |
||
* {{tl|cls}} – compromise macro between 'C' and 'Cat': <nowiki>[[:Category:{{{1}}}|Cat:{{{1}}}]]</nowiki> |
|||
* {{tl|catlist}} – list of many, variable output format |
|||
* {{tl|cat see also}} – list of many, fixed output format for a category-namespace hatnote |
|||
For more detail see: [[wikipedia:Template:Cat/doc]] |
|||
; with administration links |
|||
* {{tl|lc}} – Category name and full links – for administration and discussion pages |
|||
* {{tl|lcs}} – Category name and '''s'''maller set of links – same purposes, <br />but note, both are useful from within preview screens as well to explore and study relationships, or make related changes. |
|||
<includeonly>{{sandbox other|| |
<includeonly>{{sandbox other|| |
||
Latest revision as of 09:23, 16 October 2020
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
For more detail see: wikipedia:Template:Cat/doc