Template:Category links short: Difference between revisions
Appearance
Content deleted Content added
m Remove spurious "self reference" boiler plate text |
rm #titleparts |
||
(26 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
<span class="plainlinksneverexpand" style="padding-right:3px;"><!-- |
|||
<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1}}}|{{ucfirst:Category}}:{{ucfirst:{{{1}}}}}]] (<small>[{{fullurl:Category:{{{1}}}|action=edit}} edit] [[:Category talk:{{{1}}}|talk]] [{{fullurl:Special:Whatlinkshere/Category:{{{1}}}|limit=500}} links] [{{fullurl:Category:{{{1}}}|action=history}} history] [{{fullurl:Category:{{{1}}}|action=watch}} watch]</small>)</span></includeonly><noinclude> |
|||
-->[[:Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}<!-- |
|||
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing [[Wikipedia:Category|Category]]. |
|||
-->|Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}<!-- |
|||
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude> |
|||
-->]]</span><!-- |
|||
--><span class="plainlinks" style="font-size:85%;"><!-- |
|||
-->([{{fullurl:Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|action=edit}} edit] <!--( =nbsp) |
|||
-->[[:Category talk:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|talk]] <!-- |
|||
-->[{{fullurl:Special:Whatlinkshere/Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|limit=500}} links] <!-- |
|||
-->[{{fullurl:Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|action=history}} history]<!-- |
|||
-->)<!-- |
|||
--></span><noinclude>{{Documentation}}</noinclude> |
Revision as of 21:04, 29 April 2016
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
|
|