Template:Lcs: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Fabartus
+{{commonstmp}}+usage+port to commons
Ookami (talk | contribs)
m 31 revisions imported
 
(18 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]&#160;<tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit]&#160;[[:Category talk:{{{1|{{PAGENAME}}}}}|talk]]&#160;[{{fullurl:Special:Whatlinkshere/Category:{{{1|{{PAGENAME}}}}}|limit=500}} links]&#160;[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude>{{commonscat}}
<span class="plainlinksneverexpand" style="padding-right:3px;"><!--
==Usage==
-->[[: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>}}}}}<!--
 
-->]]</span><!--
 
--><span class="plainlinks" style="font-size:85%;"><!--
Example:
    -->([{{fullurl:Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|action=edit}} edit]&#160;<!--(&#160;=nbsp)
:<tt><nowiki>{{Lcs|Water}}</nowiki></tt>
    -->[[:Category talk:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|talk]]&#160;<!--
appears as:
    -->[{{fullurl:Special:Whatlinkshere/Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|limit=500}} links]&#160;<!--
:<tt>{{Lcs|Water}}</tt>
    -->[{{fullurl:Category:{{PAGENAME:{{{1|<includeonly>{{</includeonly>PAGENAME<includeonly>}}</includeonly>}}}}}|action=history}} history]<!--
== Documentation ==
    -->)<!--
[[Template:Lcs}}
--></span><noinclude>{{Documentation}}</noinclude>
is a smaller variant of
{{w2|Template:Lc|Lc}}
with pleasant output also on browsers which don't
support <tt>{{w2|interpunct|&amp;middot;}}</tt>.
{{w2|Template:Lcs|Lcs}}
allows one parameter, the name of an existing
{{w2|Wikipedia:Category|Category}}.
It can be used on talk and user
pages related to an existing {{w2|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|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 {&#123;ns:Project&#125;}
* <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|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}}
|}{{-}}
[[Category:Internal link templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 00:56, 3 September 2020

Category:PAGENAME(edit talk links history)