Template:Category links short/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} __NOTOC__ {{tsh|Lcs}} <!----Categories where indicated at the bottom of this page----> == About == Template:Lcs is a smaller variant of Lc with pleasant output also on browsers which don't support <code>·</code>. 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 al...") |
No edit summary |
||
Line 38: | Line 38: | ||
== See also == | == See also == | ||
* {{tl|Lts}} for templates | * {{tl|Lts}} for templates | ||
* {{lcs|Internal category-link templates}} | * {{lcs|Internal category-link templates}} |
Latest revision as of 18:51, 10 April 2025
![]() | This is a documentation subpage for Template:Category links short. It may contain usage information, categories and other content that is not part of the original template page. |
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
Code | Result |
---|---|
{{lcs|Category:Internal category-link templates}} | (edit talk links history) |
{{lcs|internal category-link templates}} | (edit talk links history) |
{{lcs}} | (edit talk links history) |
The latter shows bogus links, as long as no category Category links short/doc exists.
{{lcs|Internal category-link templates}}
produces:
Comparison
The following list is probably incomplete and intentionally omits redirections.
Source | Code | Result |
---|---|---|
Template:Cl(edit talk links history) | {{cl|Internal category-link templates}} | Category:Internal category-link templates |
Template:Ccl(edit talk links history) | {{ccl|Internal category-link templates}} | Category:Internal category-link templates |
Template:Lc(edit talk links history) | {{lc|Internal category-link templates}} | Category:Internal category-link templates (edit | talk | history | links | watch | logs) |
Template:Lcs(edit talk links history) | {{lcs|Internal category-link templates}} | (edit talk links history) |
See also