Jump to content

Teamplaid:Lcs

O Uicipeid


Similar templates at English sister projects [edit]
mta Meta-wiki Lcs
wpd Wikipedia Lcs
cms Commons Lcs
wbk Wikibooks Lcs
wsp Wikispecies Lcs
wvy Wikiversity Lcs

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 (edit talk links history)

Documentation

[deasaich an tùs]

Teamplaid: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.

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

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.

Comparison

[deasaich an tùs]

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)