Difference between revisions of "Template:Cls"
Jump to navigation
Jump to search
blackwiki>Ahecht (strip out "Category:" if present in parameter 1) |
blackwiki>Ahecht (rm #titleparts) |
||
| Line 1: | Line 1: | ||
| − | [[:Category | + | [[:Category:{{PAGENAME:{{{1}}}}}|Cat:{{PAGENAME:{{{1}}}}}]]<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 21:01, 29 April 2016
[[:Category:|Cat:]]
This template is a shortcut for category lists that shortens "Category" to "Cat". Similar to {{tl}} for templates, it automatically places a colon (:) before "Category" so the page will not populate the category:
{{cls|Wikipedians}}produces: Cat:Wikipedians{{cls|Category:wikipedians}}produces: Cat:Wikipedians
See also
- {{c}}, which produces Philosophy.
- {{cl}}, which produces Category:Philosophy.
- {{lcs}}, which produces (edit talk links history) for use in discussions.
|
|
| The above documentation is transcluded from Template:Cls/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |