Difference between revisions of "Template:Lcs/doc"

From blackwiki
Jump to navigation Jump to search
imported>Eyesnore
m (Reverted edits by 66.87.65.164 (talk) (HG) (3.1.21))
(Replaced content with 'Lies')
Line 1: Line 1:
{{Documentation subpage}} __NOTOC__
+
Lies
<!----Categories where indicated at the bottom of this page, please; interwikis to Wikidata---->
 
[[Template:Lcs]] is a smaller variant of [[Template:Lc|Lc]] with pleasant output also on browsers which don't support <code>[[Interpunct|&amp;middot;]]</code>.
 
 
[[Template:Lcs]] allows one parameter, the name of an existing [[Wikipedia:Category|category]]. It can be used on talk and user pages related to an existing [[WP:TPG|talk page]] of the category, but the linked category talk page might also not yet exist.
 
 
 
== Usage ==
 
 
 
{{tl|Lcs}} needs one parameter, the name of an existing [[Wikipedia:Category|category]].
 
 
 
<code><nowiki>{{lcs|category}}</nowiki></code> shows links for the specified category;<br/>
 
<code><nowiki>{{lcs}}</nowiki></code> shows links for a category wrt the <code><nowiki>{{PAGENAME}}</nowiki></code>
 
 
 
===Example===
 
{{Aligned table |class=wikitable
 
| '''Code''' | '''Result'''
 
| <code><nowiki>{{lcs|Category:Internal link templates}}</nowiki></code> | {{lcs|Category:Internal link templates}}
 
| <code><nowiki>{{lcs|internal link templates}}</nowiki></code> | {{lcs|internal link templates}}
 
| <code><nowiki>{{lcs}}</nowiki></code> | {{lcs}}
 
}}
 
''The latter shows bogus links, as long as no category'' {{PAGENAME}} ''exists.''
 
 
 
: <code><nowiki>{{lcs|Interwiki utility templates}}</nowiki></code>
 
produces:
 
: {{lcs{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}|Interwiki utility templates}}
 
 
 
===Comparison===
 
The following list is probably incomplete and intentionally omits redirections.
 
{{Aligned table |cols=3 |class=wikitable
 
| '''Source''' | '''Code''' | '''Result'''
 
| {{lts|cl}}  | <code><nowiki>{{cl|Internal link templates}}</nowiki></code>  | {{cl|Internal link templates}}
 
| {{lts|ccl}}  | <code><nowiki>{{ccl|Internal link templates}}</nowiki></code> | {{ccl|Internal link templates}}
 
| {{lts|lc}}  | <code><nowiki>{{lc|Internal link templates}}</nowiki></code>  | {{lc|Internal link templates}}
 
| {{lts|lcs}}  | <code><nowiki>{{lcs|Internal link templates}}</nowiki></code> | {{lcs|Internal link templates}}
 
}}
 
 
 
== See also ==
 
* {{tl|Lps}} for {&#123;ns:Project&#125;}
 
* {{tl|Lts}} for templates
 
* {{lcs|Internal link templates}}
 
 
 
<includeonly>
 
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!----Categories below this line, please; interwikis to Wikidata---->
 
[[Category:Internal category-link templates]]
 
}}
 
</includeonly>
 

Revision as of 06:37, 2 August 2016

Lies