Skabelon:Tl2
{{[[:Skabelon:{{{1}}}|{{{1}}}]]}}
| <code>-styled {{tl}} that can link to sister projects. |
This is the {{tl2}} template.
{{tl2}} is similar to {{tl}}. Tl stands for Template link. {{tl2}} 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.
{{tl2}} differs from {{tl}} in that it displays with a wider, monospaced text style (like {{tlx}}) 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 {{tl|template_name}}
{{tl2 |sister=sister_id |template_name}}- to display a template from a sister project (e.g. {{tl2 |sister=V |template_name}} for Wikiversity)
{{tl2 |lang=lang_id |sister=sister_id |template_name}}- to display a template from a sister project in another language (e.g. {{tl2 |lang=fr |sister=V |template_name}} 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
- Skabelon:tl2 (backlinks redigér)
- Skabelon:tl (backlinks redigér)
- Skabelon:tlp (backlinks redigér) to produce a [t]emplate [l]ink with single [p]arameter.
- Skabelon:tlx (backlinks redigér) to produce a [t]emplate [l]ink with e[x]tended number of parameters.
- Skabelon:tlsp (backlinks redigér) to produce a [t]emplate [l]ink that's [s]ubst:ituted, with a single [p]arameter.
- Skabelon:lts (backlinks redigér)
- Skabelon:tlu (backlinks redigér), tl or tlp in any namespace.
- Skabelon:Lcs
- Skabelon:xpd (backlinks redigér) to e[xp]an[d] (i.e. demonstrate) a template in situ.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.









