Template:Lcs: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(→‎Comparison: hidesection)
 
(5 intermediate revisions by 2 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>  
<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]&#160;<tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=edit}} edit]&#160;[{{fullurl:Special:Whatlinkshere/Category:{{{1|{{PAGENAME}}}}}|limit=500}} links]&#160;[{{fullurl:Category:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span></includeonly><noinclude>  


{{interwikitmp-grp|!{{PAGENAME}}|{{PAGENAME}}| |{{PAGENAME}} }}
{{TOCright}}
{{TOCright}}
==Usage==
==Usage==
Line 8: Line 7:


Example:  
Example:  
:<tt><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></tt>
:<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]]
Line 19: Line 18:
support <tt>interpunct|&amp;middot;</tt>.
support <tt>interpunct|&amp;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]].
Wikipedia:Category|Category]].
Line 37: Line 36:
|-
|-
| <code><nowiki>Lcs|Interwiki utility templates</nowiki></code>
| <code><nowiki>Lcs|Interwiki utility templates</nowiki></code>
| {{Lcs|Interwiki utility templates
| Lcs|Interwiki utility templates
|-
|-
| <code><nowiki>{{Lcs</nowiki></code>
| <code><nowiki>{{Lcs</nowiki></code>
Line 49: Line 48:
* <tt>{{Lts|Lps}}</tt> for {&#123;ns:Project&#125;}
* <tt>{{Lts|Lps}}</tt> for {&#123;ns:Project&#125;}
* <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}}</nowiki></code>
| <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}}</nowiki></code>
| <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}}</nowiki></code>
| <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}}</nowiki></code>
| <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

Template:Lcs (edit links history)

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|&middot;.

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