Template:Lcs: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
(→Comparison: hidesection) |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit | <includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit] [{{fullurl:Special:Whatlinkshere/Category:{{{1|{{PAGENAME}}}}}|limit=500}} links] [{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude> | ||
{{TOCright}} | {{TOCright}} | ||
==Usage== | ==Usage== | ||
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing | {{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing Wikipedia:Category|Category]]. | ||
Example: | Example: | ||
:<tt><nowiki> | :<tt><nowiki>Lcs|Interwiki utility templates</nowiki></tt> | ||
appears as: | appears as: | ||
:<tt>Interwiki utility templates</tt> | :<tt>Interwiki utility templates</tt> | ||
== Documentation == | == Documentation == | ||
[[Template:Lcs | [[Template:Lcs | ||
is a smaller variant of | is a smaller variant of | ||
[[Template:Lc|Lc]] | [[Template:Lc|Lc]] | ||
with pleasant output also on browsers which don't | with pleasant output also on browsers which don't | ||
support <tt> | support <tt>interpunct|&middot;</tt>. | ||
[[Template:Lcs|Lcs | [[Template:Lcs|Lcs | ||
allows one parameter, the name of an existing | allows one parameter, the name of an existing | ||
Wikipedia:Category|Category]]. | |||
It can be used on talk and user | It can be used on talk and user | ||
pages related to an existing [[WP:TPG|talk page]] | pages related to an existing [[WP:TPG|talk page]] | ||
Line 37: | Line 36: | ||
|- | |- | ||
| <code><nowiki>Lcs|Interwiki utility templates</nowiki></code> | | <code><nowiki>Lcs|Interwiki utility templates</nowiki></code> | ||
| | | Lcs|Interwiki utility templates | ||
|- | |- | ||
| <code><nowiki>{{Lcs | | <code><nowiki>{{Lcs</nowiki></code> | ||
| {{Lcs | | {{Lcs | ||
|} | |} | ||
''The latter shows bogus links, as long as no category'' {{PAGENAME}} ''exists.'' | ''The latter shows bogus links, as long as no category'' {{PAGENAME}} ''exists.'' | ||
Line 49: | Line 48: | ||
* <tt>{{Lts|Lps}}</tt> for {{ns:Project}} | * <tt>{{Lts|Lps}}</tt> for {{ns:Project}} | ||
* <tt>{{Lts|Lts}}</tt> for Templates | * <tt>{{Lts|Lts}}</tt> for Templates | ||
* {{Lcs|Internal link templates | * {{Lcs|Internal link templates | ||
<!-- | |||
=== Comparison === | === Comparison === | ||
We got a zoo of similar templates, pick what you like. | We got a zoo of similar templates, pick what you like. | ||
Line 60: | Line 60: | ||
|- | |- | ||
| {{Lts/|cl}} | | {{Lts/|cl}} | ||
| <code><nowiki>{{cl|Interwiki utility templates | | <code><nowiki>{{cl|Interwiki utility templates</nowiki></code> | ||
| {{cl|Interwiki utility templates}} | | {{cl|Interwiki utility templates}} | ||
|- | |- | ||
| {{Lts/|ccl}} | | {{Lts/|ccl}} | ||
| <code><nowiki>{{ccl|Interwiki utility templates | | <code><nowiki>{{ccl|Interwiki utility templates</nowiki></code> | ||
| {{ccl|Interwiki utility templates}} | | {{ccl|Interwiki utility templates}} | ||
|- | |- | ||
| {{Lts/|lc}} | | {{Lts/|lc}} | ||
| <code><nowiki>{{lc|Interwiki utility templates | | <code><nowiki>{{lc|Interwiki utility templates</nowiki></code> | ||
| {{lc|Interwiki utility templates}} | | {{lc|Interwiki utility templates}} | ||
|- | |- | ||
| {{Lts/|lcs}} | | {{Lts/|lcs}} | ||
| <code><nowiki>{{lcs|Interwiki utility templates | | <code><nowiki>{{lcs|Interwiki utility templates</nowiki></code> | ||
| {{lcs|Interwiki utility templates}} | | {{lcs|Interwiki utility templates}} | ||
|}{{-}} | |}{{-}} | ||
--> | |||
[[Category:Lcs]] | |||
</noinclude> | </noinclude> |
Latest revision as of 00:04, 12 October 2017
Usage
needs one parameter, the name of an existing Wikipedia:Category|Category]].
Example:
- Lcs|Interwiki utility templates
appears as:
- Interwiki utility templates
Documentation
[[Template:Lcs is a smaller variant of Lc with pleasant output also on browsers which don't support interpunct|·.
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 talk page of the category, but the linked category talk page might also not yet exist.
Usage
{{Lcs|category}}
shows links for the specified category
{{Lcs}}
shows links for a category wrt the {{PAGENAME}}
Example
Code | Result |
Lcs|Interwiki utility templates
|
Interwiki utility templates |
{{Lcs
|
{{Lcs |
The latter shows bogus links, as long as no category Lcs exists.
See also
for Categories
for {{ns:Project}}
for Templates
- {{Lcs|Internal link templates