Template:Cat/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dexbot
m Bot: Cleaning up old interwiki links
meta>PanchoS
mention canonalization, give some examples
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 ===

Revision as of 16:09, 28 April 2016

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