<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://www.mansun.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ATl2%2Fdoc</id>
		<title>Template:Tl2/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.mansun.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ATl2%2Fdoc"/>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:Tl2/doc&amp;action=history"/>
		<updated>2026-04-30T01:29:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://www.mansun.wiki/index.php?title=Template:Tl2/doc&amp;diff=2370&amp;oldid=prev</id>
		<title>DarkMavis: Created page with &quot;{{Documentation subpage}} &lt;!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----&gt; __NOTOC__ {{Mbox |image=alt= |text=&amp;lt;cod...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:Tl2/doc&amp;diff=2370&amp;oldid=prev"/>
				<updated>2015-07-16T10:54:58Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----&amp;gt; __NOTOC__ {{Mbox |image=&lt;a href=&quot;/index.php?title=File:Walnut.png&quot; title=&quot;File:Walnut.png&quot;&gt;alt=&lt;/a&gt; |text=&amp;lt;cod...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Mbox |image=[[File:Walnut.png|30px|link=|alt=]] |text=&amp;amp;lt;code&amp;amp;gt;-styled {{tl|tl}} that can link to sister projects.}}&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|tl2}} template.&lt;br /&gt;
&lt;br /&gt;
{{tlf|tl2}} is similar to {{tl|tl}}. '''Tl''' stands for '''T'''emplate '''l'''ink. {{tlf|tl2}} is a [[w:Macro (computer science)|macro]] [[m:Help:template|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.&lt;br /&gt;
&lt;br /&gt;
{{tlf|tl2}} differs from {{tlf|tl}} in that it displays with a wider, monospaced text style (like {{tlf|tlx}}) and also takes the named parameters {{para|sister}} and {{para|lang}} so that it may also be used to list and link templates on other English and non-English-language sister projects.&lt;br /&gt;
&lt;br /&gt;
===Related template===&lt;br /&gt;
{{tl|tlx}} displays with the same enhanced presentation and can also expand several placeholder parameters to generate a sample template call.&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
: {{tlx|tl2|''template_name''}}&lt;br /&gt;
:: equivalent to {{tlf|tl{{!}}''template_name''}}&lt;br /&gt;
&lt;br /&gt;
: {{tlx|tl2&amp;amp;nbsp;|sister{{=}}''sister_id''&amp;amp;nbsp;|''template_name''}}&lt;br /&gt;
:: to display a template from a sister project (e.g. {{tlf|tl2&amp;amp;nbsp;{{!}}sister{{=}}V&amp;amp;nbsp;{{!}}''template_name''}} for Wikiversity)&lt;br /&gt;
&lt;br /&gt;
: {{tlx|tl2&amp;amp;nbsp;|lang{{=}}''lang_id''&amp;amp;nbsp;|sister{{=}}''sister_id''&amp;amp;nbsp;|''template_name''}}&lt;br /&gt;
:: to display a template from a sister project in another language (e.g. {{tlf|tl2&amp;amp;nbsp;{{!}}lang{{=}}fr&amp;amp;nbsp;{{!}}sister{{=}}V&amp;amp;nbsp;{{!}}''template_name''}} for a template from the French Wikisource project)&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{| class=wikitable &lt;br /&gt;
 ! Code&lt;br /&gt;
 ! Result&lt;br /&gt;
|-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{tl|x0}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | {{tl|x0}}&lt;br /&gt;
|-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{tl2|x1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | {{tl2|x1}}&lt;br /&gt;
|-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{tl2|sister=M|3x}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | {{tl2|sister=M|3x}}&lt;br /&gt;
|-&lt;br /&gt;
 | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{tl2|sister=wikibooks|lang=de|WP}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 | {{tl2|sister=wikibooks|lang=de|WP}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* {{tiw|tl2}}&lt;br /&gt;
* {{tiw|tl}}&lt;br /&gt;
* {{tiw|tlp}} to produce a [t]emplate [l]ink with single [p]arameter.&lt;br /&gt;
* {{tiw|tlx}} to produce a [t]emplate [l]ink with e[x]tended number of parameters.&lt;br /&gt;
* {{tiw|tlsp}} to produce a [t]emplate [l]ink that's [[Wikipedia:Substitution|[s]ubst:]]ituted, with a single [p]arameter.&lt;br /&gt;
* {{tiw|lts}}&lt;br /&gt;
* {{tiw|tlu}}, tl or tlp in any [[Wikipedia:Namespaces|namespace]].&lt;br /&gt;
* {{lcs|Internal template-link templates}}&lt;br /&gt;
* {{tiw|xpd}} to e[xp]an[d] (i.e. demonstrate) a template ''in situ''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!----CATEGORIES BELOW THIS LINE, PLEASE:----&amp;gt;&lt;br /&gt;
[[Category:Internal template-link templates]]&lt;br /&gt;
[[Category:Interwiki link templates]]&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;!--(end #ifeq)--&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DarkMavis</name></author>	</entry>

	</feed>