Template:Lcs/doc

From Bharatpedia, an open encyclopedia
< Template:Lcs
Revision as of 13:51, 3 September 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} __NOTOC__ {{tsh|Lcs}} <!----Categories where indicated at the bottom of this page, please; interwikis to Bharatdata----> == About == Template:Lcs is a smaller variant of Lc with pleasant output also on browsers which don't support <code>&middot;</code>. Template:Lcs allows one parameter, the name of an existing category. It can be used on talk and user pages related to an exis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

About

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

Code Result
{{lcs|Category:Internal link templates}} Category:Internal link templates(edit talk links history)
{{lcs|internal link templates}} Category:Internal link templates(edit talk links history)
{{lcs}} Category:Lcs/doc(edit talk links history)

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.

Source Code Result
Template:Cl(edit talk links history) {{cl|Internal link templates}} Category:Internal link templates
Template:Ccl(edit talk links history) {{ccl|Internal link templates}} Template:Ccl
Template:Lc(edit talk links history) {{lc|Internal link templates}} Category:Internal link templates (edit | talk | history | links | watch | logs)
Template:Lcs(edit talk links history) {{lcs|Internal link templates}} Category:Internal link templates(edit talk links history)

See also

Template Example output
{{c}} Example
{{cl}} Category:Example
{{cls}} Cat:Example
Template Example output
{{cconly}} 1
{{clc}} Category:Example (1)
{{lc}} Category:Example (edit | talk | history | links | watch | logs)
{{lcs}} Category:Example(edit talk links history)