Template:Lts

From PortlandWiki
Jump to navigation Jump to search

Template:Lts (edit talk links history)

[edit] [history] [purge] Documentation icon 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}} (= PortlandWiki)
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:Ltsmeta
Template:Ltsmeta
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: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}} w:Template:X4
Template:Lts/ {{tl|x4}} {{x4}}
Template:Lts/ {{tn|x4}} {{x4}}
Template:Lts/ {{tlc|x4}} {{x4}}
Template:Lts/ {{tls|x4}} Template:Tls
Template:Lts/ {{tlsetl|x4}} Template:Tlsetl
Template:Lts/ {{tlt|x4}} Template:Tlt
Template:Lts/ {{ttl|x4}} Template:Ttl
Template:Lts/ {{twlh|x4}} Template:Twlh
Template linking templates
Link Style Linked Unlinked Linked with subst: Linked including braces Linked with alternative text
Text Style {{tlg}} option -- ​nolink=yes​ ​subst=yes​ ​braceinside=yes​ ​alttext=FOO​
Normal -- {{tl}}, {{tlp}}; {{tlg}} {{tlf}} {{tls}}, {{tlsp}} {{tn}} {{tla}}
Teletype ​tt=yes​ {{tlx}} {{tld}}, {{tnull}} {{tlxs}}
Bold ​bold=yes​ {{tlb}}
Bold Teletype ​bold=yes|tt=yes​ {{tlxb}}
Italic Teletype ​italic=yes|tt=yes​ {{tlxi}}
Code ​code=yes​ {{tlc}}
NOTE: {{tlg}} is the most general, allowing any combination of the above options.

Style comparison:

  • {{tlf|Milford Haven Line|弘安源氏論議}} produces: {{Milford Haven Line|弘安源氏論議}}
  • {{tld|Milford Haven Line|弘安源氏論議}} produces: Template:Tld
  • {{tlc|Milford Haven Line|弘安源氏論議}} produces: {{Milford Haven Line|弘安源氏論議}}

For parameter description,

  • {{para|<var>name</var>|value}} renders: |name=value


The above documentation is transcluded from Template:Lts/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.