Jump to content

Template:Lcs: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
Created page with "<includeonly><span class="plainlinksneverexpand">[[:Category:{{{1|{{PAGENAME}}}}}|Category:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]] <tt>(</tt><small>[{{fullurl:Category:{{{1|{{PAG..."
 
mNo edit summary
 
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;[[: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>  
 
{{documentation}}
{{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}}]]
[[Category:Internal link templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 23:25, 6 May 2011

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Template:Lcs (edit talk links history) needs one parameter, the name of an existing Category.


Example:

{{Lcs|Interwiki utility templates}}

appears as:

Category:Interwiki utility templates (edit talk links history)

Documentation

Template:Lcs is a smaller variant of Lc with pleasant output also on browsers which don't support &middot;.

Lcs allows one parameter, the name of an existing 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}} Category:Interwiki utility templates (edit talk links history)
{{Lcs}} Category:Lcs (edit talk links history)

The latter shows bogus links, as long as no category Lcs exists.

See also

Comparison

We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits redirections:

Source Code Result
Template:Cl (edit talk links history) {{cl|Interwiki utility templates}} Template:Cl
Template:Ccl (edit talk links history) {{ccl|Interwiki utility templates}} Template:Ccl
Template:Lc (edit talk links history) {{lc|Interwiki utility templates}} Template:Lc
Template:Lcs (edit talk links history) {{lcs|Interwiki utility templates}} Category:Interwiki utility templates (edit talk links history)