Teamplaid:Tlt
Coltas
{{[[Template:{{{1}}}|{{{1}}}]]}} ([[Template talk:{{{1}}}|talk]])
Usage
[deasaich]The template link talk (Tlt) template is used to display a template name as a link to the template, followed by a link to its talk page.
{{Tlt|template name to display}}
displays as
- {{template name to display}} (talk)
Examples
[deasaich]Code | Result |
---|---|
|
{{web reference}} (talk) |
|
{{book reference}} (talk) |
|
|
|
|
|
See also
[deasaich]- {{Lts}} – See Lts discussion for more variants
- {{Tlc}} – Not linked, allows up to 8 parameters, displays text in
<code></code>
style - {{Tld}} – Not linked, allows up to 8 parameters, displays text in teletype text style
- {{Tlf}} – Not linked, allows up to 8 parameters, displays text in normal text style
- {{Tl}} – Template link, no parameters, displays text in normal text style
- {{Tl2}} – Template link, allows up to 3 parameters and interwiki links, displays
code style
- {{Tlp}} – Template link, allows up to 8 parameters, displays text in normal text style
- {{Tlx}} – Template link, allows up to 8 parameters and interwiki links, displays text in teletype text style
- {{Tn}} – Same as {{Tl}}, but shows the braces as part of the link
- {{Tlu}} – Like {{Tl}} / {{Tlp}} for any namespace
- {{Tlsp}} – Template link, ditto subst'ed
- {{Tlb}} – Same as {{Tl}}, but gives the template name in boldface type (this can be useful when stressing the difference between two similarly named templates)
- {{Tlxb}} – Same as {{Tlx}}, but gives the template name in boldface type (this can be useful when stressing the difference between two similarly named templates)
- {{Tltt}} and {{Tltt2}} – Template link with tooltip, with no and one parameter respectively
- {{Tlrow}} – For showing templates and their properties in a table
- {{Xpd}} – Shows live (expanded) example
- Teamplaid:Ttl(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
- Teamplaid:Ti(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
- Teamplaid:Tic(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
- Teamplaid:Cl(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
- Teamplaid:Tlt(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
- Teamplaid:Tetl(deasaich deasbaireachd ceanglaichean-lìn eachdraidh)
General-purpose formatting
[deasaich]Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
---|---|---|---|---|---|---|
Text style ↓ | ↓ {{Tlg}} options1 →
|
DEFAULT | nolink=yes | subst=yes | braceinside=yes | alttext=Foo 2=Foo |
normal | DEFAULT | {{Tlg}} 1{{Tl}} {{Tlp}} 2{{Tlu}} 3
|
{{Tlf}} 2
|
{{Tls}} {{Tlsp}} {{Tlsu}} 3
|
{{Tn}}
|
{{Tla}}
|
code
|
code=yes | {{Tl2}} {{Tlx}} {{Tlxu}} 3
|
{{Tlc}} 2{{Tld}} 2{{Tnull}}
|
{{Tlxs}}
|
N/A | |
monospace kbd |
plaincode=yes4 kbd=yes5 |
{{Tltt}} 5{{Tltt2}} 5
|
N/A | {{Tltss}} 6
| ||
bold | bold=yes | {{Tlb}}
|
N/A | |||
bold+code
|
code=yes | {{Tlxb}}
| ||||
italic+code
|
code=yes | {{Tlxi}}
| ||||
|
Other formatting templates
[deasaich]Code example | Effect | Notes |
---|---|---|
{{Tl2|Hatnote|lang=fr}} | {{Hatnote}} | Supports linking to sister projects (e.g., fr:Hatnote) |
{{Tlu|User:Ahunt/SSHFS}} | {{User:Ahunt/SSHFS}} | Supports linking to any namespace |
{{Demo|<nowiki>{{Hatnote|lang=fr|Some text}}</nowiki>}} | {{Hatnote|lang=fr|Some text}} |
Shows code and example |
{{Xpd|Hatnote|Some Hatnote text}} | "{{Hatnote|Some Hatnote text}}" gives " " [1] |
Shows code, example and a link to expand the template code |
{{Tln|Hatnote}} | Template:Hatnote | Produces a normal link to the template |
{{Elc|Template:Hatnote}} {{Elc|Template:Hatnote|Hatnote}} |
[[Template:Hatnote]] [[Template:Hatnote|Hatnote]] |
Formats wikilink, with optional piped link text and blended suffix |
{{Ml|Example|hello}} | {{#invoke:Example|hello}} | Counterpart to {{Tl}} for linking to Lua modules |
{{Mlx|Example|hello}} | {{#invoke:Example|hello}} |
Counterpart to {{Tlx}} for linking to Lua modules |
{{Para|title|<var>book title</var>}} | title=book title | Formats template parameters for display, with or without values |
{{Sclx|LASTING}} | [[w:en:WP:LASTING]] |
Takes a shortcut suffix in project namespace and displays it with brackets and the WP: alias in a <code>...</code> Tag.
|
{{Tag|ref}} {{Xtag|templatedata}} |
<ref>...</ref> <templatedata> |
Formats [X]HTML tags; can add content, choose opening, closing, or self-closing |
{{Dtl|Ping project}} | {{d:Ping project}} | Wikidata counterpart to {{Tl}} |
{{Pf|If}} {{Pf|If|{{{1}}}|true|false}} |
{{#If}} {{#If:{{{1}}}|true|false}} |
Parser function equivalent to {{Tl}} |
With utility links
[deasaich]Code example | Effect |
---|---|
{{Lt|Hatnote}} | Teamplaid:Hatnote (deasaich | deasbaireachd | eachdraidh | ceanglaichean | faire | logaichean) |
{{Lts|Hatnote}} | Teamplaid:Hatnote(deasaich deasbaireachd ceanglaichean-lìn eachdraidh) |
{{T links|Hatnote}} | Hatnote (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test) |
{{Tfd links|Hatnote}} | Template:Hatnote (edit · talk · history · links · transclusions · logs · subpages · delete) |
{{Tltt|Hatnote}} | {{Hatnote}} |
{{Tetl|Hatnote}} | {{Hatnote}} |
{{Tsetl|Hatnote}} | {{subst:Hatnote}} |
{{Ti|Hatnote}} | Teamplaid:Hatnote (deasbaireachd⧼dot-separator⧽ceanglaichean-lìn⧼dot-separator⧽deasaich) |
{{Tic|Hatnote}} | Template:Hatnote (talk links edit) |
{{Tim|Hatnote}} | m:Template:Hatnote (backlinks edit) |
{{Tiw|Hatnote}} | Teamplaid:Hatnote (ceanglaichean deasaich) |
{{Tlt|Hatnote}} | {{Hatnote}} (talk) |
{{Ttl|Hatnote}} | {{Hatnote}} (t/l) |
{{Twlh|Hatnote}} | Template:Hatnote (links, talk) |
The above documentation is transcluded from Teamplaid:Tlt/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |