<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/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="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATl2%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Tl2/doc&amp;action=history"/>
	<updated>2026-04-04T14:19:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Template:Tl2/doc&amp;diff=2029&amp;oldid=prev</id>
		<title>Shawndouglas: Added template to support citation documentation.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Tl2/doc&amp;diff=2029&amp;oldid=prev"/>
		<updated>2011-06-03T01:05:27Z</updated>

		<summary type="html">&lt;p&gt;Added template to support citation documentation.&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 AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This is the {{tl2|tl2}} template.&lt;br /&gt;
&lt;br /&gt;
{{tl2|tl2}} is similar to {{tl|tl}}. '''Tl''' stands for '''T'''emplate '''l'''ink. {{tl2|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;
{{tl2|tl2}} differs from {{tl|tl}} in that it displays with a wider, monospaced text style, like {{tlx|tlx}}, and also takes the named parameters 'SISTER=xx' and 'LANG=ll', so that it may also be used to ''list and link to templates on other English and non-English language sister projects''.&lt;br /&gt;
&lt;br /&gt;
=== Related template ===&lt;br /&gt;
 &lt;br /&gt;
{{tlx|tlx}} displays with the same enhanced presentation, and in addition expands several 'placeholder' parameters to generate a sample template call.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 {{Tl|template name to display}}&lt;br /&gt;
and&lt;br /&gt;
 {{Tl2|template name to display}} -- local link, just like Tl.&lt;br /&gt;
 or&lt;br /&gt;
 {{Tl2|SISTER=V:|template name to display}} -- displays a template on Wikiversity&lt;br /&gt;
 or&lt;br /&gt;
 {{Tl2|LANG=fr.|SISTER=wikisource|template name to display}} -- displays a template &lt;br /&gt;
                       on the French Wikisource sister project.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&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;
| {{[[Template:X0|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;
| &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:x1|x1]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&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;
| &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[{{{LANG|}}}M:{{ns:Template}}:3x|3x]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&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;
| &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[http://de.wikibooks.org/wiki/Vorlage:WP WP]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;!---&lt;br /&gt;
----- This is currently a fraudulent output result... the template code needs modified to work&lt;br /&gt;
----- per this plan, then this /doc file fixed up to match whatever the correct syntax actually is.&lt;br /&gt;
----- ALMOST work: &lt;br /&gt;
[[:de:wikibooks:{{ns:template}}:WP |WP]]&lt;br /&gt;
[[de:wikibooks:{{ns:template}}:WP |WP]]&lt;br /&gt;
----&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* {{tiw|tl}}&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;mdash; links and edit history of the Tl template&lt;br /&gt;
* {{tiw|tl2}} &amp;amp;nbsp;&amp;amp;mdash; links and edit history of the Tl2 template&lt;br /&gt;
* {{tiw|tlp}} &amp;amp;nbsp;&amp;amp;mdash; Template link, with single parameter&lt;br /&gt;
* {{tiw|tlx}} &amp;amp;nbsp;&amp;amp;mdash; Template link, up to three parameters&lt;br /&gt;
* {{tiw|tlsp}} &amp;amp;mdash; Template link, ditto subst'ed&lt;br /&gt;
* {{tiw|lts}} &amp;amp;nbsp;&amp;amp;mdash; see Lts discussion for more variants&lt;br /&gt;
* {{tiw|tlu}} - like {{tlx|tl}} / {{tlx|tlp}} for any namespace&lt;br /&gt;
* {{tiw|tn}} - Same as tl, but shows the braces as part of the link&lt;br /&gt;
* {{Lcs|Internal link templates}}&lt;br /&gt;
* {{tiw|evd}} - Show live example&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Internal link templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>