Difference between revisions of "Template:Cat"

From blackwiki
Jump to navigation Jump to search
test>Ahecht
(Sync with sandbox per edit request)
test>Ahecht
(rm #titleparts)
Line 1: Line 1:
[[:Category:{{#titleparts:{{PAGENAME:{{{1}}}}}}}]]<noinclude>
+
[[:Category:{{PAGENAME:{{{1}}}}}]]<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:59, 29 April 2016

[[:Category:]]

50px Template documentation[view] [edit] [history] [purge]

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.