
This is an unofficial archive of PsychonautWiki as of 2025-08-11T15:14:44Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.
Template:Tl: Difference between revisions
Jump to navigation
Jump to search
>PJosepherum m 1 revision: Updating |
iw>Perhelion m made code full |
||
Line 1: | Line 1: | ||
{{[[ | {{#if:{{{code|}}}|<code>|<tt>}}{{#switch:{{{incl}}}|1={|2=|{{}}[[:{{#if:{{{3|{{{lang|}}}}}}|{{{3|{{{lang}}}}}}:}}{{ns:10}}:{{#if:{{{1|}}}|{{{1}}}|Tl}}|{{#switch:{{{incl}}}|1={|2={{}}{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|Tl}}}}{{{parm|}}}{{#switch:{{{incl}}}|1=}|2=}}}}]]{{#switch:{{{incl}}}|1=}|2=|}}}}{{#if:{{{code|}}}|</code>|</tt>}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:36, 30 December 2014
{{Tl}}

This documentation is transcluded from Template:Tl/doc.
- For the Tagalog language template, see {{tgl}}
Tl stands for Template link. It creates a link to a template and surrounds it with {{
...}}
.
Usage
{{Tl |2= |3= |1= }}
⧼templatedata-doc-params⧽
Parameter | Description | Default | Status | |
---|---|---|---|---|
2 | display name | parameter 1 | optional | |
3 | interwiki language code (can also be specified with lang= ) | empty | optional | |
code | any value, for a sourrounding <code> tag (like {{Tl2}}) | empty | optional | |
incl | numeric value, | 0 | optional | |
parm | to display templates parameters (like {{Tlx}}) e.g." parm=|1=|2=|code=y "gives " |1=|2=|code=y " | empty | optional | |
1 | template name | Tl | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Examples
- {{Tl|information}} → {{information}}
- {{Tl}} → {{Tl}}
- {{Tl|coltit}} → {{coltit}}
- {{Tl|coltit|incl=0}} → {{coltit}}
- {{Tl|coltit|incl=1}} → {{coltit}}
- {{Tl|coltit|incl=2}} → {{coltit}}
- {{Tl|Coltit|coltit}} → {{coltit}}
- {{Tl|Coltit|test|en}} → {{test}}
- {{Tl|Coltit|3=de}} → {{Coltit}}
with code=y
- {{Tl|U|user|code=y|parm=|1=|2=|parameter=}} →
{{user|1=|2=|parameter=}}
- {{Tl|coltit|code=y}} →
{{coltit}}
- {{Tl|Coltit|coltit|code=y|incl=1}} →
{{coltit}}
- {{Tl|Coltit|color titling|en|code=y}} →
{{color titling}}
- <tt>{{Tl|Coltit|3=de|code=y}}</tt> →
{{Coltit}}