Jump to content

Template:Cat/doc: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
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..."
 
No edit summary
Line 15: Line 15:
* {{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|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 &ndash; for administration and discussion pages
* {{tl|lcs}} – Category name and '''s'''maller set of links &ndash; 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||

Revision as of 09:23, 16 October 2020


Usage

Creates a link to the specified category. Canonalizes the displayed category name.

Example:

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}}}]]

For more detail see: wikipedia:Template:Cat/doc