<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3ATlp%2Fdoc</id>
	<title>Vorlage:Tlp/doc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3ATlp%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Tlp/doc&amp;action=history"/>
	<updated>2026-04-05T20:22:18Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Verzauberte Welten e.V.</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.verzauberte-welten.de/index.php?title=Vorlage:Tlp/doc&amp;diff=344&amp;oldid=prev</id>
		<title>mw&gt;Oetterer am 11. Februar 2015 um 13:02 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Tlp/doc&amp;diff=344&amp;oldid=prev"/>
		<updated>2015-02-11T13:02:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&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;
{{high-risk}}&lt;br /&gt;
 &lt;br /&gt;
This is the {{tl|tlp}} ('''template link with parameters''') 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;
: {{tlp|tlp|name|parameters}} = {{tlf|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 [[wpen: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;
 | '''Code'''                   | '''Output'''             | '''Comments'''&lt;br /&gt;
 | {{tlc|tlp}}                  | {{tlp}}                  | Shows its own syntax.&lt;br /&gt;
 | {{tlc|tlp|tl}}             | {{tlp|tl}}             |&lt;br /&gt;
 | {{tlc|tlp|tl|first}}       | {{tlp|tl|first}}       |&lt;br /&gt;
 | {{tlc|tlp|tl|first|last}}  | {{tlp|tl|first|last}}  |&lt;br /&gt;
 | {{tlc|tlp|tl|a|b|c|d|e|&amp;lt;nowiki&amp;gt;f|g|h|i|&amp;lt;/nowiki&amp;gt;j}} | {{tlp|tl|a|b|c|d|e|f|g|h|i|j}} | Shows up to ''eight'' parameters. The rest are dropped.&lt;br /&gt;
 | {{tlc|tlp|tl||three|four}} | {{tlp|tl||three|four}} | Also shows empty parameters.&lt;br /&gt;
 | {{tlc|tlp|tl||three|}}     | {{tlp|tl||three|}}     | Even shows empty parameters that come at the end.&lt;br /&gt;
&lt;br /&gt;
 |row9style=color:red;&lt;br /&gt;
 | {{tlc|tlp|tl|3=first=a|4=last=b}}&lt;br /&gt;
 | {{tlp|tl|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|tl|3=2=first=a|4=3=last=b}}&lt;br /&gt;
 | {{tlp|tl|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 ''all'' subsequent parameters after a numbered parameter ''must also'' be numbered.&lt;br /&gt;
&lt;br /&gt;
 | {{tlc|tlp|tl|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|tl|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|tl|3=2=1=a|4=3=2=b}}&lt;br /&gt;
 | {{tlp|tl|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|tl|3=2=1=a|4=last&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;b}}&lt;br /&gt;
 | {{tlp|tl|2=1=a|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, '''all''' subsequent parameters after a numbered parameter ''must also'' be numbered...&lt;br /&gt;
&lt;br /&gt;
 | {{tlc|tlp|tl|3=2=1=a|4=3=last=b}}&lt;br /&gt;
 | {{tlp|tl|2=1=a|3=last=b}}&lt;br /&gt;
 | ... but that'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;&lt;br /&gt;
{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Internal link templates]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>mw&gt;Oetterer</name></author>
	</entry>
</feed>