Difference between revisions of "Template:Cat"
Jump to navigation
Jump to search
test>Xdamr (Revert to revision 260396700 dated 2008-12-27 23:16:27 by Cenarium using popups) |
test>MSGJ (+doc) |
||
| Line 1: | Line 1: | ||
| − | [[:Category:{{{1}}}]]<noinclude>{{pp-template|small=yes}} | + | [[:Category:{{{1}}}]]<noinclude> |
| − | + | {{pp-template|small=yes}} | |
| − | + | {{documentation}} | |
| − | |||
| − | |||
| − | {{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 11:37, 23 October 2009
[[:Category:{{{1}}}]]
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:Category:stubs{{Cat|category:stubs}}→ Category: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.
| The above documentation is transcluded from Template:Cat/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |