<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_link_with_parameters%2Fdoc</id>
	<title>Template:Template link with parameters/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_link_with_parameters%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Template_link_with_parameters/doc&amp;action=history"/>
	<updated>2026-04-07T23:08:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Template_link_with_parameters/doc&amp;diff=11795&amp;oldid=prev</id>
		<title>Caleb Cooper at 11:45, 16 October 2020</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Template_link_with_parameters/doc&amp;diff=11795&amp;oldid=prev"/>
		<updated>2020-10-16T11:45:46Z</updated>

		<summary type="html">&lt;p&gt;&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 11:45, 16 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;{{Documentation subpage}}&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;{{Documentation subpage}}&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;&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&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;&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&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;{{high-use&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| 69435 &lt;/del&gt;}}&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;{{high-use}}&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;{{template shortcut|tlp}}&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;{{template shortcut|tlp}}&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;This is the &#039;&#039;&#039;template link with parameters&#039;&#039;&#039; (or {{tlp|tlp}}) template.&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;This is the &#039;&#039;&#039;template link with parameters&#039;&#039;&#039; (or {{tlp|tlp}}) template.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Template_link_with_parameters/doc&amp;diff=11794&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Documentation subpage}} &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt; {{high-use| 69435...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Template_link_with_parameters/doc&amp;diff=11794&amp;oldid=prev"/>
		<updated>2020-10-16T11:45:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see &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; {{high-use| 69435...&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 place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{high-use| 69435 }}&lt;br /&gt;
{{template shortcut|tlp}}&lt;br /&gt;
This is the &amp;#039;&amp;#039;&amp;#039;template link with parameters&amp;#039;&amp;#039;&amp;#039; (or {{tlp|tlp}}) template.&lt;br /&gt;
 &lt;br /&gt;
It can be used in documentation and talk page discussions to show how a template name would be used in code.&lt;br /&gt;
 &lt;br /&gt;
Here is how this template looks. Code to the left and actual rendering to the right:&lt;br /&gt;
 &lt;br /&gt;
: {{tlc|tlp|name|parameters}} = {{tlp|name|parameters}}&lt;br /&gt;
 &lt;br /&gt;
Features of {{tlp|tlp}}:&lt;br /&gt;
* It shows a template name with a link to that template.&lt;br /&gt;
* It shows up to eight parameters.&lt;br /&gt;
* It also shows empty parameters. (See examples below.)&lt;br /&gt;
* It prevents [[line wrap]]s in its output.&lt;br /&gt;
* It uses normal text style. ({{tlx|tlx}}, for instance, uses {{tag|code}} text style.)&lt;br /&gt;
 &lt;br /&gt;
This template belongs to a whole family of similar templates. See the [[#See also|see also]] section below for some of them. For instance, when writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability&amp;amp;nbsp;– i.e. on the first occurrence of a template name, use {{tl|tl}}, {{tlp|tlp}} or {{Tlx|Tlx}} and thereafter use {{tlf|tlf}}, {{tlc|tlc}} or {{tld|tld}}.&lt;br /&gt;
 &lt;br /&gt;
==Examples==&lt;br /&gt;
{{Aligned table |cols=3 |class=wikitable&lt;br /&gt;
 | &amp;#039;&amp;#039;&amp;#039;Code&amp;#039;&amp;#039;&amp;#039;                   | &amp;#039;&amp;#039;&amp;#039;Output&amp;#039;&amp;#039;&amp;#039;             | &amp;#039;&amp;#039;&amp;#039;Comments&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 | {{tlc|tlp}}                  | {{tlp}}                  | Shows its own syntax.&lt;br /&gt;
 | {{tlc|tlp|name}}             | {{tlp|name}}             |&lt;br /&gt;
 | {{tlc|tlp|name|first}}       | {{tlp|name|first}}       |&lt;br /&gt;
 | {{tlc|tlp|name|first|last}}  | {{tlp|name|first|last}}  |&lt;br /&gt;
 | {{tlc|tlp|name|a|b|c|d|e|&amp;lt;nowiki&amp;gt;f|g|h|i|&amp;lt;/nowiki&amp;gt;j}} | {{tlp|name|a|b|c|d|e|f|g|h|i|j}} | Shows up to &amp;#039;&amp;#039;eight&amp;#039;&amp;#039; parameters. The rest are dropped.&lt;br /&gt;
 | {{tlc|tlp|name||three|four}} | {{tlp|name||three|four}} | Also shows empty parameters.&lt;br /&gt;
 | {{tlc|tlp|name||three|}}     | {{tlp|name||three|}}     | Even shows empty parameters that come at the end.&lt;br /&gt;
&lt;br /&gt;
 |row9style=color:red;&lt;br /&gt;
 | {{tlc|tlp|name|3=first=a|4=last=b}}&lt;br /&gt;
 | {{tlp|name|first=a|last=b}}&lt;br /&gt;
 | Equal signs are a problem, but there are a couple ways to fix:&lt;br /&gt;
&lt;br /&gt;
 | {{tlc|tlp|name|3=2=first=a|4=3=last=b}}&lt;br /&gt;
 | {{tlp|name|2=first=a|3=last=b}}&lt;br /&gt;
 | Use numbered parameters to fix it. Here, parameter &amp;quot;{{para|2}}&amp;quot; is assigned the string &amp;quot;first{{=}}a&amp;quot;. Start with #2, since &amp;quot;name&amp;quot; is already in the &amp;quot;{{para|1}}&amp;quot; slot. Note that &amp;#039;&amp;#039;all&amp;#039;&amp;#039; subsequent parameters after a numbered parameter &amp;#039;&amp;#039;must also&amp;#039;&amp;#039; be numbered.&lt;br /&gt;
&lt;br /&gt;
 | {{tlc|tlp|name|3=first&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;a|4=last&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;b}}&lt;br /&gt;
 | {{tlp|name|first{{=}}a|last{{=}}b}}&lt;br /&gt;
 | Or, simply use, &amp;quot;&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;&amp;quot;, the equal-sign template, to &amp;quot;escape&amp;quot; the symbol.&lt;br /&gt;
&lt;br /&gt;
 | {{tlc|tlp|name|3=2=1=a|4=3=2=b}}&lt;br /&gt;
 | {{tlp|name|2=1=a|3=2=b}}&lt;br /&gt;
 | Both techniques also work with numbered positional parameters (e.g.: &amp;quot;{{para|1}}&amp;quot;, &amp;quot;{{para|2}}&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
 |row13style=color:red;&lt;br /&gt;
 | {{tlc|tlp|name|3=2=1=a|4=last&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;b}}&lt;br /&gt;
 | {{tlp|name|&amp;lt;!--2=1=a|--&amp;gt;last{{=}}b}}&lt;br /&gt;
 | The named parameter (&amp;quot;{{para|last}}&amp;quot;) clobbered the prior one (&amp;quot;{{para|2}}&amp;quot;).  Again, &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; subsequent parameters after a numbered parameter &amp;#039;&amp;#039;must also&amp;#039;&amp;#039; be numbered...&lt;br /&gt;
&lt;br /&gt;
 | {{tlc|tlp|name|3=2=1=a|4=3=last=b}}&lt;br /&gt;
 | {{tlp|name|2=1=a|3=last=b}}&lt;br /&gt;
 | ... but that&amp;#039;s easy to fix, by adding the position number (&amp;quot;{{para|3}}&amp;quot;) to the last parameter.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&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 below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Internal template-link templates]]&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>