Template:Tlf/doc
Appearance
This is the {{tlf}} template. It is equivalent to {{tlp}} but does not link the template name presented.
Examples
[edit source]| Markup [[:Template: | Renders as |
|---|---|
{{tlf|Template name|parameters}}
|
{{Template name|parameters}} |
{{tlf|convert}}
|
{{convert}} |
{{tlf|convert|10|m}}
|
{{convert|10|m}} |
{{tlf|Example|a|b|c|d|e|f|g|h|i}}
|
{{Example|a|b|c|d|e|f|g|h}} |
See also
[edit source]General-purpose formatting
[edit source]| Link style → | Linked | Unlinked | Linked with subst | Linked including braces | Linked with alternative text | |
|---|---|---|---|---|---|---|
| Text style ↓ | ↓ {{tlg}} options1 → | N/A |
|
|
|
|
| Normal | N/A | {{tlg}}1, 2 {{tl}} {{tlp}}2 {{tlu}}4 |
{{tlf}}2 | {{tls}} {{tlsp}} |
{{tn}} | {{tla}} |
Code
|
or
|
{{tlx}} {{tltt}} {{tltt2}} |
{{tlc}}2 {{tld}}2 {{tnull}} |
{{tlxs}} {{tltts}} {{tltts3}} {{tltss}}3 |
N/A | |
| Bold |
|
{{tlb}} | N/A | |||
Bold code
|
|
{{tlxb}} | ||||
Italic code
|
|
{{tlxi}} | ||||
Other formatting templates
[edit source]| Code example | Effect | Notes |
|---|---|---|
| {{tl2|Hatnote|lang=fr}} | {{hatnote}} |
Supports linking to sister projects (e.g., fr:Hatnote) |
| {{tlu|User:Ahunt/SSHFS}} | Template:Tlu | Supports linking to any namespace |
| {{xpd|Hatnote|Some hatnote text}} | Template:Xpd1 | Shows code, example and a link to expand the template code |
| {{para|title|<var>book title</var>}} | |title=book title |
Formats template parameters for display, with or without values |
With utility links
[edit source]| Code example | Effect |
|---|---|
| {{lts|Hatnote}} | Template:Lts |
| {{t links|Hatnote}} | Template:T links |
| {{tfd links|Hatnote}} | Template:Tfd links |
| {{tiw|Hatnote}} | Template:Tiw |
| {{tltt|Hatnote}} | Template:Tltt |
| {{tetl|Hatnote}} | Template:Tetl |
| {{tsetl|Hatnote}} | Template:Tsetl |
| {{ti|Hatnote}} | Template:Ti |
| {{tic|Hatnote}} | Template:Tic |
| {{tiw|Hatnote}} | Template:Tiw |
| {{tlt|Hatnote}} | Template:Tlt |
| {{ttl|Hatnote}} | Template:Ttl |
| {{twlh|Hatnote}} | Template:Twlh |