FANDOM


(created from Wikipedia template of same name (called by other templates))
 
(adjust Lts/ > Lts\)
 
Line 58: Line 58:
 
| '''Source''' || '''Code''' || '''Result'''
 
| '''Source''' || '''Code''' || '''Result'''
 
|-
 
|-
| {{Lts/|cl}}
+
| {{Lts\|cl}}
 
| <code><nowiki>{{cl|Interwiki utility templates}}</nowiki></code>
 
| <code><nowiki>{{cl|Interwiki utility templates}}</nowiki></code>
 
| {{cl|Interwiki utility templates}}
 
| {{cl|Interwiki utility templates}}
 
|-
 
|-
| {{Lts/|ccl}}
+
| {{Lts\|ccl}}
 
| <code><nowiki>{{ccl|Interwiki utility templates}}</nowiki></code>
 
| <code><nowiki>{{ccl|Interwiki utility templates}}</nowiki></code>
 
| {{ccl|Interwiki utility templates}}
 
| {{ccl|Interwiki utility templates}}
 
|-
 
|-
| {{Lts/|lc}}
+
| {{Lts\|lc}}
 
| <code><nowiki>{{lc|Interwiki utility templates}}</nowiki></code>
 
| <code><nowiki>{{lc|Interwiki utility templates}}</nowiki></code>
 
| {{lc|Interwiki utility templates}}
 
| {{lc|Interwiki utility templates}}
 
|-
 
|-
| {{Lts/|lcs}}
+
| {{Lts\|lcs}}
 
| <code><nowiki>{{lcs|Interwiki utility templates}}</nowiki></code>
 
| <code><nowiki>{{lcs|Interwiki utility templates}}</nowiki></code>
 
| {{lcs|Interwiki utility templates}}
 
| {{lcs|Interwiki utility templates}}
|}{{-}}
+
|}{{-}}<!-- Note Lts\ has been substituted fro Lts/ as Lts/ will not save on wikia due to spam filter ? -->
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:22, November 6, 2009


UsageEdit

Template:Lcs (edit talk links history) needs one parameter, the name of an existing Category.


Example:

{{Lcs|Interwiki utility templates}}

appears as:

Category:Interwiki utility templates <tt>(</tt>edit talk links history<tt>)</tt>

Documentation Edit

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

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 Edit

{{Lcs|category}} shows links for the specified category
{{Lcs}} shows links for a category wrt the {{PAGENAME}}

Example Edit

Code Result
{{Lcs|Interwiki utility templates}} Category:Interwiki utility templates (edit talk links history)
{{Lcs}} Category:Lcs (edit talk links history)

The latter shows bogus links, as long as no category Lcs exists.

See also Edit

Comparison Edit

We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits redirections:

Source Code Result
links talk edit {{cl|Interwiki utility templates}} Cat:Interwiki utility templates
links talk edit {{ccl|Interwiki utility templates}} Category:Interwiki utility templates
links talk edit {{lc|Interwiki utility templates}} Category:Interwiki utility templates (edit|talk|history|links|watch|logs)
links talk edit {{lcs|Interwiki utility templates}} Category:Interwiki utility templates (edit talk links history)

Community content is available under CC-BY-SA unless otherwise noted.