Template:Category links short
From Wikipedia, the free encyclopedia
Category:PAGENAME(edit talk links history)
About
Template:Lcs is a smaller variant of Lc with pleasant output also on browsers which don't support ·
.
Template:Lcs allows one parameter, the name of an existing category. It can be used on talk and user pages related to an existing talk page of the category, but the linked category talk page might also not yet exist.
Usage
{{Lcs}} needs one parameter, the name of an existing category.
{{lcs|category}}
shows links for the specified category;
{{lcs}}
shows links for a category wrt the {{PAGENAME}}
Example
More information Code, Result ...
Code | Result |
---|---|
{{lcs|Category:Internal link templates}} | Category:Internal link templates(edit talk links history) |
{{lcs|internal link templates}} | Category:Internal link templates(edit talk links history) |
{{lcs}} | Category:Category links short(edit talk links history) |
Close
The latter shows bogus links, as long as no category Category links short exists.
{{lcs|Interwiki utility templates}}
produces:
Comparison
The following list is probably incomplete and intentionally omits redirections.
More information Source, Code ...
Source | Code | Result |
---|---|---|
Template:Cl(edit talk links history) | {{cl|Internal link templates}} | Category:Internal link templates |
Template:Ccl(edit talk links history) | {{ccl|Internal link templates}} | Category:Internal link templates |
Template:Lc(edit talk links history) | {{lc|Internal link templates}} | Category:Internal link templates (edit | talk | history | links | watch | logs) |
Template:Lcs(edit talk links history) | {{lcs|Internal link templates}} | Category:Internal link templates(edit talk links history) |
Close
See also
- {{Lps}} for {{ns:Project}}
- {{Lts}} for templates
- Category:Internal link templates(edit talk links history)
|
|
The above documentation is transcluded from Template:Category links short/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.