Template:Lcs: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(New page: <includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAGENAME}}}}}...)
 
(→‎Comparison: hidesection)
 
(12 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==
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing [[Wikipedia:Category|Category]].
{{Lts|{{PAGENAME}}}} needs one parameter, the name of an existing Wikipedia:Category|Category]].




Example:  
Example:  
:<tt><nowiki>{{Lcs|Interwiki utility templates}}</nowiki></tt>
:<tt><nowiki>Lcs|Interwiki utility templates</nowiki></tt>
appears as:
appears as:
:<tt>{{Lcs|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>[[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]].
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 35: Line 35:
| '''Code''' || '''Result'''
| '''Code''' || '''Result'''
|-
|-
| <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>
| {{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 48: 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 59: 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:Internal link templates|{{PAGENAME}}]]
-->
 
[[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