Template:Tlf/doc: Difference between revisions
Template page
More actions
m +link |
m syntaxhighlight lang="wikitext" |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
This is the {{tlf|tlf}} template. | This is the {{tlf|tlf}} template. | ||
| Line 5: | Line 6: | ||
But here is a short example: | But here is a short example: | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{tlf|template name|parameters}} | {{tlf|template name|parameters}} | ||
</ | </syntaxhighlight> | ||
Renders like this: | Renders like this: | ||
:{{tlf|template name|parameters}} | :{{tlf|template name|parameters}} | ||
== | == {{int:Seealso}} == | ||
{{Template names}} | |||
<includeonly> | {{Tl-nav}} | ||
[[Category:Typing-aid templates | <includeonly>{{Sandbox other|| | ||
</includeonly> | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:Typing-aid templates{{#translation:}}]] | |||
[[Category:Internal template-link templates{{#translation:}}]] | |||
}}</includeonly> | |||
Latest revision as of 19:45, 8 June 2023
This is the {{tlf}} template.
This template works almost exactly like {{tlc}}, see full documentation there.
But here is a short example:
{{tlf|template name|parameters}}
Renders like this:
- {{template name|parameters}}
See also
- {{Tlc}} –
{{Example}}– Not linked, several parameters and text in<code></code>style. - {{Tld}} – {{Example}} – Template link, several parameters and teletype text style[Please clarify – October 2024].
- {{Tle}} – {{ Tle | Example }} – Linked or not, expanded parameter description
- {{Tlf}} – {{Example}} – Not linked, several parameters and normal text style.
- {{Tl}} – {{Example}} – Linked, no parameters or simple ones[Please clarify – October 2024], and teletype text style[Please clarify – October 2024].
- {{Tlx}} – {{Example}} – Template link, several parameters and normal text style.
- {{Tlp}} – {{Example}} – Template link, several non-blank parameters and normal text style.
- {{Tlu}} – {{Example}} – Link to arbitrary other namespace.
- with subst
- Template:Tls – {{subst:template}}
- Template:Tlsx –
{{subst:template}} - Template:Tlsp – {{subst:template}}
For more see: Commons:Link templates