Template:Lcs: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
doc |
wikitable escapes |
||
Line 32: | Line 32: | ||
=== Example === | === Example === | ||
{ | {{{!}} | ||
! Code !! Result | |||
{{!}}- | |||
{{!}} <code><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></code> | |||
{{!}} {{Lcs|Interwiki utility templates}} | |||
{{!}}- | |||
{{!}} <code><nowiki>{{Lcs}}</nowiki></code> | |||
{{!}} {{Lcs}} | |||
{{!}}} | |||
''The latter shows bogus links, as long as no category'' {{PAGENAME}} ''exists.'' | ''The latter shows bogus links, as long as no category'' {{PAGENAME}} ''exists.'' | ||
Line 55: | Line 55: | ||
omits redirections: | omits redirections: | ||
{ | {{{!}} | ||
! Source !! Code !! Result | |||
{{!}}- | |||
{{!}} {{Lts|cl}} | |||
{{!}} <code><nowiki>{{cl|Interwiki utility templates}}</nowiki></code> | |||
{{!}} {{cl|Interwiki utility templates}} | |||
{{!}}- | |||
{{!}} {{Lts|ccl}} | |||
{{!}} <code><nowiki>{{ccl|Interwiki utility templates}}</nowiki></code> | |||
{{!}} {{ccl|Interwiki utility templates}} | |||
{{!}}- | |||
{{!}} {{Lts|lc}} | |||
{{!}} <code><nowiki>{{lc|Interwiki utility templates}}</nowiki></code> | |||
{{!}} {{lc|Interwiki utility templates}} | |||
{{!}}- | |||
{{!}} {{Lts|lcs}} | |||
{{!}} <code><nowiki>{{lcs|Interwiki utility templates}}</nowiki></code> | |||
{{!}} {{lcs|Interwiki utility templates}} | |||
{{!}}}{{-}} | |||
}} | }} | ||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 18:48, 26 April 2012
Template documentation
Usage
Template:Lcs(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 Lc with pleasant output also on browsers which don't support ·.
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|category}}
shows links for the specified category
{{Lcs}}
shows links for a category wrt the {{PAGENAME}}
Example
Code | Result |
---|---|
{{Lcs|Interwiki utility templates}}
|
edit talk links history) | (
{{Lcs}}
|
edit talk links history) | (
The latter shows bogus links, as long as no category Lcs 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
- edit talk links history) (
Comparison
We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits redirections:
Source | Code | Result |
---|---|---|
Template:Cl(edit talk links history) | {{cl|Interwiki utility templates}}
|
Category:Interwiki utility templates |
Template:Ccl(edit talk links history) | {{ccl|Interwiki utility templates}}
|
Template:Ccl |
Template:Lc(edit talk links history) | {{lc|Interwiki utility templates}}
|
Category:Interwiki utility templates (edit | talk | history | links | watch | logs) |
Template:Lcs(edit talk links history) | {{lcs|Interwiki utility templates}}
|
edit talk links history) | (