Template:Lts: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Omniplex
adopt improved Lx output
meta>GoldRingChip
moved usage from talk page
Line 1: Line 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>

Revision as of 17:13, 15 May 2006

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}} (= Zoophilia Wiki)
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
Template: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
Template:Lts/ {{lt|x4}} Template:X4 (edit | talk | history | links | watch | logs)
Template:Lts/ {{lts|x4}} Template:X4 (edit discuss links history)
Template:Lts/ {{lts/|x4}} Template:Lts/
Template:Lts/ {{teti|x4}} Template:Teti
Template:Lts/ {{tetl|x4}} {{x4}}
links talk edit
Template:Lts/ {{ti|x4}} Template:x4 (talk⧼dot-separator⧽links⧼dot-separator⧽edit)
Template:Lts/ {{tic|x4}} Template:x4 (talk links edit)
Template:Lts/ {{tl|x4}} {{x4}}
Template:Lts/ {{tls|x4}} {{subst:x4}}
Template:Lts/ {{tlsetl|x4}} Template:Tlsetl
Template:Lts/ {{tlt|x4}} {{x4}} (talk)
Template:Lts/ {{tnetl|x4}} Template:Tnetl
Template:Lts/ {{ttl|x4}} {{x4}} (t/l)
Template:Lts/ {{twlh|x4}} Template:x4 (links, talk)

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