|
|
(19 dazwischenliegende Versionen von 12 Benutzern werden nicht angezeigt) |
Zeile 1: |
Zeile 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>{{commonscat}} | | <includeonly><span class="plainlinksneverexpand">[[:Kategorie:{{{1|{{PAGENAME}}}}}|Kategorie:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]</span> (<small><span class="plainlinks">[{{fullurl:Kategorie:{{{1|{{PAGENAME}}}}}|action=edit}} Bearbeiten] [[:Kategorie Diskussion:{{{1|{{PAGENAME}}}}}|Diskussion]] [{{fullurl:Special:Whatlinkshere/Kategorie:{{{1|{{PAGENAME}}}}}|limit=500}} Links] [{{fullurl:Kategorie:{{{1|{{PAGENAME}}}}}|action=history}} Versionen]</span></small>)</includeonly><noinclude>{{Dokumentation|Dokumentation Interne Links}}</noinclude> |
| ==Usage==
| |
| {{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing [[Wikipedia:Category|Category]].
| |
| | |
| | |
| Example:
| |
| :<tt><nowiki>{{Lcs|Water}}</nowiki></tt>
| |
| appears as:
| |
| :<tt>{{Lcs|Water}}</tt>
| |
| == Documentation ==
| |
| [[Template:Lcs}}
| |
| is a smaller variant of
| |
| {{w2|Template:Lc|Lc}}
| |
| with pleasant output also on browsers which don't
| |
| support <tt>{{w2|interpunct|&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 {{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|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> | |