Vorlage:Lcs: Unterschied zwischen den Versionen

K
30 Versionen von wikivoyage:Vorlage:Lcs importiert
imported>Markhurd
(→‎Comparison: I can't see why Lts/ was used.)
K (30 Versionen von wikivoyage:Vorlage:Lcs importiert)
 
(14 dazwischenliegende Versionen von 7 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 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>
<includeonly><span class="plainlinksneverexpand">[[:Kategorie:{{{1|{{PAGENAME}}}}}|Kategorie:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]</span> (<small><span class="plainlinks">[{{fullurl:Kategorie:{{{1|{{PAGENAME}}}}}|action=edit}} Bearbeiten]&#160;[[:Kategorie Diskussion:{{{1|{{PAGENAME}}}}}|Diskussion]]&#160;[{{fullurl:Special:Whatlinkshere/Kategorie:{{{1|{{PAGENAME}}}}}|limit=500}} Links]&#160;[{{fullurl:Kategorie:{{{1|{{PAGENAME}}}}}|action=history}} Versionen]</span></small>)</includeonly><noinclude>{{Dokumentation|Dokumentation Interne Links}}</noinclude>
 
{{interwikitmp-grp|!{{PAGENAME}}|{{PAGENAME}}| |{{PAGENAME}} }}
{{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|&amp;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 {&#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|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}}]]
</noinclude>