Difference between revisions of "Template:Lcs/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ahecht
(→‎Example: update examples)
imported>Ahecht
(→‎Comparison: update examples)
Line 29: Line 29:
 
{{Aligned table |cols=3 |class=wikitable
 
{{Aligned table |cols=3 |class=wikitable
 
  | '''Source''' | '''Code''' | '''Result'''
 
  | '''Source''' | '''Code''' | '''Result'''
  | {{lts|cl}}  | <code><nowiki>{{cl|Interwiki utility templates}}</nowiki></code>  | {{cl|Interwiki utility templates}}
+
  | {{lts|cl}}  | <code><nowiki>{{cl|Internal link templates}}</nowiki></code>  | {{cl|Internal link templates}}
  | {{lts|ccl}}  | <code><nowiki>{{ccl|Interwiki utility templates}}</nowiki></code> | {{ccl|Interwiki utility templates}}
+
  | {{lts|ccl}}  | <code><nowiki>{{ccl|Internal link templates}}</nowiki></code> | {{ccl|Internal link templates}}
  | {{lts|lc}}  | <code><nowiki>{{lc|Interwiki utility templates}}</nowiki></code>  | {{lc|Interwiki utility templates}}
+
  | {{lts|lc}}  | <code><nowiki>{{lc|Internal link templates}}</nowiki></code>  | {{lc|Internal link templates}}
  | {{lts|lcs}}  | <code><nowiki>{{lcs|Interwiki utility templates}}</nowiki></code> | {{lcs|Interwiki utility templates}}
+
  | {{lts|lcs}}  | <code><nowiki>{{lcs|Internal link templates}}</nowiki></code> | {{lcs|Internal link templates}}
 
}}
 
}}
  

Revision as of 16:17, 28 April 2016

Template:Lcs is a smaller variant of Lc with pleasant output also on browsers which don't support &middot;.

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

Script error: No such module "aligned table". The latter shows bogus links, as long as no category Lcs/doc exists.

{{lcs|Interwiki utility templates}}

produces:

Category:Interwiki utility templates(edit talk links history)

Comparison

The following list is probably incomplete and intentionally omits redirections. Script error: No such module "aligned table".

See also