Template:Category links short: Difference between revisions
+{{Interwikitmp-grp}} +{{TOCright}} + --{{Commonscat}} ??? Huh, has no Category:Lcs! |
Interwiki cats in examples |
||
Line 8: | Line 8: | ||
Example: |
Example: |
||
:<tt><nowiki>{{Lcs| |
:<tt><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></tt> |
||
appears as: |
appears as: |
||
:<tt>{{Lcs| |
:<tt>{{Lcs|Interwiki utility templates}}</tt> |
||
== Documentation == |
== Documentation == |
||
[[Template:Lcs}} |
[[Template:Lcs}} |
||
Line 35: | Line 35: | ||
| '''Code''' || '''Result''' |
| '''Code''' || '''Result''' |
||
|- |
|- |
||
| <code><nowiki>{{Lcs| |
| <code><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></code> |
||
| {{Lcs| |
| {{Lcs|Interwiki utility templates}} |
||
|- |
|- |
||
| <code><nowiki>{{Lcs}}</nowiki></code> |
| <code><nowiki>{{Lcs}}</nowiki></code> |
||
Line 59: | Line 59: | ||
|- |
|- |
||
| {{Lts/|cl}} |
| {{Lts/|cl}} |
||
| <code><nowiki>{{cl| |
| <code><nowiki>{{cl|Interwiki utility templates}}</nowiki></code> |
||
| {{cl| |
| {{cl|Interwiki utility templates}} |
||
|- |
|- |
||
| {{Lts/|ccl}} |
| {{Lts/|ccl}} |
||
| <code><nowiki>{{ccl| |
| <code><nowiki>{{ccl|Interwiki utility templates}}</nowiki></code> |
||
| {{ccl| |
| {{ccl|Interwiki utility templates}} |
||
|- |
|- |
||
| {{Lts/|lc}} |
| {{Lts/|lc}} |
||
| <code><nowiki>{{lc| |
| <code><nowiki>{{lc|Interwiki utility templates}}</nowiki></code> |
||
| {{lc| |
| {{lc|Interwiki utility templates}} |
||
|- |
|- |
||
| {{Lts/|lcs}} |
| {{Lts/|lcs}} |
||
| <code><nowiki>{{lcs| |
| <code><nowiki>{{lcs|Interwiki utility templates}}</nowiki></code> |
||
| {{lcs| |
| {{lcs|Interwiki utility templates}} |
||
|}{{-}} |
|}{{-}} |
||
[[Category:Internal link templates|{{PAGENAME}}]] |
[[Category:Internal link templates|{{PAGENAME}}]] |
Revision as of 06:16, 13 September 2006
Usage
Template:Category links short(edit talk links history) needs one parameter, the name of an existing Category.
Example:
- {{Lcs|Interwiki utility templates}}
appears as:
Documentation
[[Template:Lcs}} is a smaller variant of Template:W2 with pleasant output also on browsers which don't support Template:W2.
Template:W2 allows one parameter, the name of an existing Template:W2. It can be used on talk and user pages related to an existing Template:W2 of the category, but the linked category talk page might also not yet exist.
Usage
{{Lcs|category}}
shows links for the specified category
{{Lcs}}
shows links for a category wrt the {{PAGENAME}}
Example
Code | Result |
{{Lcs|Interwiki utility templates}}
|
|
{{Lcs}}
|
The latter shows bogus links, as long as no category Category links short exists.
See also
- Template:Lcs(edit talk links history) for Categories
- Template:Lps(edit talk links history) for {{ns:Project}}
- Template:Lts(edit talk links history) for Templates
Comparison
We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits redirections:
Source | Code | Result |
{{cl|Interwiki utility templates}}
|
Category:Interwiki utility templates | |
{{ccl|Interwiki utility templates}}
|
Category:Interwiki utility templates | |
{{lc|Interwiki utility templates}}
|
Category:Interwiki utility templates (edit | talk | history | links | watch | logs) | |
{{lcs|Interwiki utility templates}}
|