Template:Cat/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Meteor sandwich yum
+{{cls}} and work out the differences
Ookami (talk | contribs)
m 30 revisions imported
 
(21 intermediate revisions by 15 users not shown)
Line 3: Line 3:


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


'''Example''':
'''Example''':
<pre>
* {{tlx|Cat|Stubs}} → {{Cat|Stubs}}
{{Cat|stubs}}
* {{tlx|Cat|stubs}} → {{Cat|stubs}}
</pre>
* {{tlx|Cat|cat:stubs}} → {{Cat|Category:stubs}}
{{Cat|stubs}}
* {{tlx|Cat|category:stubs}} → {{Cat|Category:stubs}}


=== See also ===
=== See also ===
* {{tl|c}} &ndash; pipetricked category name &ndash; skips 'Category:' and displays bare link.
* {{tl|c}} pipetricked category name &ndash; skips 'Category:' and displays bare link.
* {{tl|cl}} &ndash; links to category and includes the 'Category:' label
* {{tl|cl}} links to category and includes the 'Category:' label
* {{tl|cls}} &ndash; 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|lc}} &ndash; Category name and full links &ndash; for administration and discussion pages
* {{tl|catlist}} – list of many, variable output format
* {{tl|lcs}} &ndash; 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.
* {{tl|cat see also}} list of many, fixed output format for a category-namespace hatnote
* {{tl|cat see also}} &ndash; list of many, fixed output format


<includeonly>
; with administration links
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
* {{tl|lc}} – Category name and full links &ndash; for administration and discussion pages
[[Category:Internal link templates]]
* {{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.
[[fa:الگو:Cat/توضیحات]]
 
</includeonly>
<includeonly>{{sandbox other||
[[Category:Internal category-link templates]]
}}</includeonly>

Latest revision as of 00:53, 3 September 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}}}]]
  • {{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.