Template:Template links short/doc
shortcut: {{Lts}}
This is a documentation subpage for Template:Template links short. It contains usage information, categories and other content that is not part of the original Template page. |
- 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 · talk · links · history) at Meta | |
Template:Lts (edit · talk · links · history) at Meta | |
Template:Ltsmeta (edit · talk · links · 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 |
---|---|---|
{{lt|x4}} | Template:X4 (edit | talk | history | links | watch | logs) | |
{{lts|x4}} | Template:X4(edit talk links history) | |
{{lts/|x4}} | ||
{{tetl|x4}} | {{x4}} | |
{{ti|x4}} | Template:x4 (talk · links · edit) | |
{{tic|x4}} | Template:x4 (talk links edit) | |
{{tiw|x4}} | w:Template:x4 | |
{{tl|x4}} | {{X4 }} | |
{{tn|x4}} | {{x4}} | |
{{tlc|x4}} | {{x4}}
| |
{{tls|x4}} | {{subst :x4}} | |
{{tlsetl|x4}} | {{subst:x4}} | |
{{tlt|x4}} | {{x4}} (talk) | |
{{ttl|x4}} | {{x4}} (t/l) | |
{{twlh|x4}} | Template:x4 (links, talk) |
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 |
N/A | ||
plaincode
|
plaincode=1 | |||
kbd | kbd=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.0 2.1 2.2 Prevents wrapping of text by placing it inside
<span style="white-space:nowrap">...</span>
tags. - ↑ Allows links to templates in any namespace.
- ↑ 4.0 4.1 4.2 Displays monospaced font using
<span style="font-family:monospace">...</span>
. - ↑
uses{{Template:Template links short/doc}}
<code style="background:transparent;border:none">...</code>
. - ↑
{{Template:Template links short/doc}}
uses<kbd>
tags.