Template:Lts: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>GoldRingChip
(moved usage from talk page)
meta>Omniplex
m (rv keeping normal doctl style: complete docu in template wastes parser time)
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 20:19, 15 May 2006

Template:Lts (edit discuss links history)


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