Template:Template links short/doc

shortcut: {{Lts}}
From wikiNonStop
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 ·.

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:Template links short/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}} (= Project)
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 (edit⧼dot-separator⧽talk⧼dot-separator⧽links⧼dot-separator⧽history) at Meta
Template:Lts (edit⧼dot-separator⧽talk⧼dot-separator⧽links⧼dot-separator⧽history) at Meta
Template:Ltsmeta (edit⧼dot-separator⧽talk⧼dot-separator⧽links⧼dot-separator⧽history) 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}} w:Template:x4
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}} {{subst:x4}}
 links talk edit
links talk edit {{tlt|x4}} {{x4}} (talk)
links talk edit {{ttl|x4}} {{x4}} (t/l)
links talk edit {{twlh|x4}} Template:x4 (links, talk)

These tables: view · talk · edit

Comparison of template-linking templates according to the styles of generated text and link produced
Text style ↓ {{tlg}} options[note 1]
to achieve text style
Link style
Linked Unlinked Linked with subst
{{tlg}} options[note 1]
to achieve link style
N/A DEFAULT nolink=1 subst=1
normal DEFAULT
code code=1
monospace mono=1[note 4] N/A
plaincode plaincode=1[note 5]
kbd kbd=1[note 6]
  1. 1.0 1.1 1.2 {{tlg}} is the most general template, allowing any combination of text style and/or link style options.
  2. 2.0 2.1 2.2 Prevents wrapping of text by placing it inside <span style="white-space:nowrap">...</span> tags.
  3. Allows links to templates in any namespace.
  4. 4.0 4.1 4.2 Displays monospaced font using <span style="font-family:monospace">...</span>.
  5. {{Template:Template links short/doc}} uses <code style="background:transparent;border:none">...</code> .
  6. {{Template:Template links short/doc}} uses ‎<kbd> tags.