Difference between revisions of "Template:Cat/doc"
Jump to navigation
Jump to search
(←Replaced content with 'Lies') |
imported>KGirlTrucker81 m (Reverted edits by 75.172.121.227 (talk) (HG) (3.1.22)) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | |||
| + | === Usage === | ||
| + | Creates a link to the specified category. Canonalizes the displayed category name. | ||
| + | |||
| + | '''Example''': | ||
| + | * {{tlx|Cat|Stubs}} → {{Cat|Stubs}} | ||
| + | * {{tlx|Cat|stubs}} → {{Cat|stubs}} | ||
| + | * {{tlx|Cat|cat:stubs}} → {{Cat|Category:stubs}} | ||
| + | * {{tlx|Cat|category:stubs}} → {{Cat|Category:stubs}} | ||
| + | |||
| + | === See also === | ||
| + | * {{tl|c}} – pipetricked category name – skips 'Category:' and displays bare link. | ||
| + | * {{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 | ||
| + | |||
| + | ; 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|| | ||
| + | [[Category:Internal category-link templates]] | ||
| + | }}</includeonly> | ||
Latest revision as of 14:49, 22 April 2017
| This is a documentation subpage for Template:Cat. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{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.