|
|
| Line 1: |
Line 1: |
| <includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit] [[:Category talk:{{{1|{{PAGENAME}}}}}|talk]] [{{fullurl:Special:Whatlinkshere/Category:{{{1|{{PAGENAME}}}}}|limit=500}} links] [{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude>
| | <span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit] [[:Category talk:{{{1|{{PAGENAME}}}}}|talk]] [{{fullurl:Special:Whatlinkshere/Category:{{{1|{{PAGENAME}}}}}|limit=500}} links] [{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span><noinclude> |
| {{interwikitmp-grp|V=2|!{{PAGENAME}}|{{PAGENAME}}|w:Template_talk:Lcs}}
| |
|
| |
|
| ==Usage==
| |
| {{TOCright}}
| |
| {{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing {{Wpd|Wikipedia:Category|Category}}. It then displays links like Lts, save for the category vice for a template.
| |
|
| |
|
| Example:
| | ---- |
| :<tt><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></tt>
| | ====Usage==== |
| appears as:
| | <nowiki>{{</nowiki>lcs|Interwiki utility templates}} → {{lcs|Interwiki utility templates}} |
| :<tt>{{Lcs|Interwiki utility templates}}</tt>
| |
| == Documentation ==
| |
| [[Template:Lcs]]
| |
| is a smaller variant of
| |
| {{wpd|Template:Lc|Lc}} | |
| with pleasant output also on browsers which don't
| |
| support <tt>{{wpd|interpunct|&middot;}}</tt>.
| |
|
| |
| {{wpd|Template:Lcs|Lcs}}
| |
| allows one parameter, the name of an existing
| |
| {{wpd|Wikipedia:Category|Category}}.
| |
| It can be used on talk and user
| |
| pages related to an existing {{wpd|WP:TPG|talk page}}
| |
| of the category, but the linked category talk page
| |
| might also not yet exist.
| |
|
| |
|
| === Usage === | | ====See also==== |
| | * {{tl|lps}} - for project (Commons namespace) pages |
| | * {{tl|lts}} - for templates |
|
| |
|
| <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 ===
| |
| {|
| |
| | '''Code''' || '''Result'''
| |
| |-
| |
| | <code><nowiki>{{Lcs|stubs}}</nowiki></code>
| |
| | {{Lcs|stubs}}
| |
| |-
| |
| | <code><nowiki>{{Lcs}}</nowiki></code>
| |
| | {{Lcs}}
| |
| |}
| |
| ''The latter shows bogus links, as long as no category'' {{PAGENAME}} ''exists.''
| |
|
| |
| === See also ===
| |
|
| |
| * <tt>{{Lts|Lcs}}</tt> for Categories
| |
| * <tt>{{Lts|Lps}}</tt> for {{ns:Project}}
| |
| * <tt>{{Lts|Lts}}</tt> for Templates
| |
| * {{Lcs|Internal link templates}}
| |
|
| |
| === Comparison ===
| |
| We got a zoo of similar templates, pick what you like.
| |
| This list is probably incomplete and intentionally
| |
| omits redirections:
| |
|
| |
| {|
| |
| | '''Source''' || '''Code''' || '''Result'''
| |
| |-
| |
| | {{Lts/|CAT}}
| |
| | <code><nowiki>{{CAT|Internal link templates}}</nowiki></code> <br>(See Name note below)
| |
| | {{CAT|Internal link templates}}
| |
| |-
| |
| | {{Lts/|cl}}
| |
| | <code><nowiki>{{cl|stubs}}</nowiki></code>
| |
| | {{cl|stubs}}
| |
| |-
| |
| | {{Lts/|ccl}}
| |
| | <code><nowiki>{{ccl|stubs}}</nowiki></code>
| |
| | {{ccl|stubs}}
| |
| |-
| |
| | {{Lts/|lc}}
| |
| | <code><nowiki>{{lc|stubs}}</nowiki></code>
| |
| | {{lc|stubs}}
| |
| |-
| |
| | {{Lts/|lcs}}
| |
| | <code><nowiki>{{lcs|stubs}}</nowiki></code>
| |
| | {{lcs|stubs}}
| |
| |}{{-}}
| |
| ;Templates 'CAT' vs. 'Cat' :(Note: 'Cat' is also available on all sister's, but varies by prior usage to add a page by <nowiki>{{{{{1|PAGENAME}}}}}</nowiki> name to a the 'named' category, or has some other function (There are multiple deviant prior usages!). 'CAT' is a English {{Wpd|sister projects}} wiki-wide version.)
| |
| ==See also==
| |
| * [[Template:Cat see also]] — lists a group of cats (usually on a category page) to cross-link to other categories of the same parent, or some other useful relationship (image galleries, etcetera).
| |
| * [[Template:Cat also]] — Takes a list of category names, and adds the list to the page, using the first perameter as the pipetrick for the group. Very handy when building a new page related to another; one can just steal the cats off the existing page and paste them down.
| |
| [[Category:Internal link templates|{{PAGENAME}}]] | | [[Category:Internal link templates|{{PAGENAME}}]] |
| </noinclude> | | </noinclude> |
Category:Lcs (edit talk links history)
Usage
{{lcs|Interwiki utility templates}} → Category:Interwiki utility templates (edit talk links history)
See also
- {{Lps}} - for project (Commons namespace) pages
- {{Lts}} - for templates