Warning
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

From PsychonautWiki Archive
Revision as of 17:36, 30 December 2014 by iw>Perhelion (made code full)
Jump to navigation Jump to search

{{Tl}}

Documentation icon Documentationviewedithistory⧼Code-rev-purge-link⧽

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⧽

ParameterDescriptionDefaultStatus
2display nameparameter 1optional
3interwiki language code (can also be specified with lang=)emptyoptional
codeany value, for a sourrounding <code> tag  (like {{Tl2}})emptyoptional
inclnumeric value,
  • 0: both brackets are not a part of the link,  like {{Tl}}
  • 1: the inner brackets are part of the link  like {{T1}}
  • 2: both brackets are part of the link,  like {{T}}
0optional
parmto display templates parameters   (like {{Tlx}})
e.g."parm=&#124;1=&#124;2=&#124;code=y"
gives "|1=|2=|code=y"
emptyoptional
1template nameTloptional

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}} → {{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=&#124;1=&#124;2=&#124;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}}

See also

{{Commons:Link templates/Template links}}