ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Template link interwiki
{{[[:ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:{{{1}}}|{{{1}}}]]}}
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This is the {{tl2}} template.
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf is similar to {{tl}}. Tl stands for Template link. ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf is a macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.
ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf differs from ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf in that it displays with a wider, monospaced text style (like ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf) and also takes the named parameters |sister= and |lang= so that it may also be used to list and link templates on other English and non-English-language sister projects.
Related template
[ᥛᥥᥰ ᥗᥖᥴ ᥒᥝᥲ ᥒᥣᥱ]{{tlx}} displays with the same enhanced presentation and can also expand several placeholder parameters to generate a sample template call.
Usage
[ᥛᥥᥰ ᥗᥖᥴ ᥒᥝᥲ ᥒᥣᥱ]{{tl2|template_name}}- equivalent to ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf
{{tl2 |sister=sister_id |template_name}}- to display a template from a sister project (e.g. ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf for Wikiversity)
{{tl2 |lang=lang_id |sister=sister_id |template_name}}- to display a template from a sister project in another language (e.g. ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Tlf for a template from the French Wikisource project)
Examples
[ᥛᥥᥰ ᥗᥖᥴ ᥒᥝᥲ ᥒᥣᥱ]| Code | Result |
|---|---|
{{tl|x0}}
|
{{x0}} |
{{tl2|x1}}
|
{{x1}}
|
{{tl2|sister=M|3x}}
|
{{3x}}
|
{{tl2|sister=wikibooks|lang=de|WP}}
|
{{WP}}
|
See also
[ᥛᥥᥰ ᥗᥖᥴ ᥒᥝᥲ ᥒᥣᥱ]- Template:tl2 (backlinks edit)
- Template:tl (backlinks edit)
- Template:tlp (backlinks edit) to produce a [t]emplate [l]ink with single [p]arameter.
- Template:tlx (backlinks edit) to produce a [t]emplate [l]ink with e[x]tended number of parameters.
- Template:tlsp (backlinks edit) to produce a [t]emplate [l]ink that's [s]ubst:ituted, with a single [p]arameter.
- Template:lts (backlinks edit)
- Template:tlu (backlinks edit), tl or tlp in any namespace.
- ᥗᥦᥛᥰ ᥙᥣ ᥘᥥᥐᥳ:Lcs