﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://handwiki.scholarlywiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_link%2Fdoc</id>
	<title>Template:Template link/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://handwiki.scholarlywiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_link%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://handwiki.scholarlywiki.org/index.php?title=Template:Template_link/doc&amp;action=history"/>
	<updated>2026-06-24T16:54:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://handwiki.scholarlywiki.org/index.php?title=Template:Template_link/doc&amp;diff=8844&amp;oldid=prev</id>
		<title>Maintenance script: Remove internal W namespace links</title>
		<link rel="alternate" type="text/html" href="https://handwiki.scholarlywiki.org/index.php?title=Template:Template_link/doc&amp;diff=8844&amp;oldid=prev"/>
		<updated>2026-05-22T12:27:03Z</updated>

		<summary type="html">&lt;p&gt;Remove internal W namespace links&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:27, 22 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{redirect-distinguish|Template:TI|Template:Ti}}{{Template shortcut|tl|t|temp}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{redirect-distinguish|Template:TI|Template:Ti}}{{Template shortcut|tl|t|temp}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#ifeq:{{FULLPAGENAME}} | Template:Template link | {{used in system}} }}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#ifeq:{{FULLPAGENAME}} | Template:Template link | {{used in system}} }}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &#039;&#039;&#039;template link&#039;&#039;&#039; template is a simple &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[w:Macro (computer science)|&lt;/del&gt;macro&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;[[m:Help:template|template]] used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &#039;&#039;&#039;template link&#039;&#039;&#039; template is a simple macro [[m:Help:template|template]] used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that this template may be used under the name &amp;quot;tee-el&amp;quot; (tl) as well as &amp;quot;tee-one&amp;quot; (t1)— both function the same way and produce the same results. This is not true for all such visually confusing templates containing a possible 1/l mix-up:  and  are not interchangeable.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that this template may be used under the name &amp;quot;tee-el&amp;quot; (tl) as well as &amp;quot;tee-one&amp;quot; (t1)— both function the same way and produce the same results. This is not true for all such visually confusing templates containing a possible 1/l mix-up:  and  are not interchangeable.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://handwiki.scholarlywiki.org/index.php?title=Template:Template_link/doc&amp;diff=2081&amp;oldid=prev</id>
		<title>WikiHarold: Created page with &quot;{{Documentation subpage}} &lt;!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: Wikipedia:Wikidata). --&gt; {{redirect-d...&quot;</title>
		<link rel="alternate" type="text/html" href="https://handwiki.scholarlywiki.org/index.php?title=Template:Template_link/doc&amp;diff=2081&amp;oldid=prev"/>
		<updated>2022-05-18T12:32:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;). --&amp;gt; {{redirect-d...&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;!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). --&amp;gt;&lt;br /&gt;
{{redirect-distinguish|Template:TI|Template:Ti}}{{Template shortcut|tl|t|temp}}&lt;br /&gt;
{{#ifeq:{{FULLPAGENAME}} | Template:Template link | {{used in system}} }}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;template link&amp;#039;&amp;#039;&amp;#039; template is a simple [[w:Macro (computer science)|macro]] [[m:Help:template|template]] used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it. &lt;br /&gt;
&lt;br /&gt;
Note that this template may be used under the name &amp;quot;tee-el&amp;quot; (tl) as well as &amp;quot;tee-one&amp;quot; (t1)— both function the same way and produce the same results. This is not true for all such visually confusing templates containing a possible 1/l mix-up:  and  are not interchangeable.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;{{tl|Tla}}&amp;#039;&amp;#039;&amp;#039; works exactly like {{tl|tl}} with the addition of optionally displaying &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;lternative label text (link label).   &amp;#039;&amp;#039;&amp;#039;{{tl|tlg}}&amp;#039;&amp;#039;&amp;#039; can include the use of parameters in the template (as  &amp;lt;nowiki&amp;gt;{{{1}}}&amp;lt;/nowiki&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
A short example of its use is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{tl|Example}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:which generates&lt;br /&gt;
::{{tl|Example}}&lt;br /&gt;
&lt;br /&gt;
Other longer examples:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Result&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|tl|Void}}&lt;br /&gt;
| {{tl|Void}}&lt;br /&gt;
| Standard usage&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|tls|Example}}&lt;br /&gt;
| {{tls|Example}}&lt;br /&gt;
| For templates that should be [[Wikipedia:Substitution|substituted]]&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|tl2|X1}}&lt;br /&gt;
| {{tl2|X1}}&lt;br /&gt;
| This formats the link to show how it would look in code (i.e., monospace font)&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|tl2|sister{{=}}M:|3x}}&lt;br /&gt;
| &amp;lt;code&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;/code&amp;gt;&lt;br /&gt;
| Same as above, for templates on another Wikimedia project (in this example, Meta, using &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;m:&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;). See [[Help:Interwiki_linking#Prefix_codes_for_linking_to_Wikimedia_sister_projects|Interwiki codes]].&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|tl2|sister{{=}}wikibooks|lang{{=}}de:|WP}}&lt;br /&gt;
| &amp;lt;code&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;/code&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;
| For templates on another language project&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|tl|&amp;lt;nowiki&amp;gt;1==&amp;lt;/nowiki&amp;gt;)}}&lt;br /&gt;
| {{tl|1==)}}&lt;br /&gt;
| Use the format &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{tl|1=templatename}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; if the template contains template coding characters such as {{tl|1==)}} or {{tl|1=!}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template displays 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.&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;template name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;positional parameter: the template name without the namespace prefix “Template:”, which is added automatically&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-template-name&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&amp;lt;/templatedata&amp;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 a single [p]arameter.&lt;br /&gt;
* {{tiw|tlx}} to produce a [t]emplate [l]ink with an e[x]panded number of parameters.&lt;br /&gt;
* {{tiw|tlsp}} to produce a [t]emplate [l]ink that&amp;#039;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 &amp;#039;&amp;#039;in situ&amp;#039;&amp;#039;.&lt;br /&gt;
* {{tiw|tl-r}} to produce a [t]emplate [l]ink to a template [r]edirect.&lt;br /&gt;
{{Template-linking templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories go below this line, please; interwikis go to Wikidata, thank you! --&amp;gt;&lt;br /&gt;
[[Category:Internal template-link templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiHarold</name></author>
	</entry>
</feed>