Template:Category links short: Difference between revisions
Appearance
Content deleted Content added
wikitable escapes |
edited transcluded {{documentation}} template to transclude Template:Lcs/doc |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]</span> <tt>(</tt><small><span class="plainlinks">[{{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]</span></small><tt>)</tt></includeonly><noinclude> |
<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]</span> <tt>(</tt><small><span class="plainlinks">[{{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]</span></small><tt>)</tt></includeonly><noinclude> |
||
{{documentation |
{{documentation}} |
||
{{TOCright}} |
|||
==Usage== |
|||
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing [[Wikipedia:Category|Category]]. |
|||
Example: |
|||
:<tt><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></tt> |
|||
appears as: |
|||
:<tt>{{Lcs|Interwiki utility templates}}</tt> |
|||
== Documentation == |
|||
[[Template:Lcs]] |
|||
is a smaller variant of |
|||
[[Template:Lc|Lc]] |
|||
with pleasant output also on browsers which don't |
|||
support <tt>[[interpunct|&middot;]]</tt>. |
|||
[[Template:Lcs|Lcs]] |
|||
allows one parameter, the name of an existing |
|||
[[Wikipedia:Category|Category]]. |
|||
It can be used on talk and user |
|||
pages related to an existing [[WP:TPG|talk page]] |
|||
of the category, but the linked category talk page |
|||
might also not yet exist. |
|||
=== Usage === |
|||
<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|Interwiki utility templates}}</nowiki></code> |
|||
{{!}} {{Lcs|Interwiki utility templates}} |
|||
{{!}}- |
|||
{{!}} <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|cl}} |
|||
{{!}} <code><nowiki>{{cl|Interwiki utility templates}}</nowiki></code> |
|||
{{!}} {{cl|Interwiki utility templates}} |
|||
{{!}}- |
|||
{{!}} {{Lts|ccl}} |
|||
{{!}} <code><nowiki>{{ccl|Interwiki utility templates}}</nowiki></code> |
|||
{{!}} {{ccl|Interwiki utility templates}} |
|||
{{!}}- |
|||
{{!}} {{Lts|lc}} |
|||
{{!}} <code><nowiki>{{lc|Interwiki utility templates}}</nowiki></code> |
|||
{{!}} {{lc|Interwiki utility templates}} |
|||
{{!}}- |
|||
{{!}} {{Lts|lcs}} |
|||
{{!}} <code><nowiki>{{lcs|Interwiki utility templates}}</nowiki></code> |
|||
{{!}} {{lcs|Interwiki utility templates}} |
|||
{{!}}}{{-}} |
|||
}} |
|||
[[Category:Internal link templates|{{PAGENAME}}]] |
[[Category:Internal link templates|{{PAGENAME}}]] |
||
</noinclude> |
</noinclude> |
Revision as of 21:02, 17 November 2013
About
Template:Lcs is a smaller variant of Lc with pleasant output also on browsers which don't support ·
.
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}} | edit talk links history) | (
{{lcs|internal link templates}} | edit talk links history) | (
{{lcs}} | edit talk links history) | (
The latter shows bogus links, as long as no category Category links short exists.
{{lcs|Interwiki utility templates}}
produces:
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}} | Category:Internal link templates |
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}} | edit talk links history) | (
See also
|
|