Template:Lts

From wikiRoE
Jump to navigation Jump to search

Template:Lts(edit talk links history)

Template documentation


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:Lts(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
Template:Lts/ {{lt|x4}} Template:Lt
Template:Lts/ {{lts|x4}} Template:X4(edit talk links history)
Template:Lts/ {{lts/|x4}} Template:Lts/
Template:Lts/ {{tetl|x4}} Template:Tetl
Template:Lts/ {{ti|x4}} Template:Ti
Template:Lts/ {{tic|x4}} Template:Tic
Template:Lts/ {{tiw|x4}} Template:x4 (backlinks edit)
Template:Lts/ {{tl|x4}} {{x4}}
Template:Lts/ {{tn|x4}} {{x4}}
Template:Lts/ {{tlc|x4}} {{x4}}
Template:Lts/ {{tls|x4}} {{subst :x4}}
Template:Lts/ {{tlsetl|x4}} Template:Tlsetl
Template:Lts/ {{tlt|x4}} Template:Tlt
Template:Lts/ {{ttl|x4}} Template:Ttl
Template:Lts/ {{twlh|x4}} Template:Twlh

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. {{tlg|plaincode=1}} uses <code style="background:transparent;border:none">...</code> .
  6. {{tlg|kbd=1}} uses ‎<kbd> tags.