Vorlage:Lts: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(adopt improved Lx output)
(moved usage from talk page)
Zeile 1: Zeile 1:
<span class="plainlinksneverexpand">[[:Template:{{{1|{{PAGENAME}}}}}|Template:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]&#160;<tt>(</tt><small>[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|action=edit}} edit]&#160;[[:Template talk:{{{1|{{PAGENAME}}}}}|discuss]]&#160;[{{fullurl:Special:Whatlinkshere/Template:{{{1|{{PAGENAME}}}}}|limit=500}} links]&#160;[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span><noinclude>
<span class="plainlinksneverexpand">[[:Template:{{{1|{{PAGENAME}}}}}|Template:{{ucfirst:{{{1|{{PAGENAME}}}}}}}]]&#160;<tt>(</tt><small>[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|action=edit}} edit]&#160;[[:Template talk:{{{1|{{PAGENAME}}}}}|discuss]]&#160;[{{fullurl:Special:Whatlinkshere/Template:{{{1|{{PAGENAME}}}}}|limit=500}} links]&#160;[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|action=history}} history]</small><tt>)</tt></span><noinclude>
----
----
[[Template:Lts]] is a smaller variant of [[Template:Lt]], with pleasant output also on browsers which don't support <tt>[[interpunct|&amp;middot;]]</tt>.
=== Usage ===
<code><nowiki>{{Lts|template}}</nowiki></code> shows links for the specified template.<br />
<code><nowiki>{{Lts}}</nowiki></code> shows links for a template wrt the <code><nowiki>{{PAGENAME}}</nowiki></code>.
=== Example ===
{|
| '''Code''' || '''Result'''
|-
| <code><nowiki>{{Lts|Lt}}</nowiki></code>
| {{Lts|Lt}}
|-
| <code><nowiki>{{Lts}}</nowiki></code>
| {{Lts}}
|}{{-}}
=== See also ===
<!-- intentionally no subst to reflect what Lts actually does -->
{|
| {{Lts|Lts}} || for templates
|-
| {{Lts|Lcs}} || for categories
|-
| {{Lts|Lps}} || for <code><nowiki>{{ns:Project}}</nowiki></code> (= <u>{{ns:Project}}</u>)
|-
| {{Lts|Ltsmeta}} || for templates copied from [[m:|Meta]]
|-
| {{Lts|Lts/}} || for template lists (see below)
|-
| {{Lts|Lx}} || boilerplate for the Lx family
|-
| [[:Category:Internal link templates]] || for a [[#Comparison|comparison]] of this zoo see below
|-
| colspan="2" | {{Ltsmeta|Lts}}
|}{{-}}
=== Comparison ===
We got a zoo of similar templates, pick what you like.
This list is probably incomplete and intentionally
omits variants with parameters like {{Tlx|Tlx}} and
redirections like {{Tlx|Tln}}:
{|
| '''Source''' || '''Code''' || '''Result'''
|-
| {{Lts/|lt}}
| <code><nowiki>{{lt|x4}}</nowiki></code>
| {{lt|x4}}
|-
| {{Lts/|lts}}
| <code><nowiki>{{lts|x4}}</nowiki></code>
| {{lts|x4}}
|-
| {{Lts/|lts/}}
| <code><nowiki>{{lts/|x4}}</nowiki></code>
| {{lts/|x4}}
|-
| {{Lts/|teti}}
| <code><nowiki>{{teti|x4}}</nowiki></code>
| {{teti|x4}}
|-
| {{Lts/|tetl}}
| <code><nowiki>{{tetl|x4}}</nowiki></code>
| {{tetl|x4}}
|-
| {{Lts/|ti}}
| <code><nowiki>{{ti|x4}}</nowiki></code>
| {{ti|x4}}
|-
| {{Lts/|tic}}
| <code><nowiki>{{tic|x4}}</nowiki></code>
| {{tic|x4}}
|-
| {{Lts/|tl}}
| <code><nowiki>{{tl|x4}}</nowiki></code>
| {{tl|x4}}
|-
| {{Lts/|tls}}
| <code><nowiki>{{tls|x4}}</nowiki></code>
| {{tls|x4}}
|-
| {{Lts/|tlsetl}}
| <code><nowiki>{{tlsetl|x4}}</nowiki></code>
| {{tlsetl|x4}}
|-
| {{Lts/|tlt}}
| <code><nowiki>{{tlt|x4}}</nowiki></code>
| {{tlt|x4}}
|-
| valign="top" | {{Lts/|tnetl}}
| valign="top" | <code><nowiki>{{tnetl|x4}}</nowiki></code>
| {{tnetl|x4}}
|-
| {{Lts/|ttl}}
| <code><nowiki>{{ttl|x4}}</nowiki></code>
| {{ttl|x4}}
|-
| {{Lts/|twlh}}
| <code><nowiki>{{twlh|x4}}</nowiki></code>
| {{twlh|x4}}
|}{{-}}
This [[Wikipedia:Template|Template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopaedic content.
This [[Wikipedia:Template|Template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopaedic content.
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>

Version vom 15. Mai 2006, 19:13 Uhr

Template:Lts (edit discuss links history)


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

Usage

{{Lts|template}} shows links for the specified template.
{{Lts}} shows links for a template wrt the {{PAGENAME}}.

Example

Code Result
{{Lts|Lt}} Template:Lt (edit discuss links history)
{{Lts}} Template:Lts (edit discuss links history)


See also

Template:Lts (edit discuss links history) for templates
Template:Lcs (edit discuss links history) for categories
Template:Lps (edit discuss links history) for {{ns:Project}} (= SkanWiki)
Template:Ltsmeta (edit discuss links history) for templates copied from Meta
Template:Lts/ (edit discuss links history) for template lists (see below)
Template:Lx (edit discuss links history) boilerplate for the Lx family
Category:Internal link templates for a comparison of this zoo see below
Vorlage:Ltsmeta


Comparison

We got a zoo of similar templates, pick what you like. This list is probably incomplete and intentionally omits variants with parameters like {{Tlx}} and redirections like {{Tln}}:

Source Code Result
Vorlage:Lts/ {{lt|x4}} Vorlage:X4 (Bearbeiten | Diskussion | Versionen | Links | Beobachten | Logs)
Vorlage:Lts/ {{lts|x4}} Template:X4 (edit discuss links history)
Vorlage:Lts/ {{lts/|x4}} Vorlage:Lts/
Vorlage:Lts/ {{teti|x4}} Vorlage:Teti
Vorlage:Lts/ {{tetl|x4}} Vorlage:Tetl
Vorlage:Lts/ {{ti|x4}} Vorlage:Ti
Vorlage:Lts/ {{tic|x4}} Vorlage:Tic
Vorlage:Lts/ {{tl|x4}} {{x4}}
Vorlage:Lts/ {{tls|x4}} {{subst:x4}}
Vorlage:Lts/ {{tlsetl|x4}} Vorlage:Tlsetl
Vorlage:Lts/ {{tlt|x4}} Vorlage:Tlt
Vorlage:Lts/ {{tnetl|x4}} Vorlage:Tnetl
Vorlage:Lts/ {{ttl|x4}} Vorlage:Ttl
Vorlage:Lts/ {{twlh|x4}} Vorlage:Twlh


This Template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.