Difference between revisions of "Template:Lts/doc"

From blackwiki
Jump to navigation Jump to search
(ar)
imported>Vanisaac
m (→‎Comparison: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(15 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
{{Documentation subpage}}
 
{{Documentation subpage}}
:''Main discussion & Queries: [[w:template talk:Lts|template talk:Lts]]
+
:''Main discussion & Queries: [[w:template talk:Lts|template talk:Lts]]''
 
</noinclude>
 
</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
[[Template:Lts]] is a smaller variant of {{tlx|Lt}} with pleasant output, for use especially also on browsers which don't support <tt>&amp;middot;</tt>.
+
[[Template:Lts]] is a smaller variant of {{tlx|Lt}} with pleasant output, for use especially also on browsers which don't support <code>&amp;middot;</code>.
 
__NOTOC__
 
__NOTOC__
 
=== Usage ===
 
=== Usage ===
Line 28: Line 28:
 
{|
 
{|
 
| {{lts|Las}} || 'Lts' formatted, but for anything, <br/>&nbsp;Defaults to article space, but accepts category or template, etc. namespace prefixes too.
 
| {{lts|Las}} || 'Lts' formatted, but for anything, <br/>&nbsp;Defaults to article space, but accepts category or template, etc. namespace prefixes too.
|-
 
| {{Lth|Lth}} || for templates ''('''L'''ist '''T'''emplate w/'''History''')'' <br/>Shortened version of {Lts}
 
 
|-
 
|-
 
| {{Lts|Lts}} || for templates ''('''L'''ist '''T'''emplate '''S'''hort ["Lt"])''
 
| {{Lts|Lts}} || for templates ''('''L'''ist '''T'''emplate '''S'''hort ["Lt"])''
Line 54: Line 52:
 
=== Comparison ===
 
=== Comparison ===
 
We got a zoo of similar templates, pick what you like.
 
We got a zoo of similar templates, pick what you like.
This list is probably incomplete and intentionally
+
This list is probably incomplete and intentionally omits variants with parameters like {{Tlx|Tlx}} and the various redirects.
omits variants with parameters like {{Tlx|Tlx}} and
 
redirections like {{Tlx|Tln}}:
 
  
{|
+
{| class="wikitable sortable collapsible"
 
| '''Source''' || '''Code''' || '''Result'''
 
| '''Source''' || '''Code''' || '''Result'''
 
|-
 
|-
 
| {{Lts/|lt}}
 
| {{Lts/|lt}}
| <code><nowiki>{{lt|x4}}</nowiki></code>
+
| {{tlx|lt|x4}}
 
| {{lt|x4}}
 
| {{lt|x4}}
 
|-
 
|-
 
| {{Lts/|lts}}
 
| {{Lts/|lts}}
| <code><nowiki>{{lts|x4}}</nowiki></code>
+
| {{tlx|lts|x4}}
 
| {{lts|x4}}
 
| {{lts|x4}}
 
|-
 
|-
 
| {{Lts/|lts/}}
 
| {{Lts/|lts/}}
| <code><nowiki>{{lts/|x4}}</nowiki></code>
+
| {{tlx|lts/|x4}}
 
| {{lts/|x4}}
 
| {{lts/|x4}}
 
|-
 
|-
 
| {{Lts/|tetl}}
 
| {{Lts/|tetl}}
| <code><nowiki>{{tetl|x4}}</nowiki></code>
+
| {{tlx|tetl|x4}}
 
| {{tetl|x4}}
 
| {{tetl|x4}}
 
|-
 
|-
 
| {{Lts/|ti}}
 
| {{Lts/|ti}}
| <code><nowiki>{{ti|x4}}</nowiki></code>
+
| {{tlx|ti|x4}}
 
| {{ti|x4}}
 
| {{ti|x4}}
 
|-
 
|-
 
| {{Lts/|tic}}
 
| {{Lts/|tic}}
| <code><nowiki>{{tic|x4}}</nowiki></code>
+
| {{tlx|tic|x4}}
 
| {{tic|x4}}
 
| {{tic|x4}}
 
|-
 
|-
 
| {{Lts/|tiw}}
 
| {{Lts/|tiw}}
| <code><nowiki>{{tiw|x4}}</nowiki></code>
+
| {{tlx|tiw|x4}}
 
| {{tiw|x4}}
 
| {{tiw|x4}}
 
|-
 
|-
 
| {{Lts/|tl}}
 
| {{Lts/|tl}}
| <code><nowiki>{{tl|x4}}</nowiki></code>
+
| {{tlx|tl|x4}}
 
| {{tl|x4}}
 
| {{tl|x4}}
 
|-
 
|-
 
| {{Lts/|tn}}
 
| {{Lts/|tn}}
| <code><nowiki>{{tn|x4}}</nowiki></code>
+
| {{tlx|tn|x4}}
 
| {{tn|x4}}
 
| {{tn|x4}}
 
|-
 
|-
 
| {{Lts/|tlc}}
 
| {{Lts/|tlc}}
| {{tlc|tlc|x4}}
+
| {{tlx|tlc|x4}}
 
| {{tlc|x4}}
 
| {{tlc|x4}}
 
|-
 
|-
 
| {{Lts/|tls}}
 
| {{Lts/|tls}}
| <code><nowiki>{{tls|x4}}</nowiki></code>
+
| {{tlx|tls|x4}}
 
| {{tls|x4}}
 
| {{tls|x4}}
 
|-
 
|-
 
| {{Lts/|tlsetl}}
 
| {{Lts/|tlsetl}}
| <code><nowiki>{{tlsetl|x4}}</nowiki></code>
+
| {{tlx|tlsetl|x4}}
 
| {{tlsetl|x4}}
 
| {{tlsetl|x4}}
 
|-
 
|-
 
| {{Lts/|tlt}}
 
| {{Lts/|tlt}}
| <code><nowiki>{{tlt|x4}}</nowiki></code>
+
| {{tlx|tlt|x4}}
 
| {{tlt|x4}}
 
| {{tlt|x4}}
 
|-
 
|-
 
| {{Lts/|ttl}}
 
| {{Lts/|ttl}}
| <code><nowiki>{{ttl|x4}}</nowiki></code>
+
| {{tlx|ttl|x4}}
 
| {{ttl|x4}}
 
| {{ttl|x4}}
 
|-
 
|-
 
| {{Lts/|twlh}}
 
| {{Lts/|twlh}}
| <code><nowiki>{{twlh|x4}}</nowiki></code>
+
| {{tlx|twlh|x4}}
 
| {{twlh|x4}}
 
| {{twlh|x4}}
 
|}
 
|}
 
{{tl-nav}}
 
{{tl-nav}}
{{clear}}<includeonly>
+
{{clear}}
[[Category:Internal link templates]]
+
 
[[ar:قالب:Lts]]
+
<includeonly>{{Sandbox other||
[[hy:Կաղապար:Lts]]
+
[[Category:Pagelinks templates]]
[[uk:Шаблон:Lts]]
+
[[Category:Internal template-link templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:23, 26 April 2020

Main discussion & Queries: template talk:Lts


Template:Lts is a smaller variant of {{Lt}} with pleasant output, for use especially 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 talk links history)
{{Lts}} Template:Lts/doc(edit talk links history)

See also

Template:Las(edit talk links history) 'Lts' formatted, but for anything,
 Defaults to article space, but accepts category or template, etc. namespace prefixes too.
Template:Lts(edit talk links history) for templates (List Template Short ["Lt"])
Template:Lcs(edit talk links history) for categories
Template:Lps(edit talk links history) for {{ns:Project}} (= Blackwiki)
Template:Ltsmeta(edit talk links history) for templates copied from Meta
Template:Lts/(edit talk links history) for template lists (see below)
Template:Lx(edit talk links history) boilerplate for the Lx family
Category:Internal link templates for a comparison of this zoo see below
Template:Lps Template:Toolbar at Meta
Template:Lts Template:Toolbar at Meta
Template:Ltsmeta Template:Toolbar at Meta

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 the various redirects.

Source Code Result
links talk edit {{lt|x4}} Template:X4 (edit | talk | history | links | watch | logs)
links talk edit {{lts|x4}} Template:X4(edit talk links history)
links talk edit {{lts/|x4}} links talk edit
links talk edit {{tetl|x4}} {{x4}}
links talk edit
links talk edit {{ti|x4}} Template:x4 (talk⧼dot-separator⧽links⧼dot-separator⧽edit)
links talk edit {{tic|x4}} Template:x4 (talk links edit)
links talk edit {{tiw|x4}} Template:x4 (backlinks edit)
links talk edit {{tl|x4}} {{x4}}
links talk edit {{tn|x4}} {{x4}}
links talk edit {{tlc|x4}} {{x4}}
links talk edit {{tls|x4}} {{subst:x4}}
links talk edit {{tlsetl|x4}} Template:Tlsetl
links talk edit {{tlt|x4}} {{x4}} (talk)
links talk edit {{ttl|x4}} {{x4}} (t/l)
links talk edit {{twlh|x4}} Template:x4 (links, talk)

Template:Tl-nav