<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.aewiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATlc%2Fdoc</id>
	<title>Template:Tlc/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.aewiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATlc%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.aewiki.org/index.php?title=Template:Tlc/doc&amp;action=history"/>
	<updated>2026-05-06T17:03:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.aewiki.org/index.php?title=Template:Tlc/doc&amp;diff=231&amp;oldid=prev</id>
		<title>MarkusSkalprGrimsson: Created page with &quot;{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  This is the {{tlc|tlc}} template.  This page is also the documentation for {{tl|tld}} and {{tl|tlf}} that work almost exactly the same.  When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn&#039;t become a call to the template. Instead of using &lt;code&gt;&amp;lt;nowiki&gt;&amp;lt;/nowiki&gt;&lt;/code&gt; tags you can write it simpler and s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.aewiki.org/index.php?title=Template:Tlc/doc&amp;diff=231&amp;oldid=prev"/>
		<updated>2023-02-04T03:04:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  This is the {{tlc|tlc}} template.  This page is also the documentation for {{tl|tld}} and {{tl|tlf}} that work almost exactly the same.  When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn&amp;#039;t become a call to the template. Instead of using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags you can write it simpler and s...&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 AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tlc|tlc}} template.&lt;br /&gt;
&lt;br /&gt;
This page is also the documentation for {{tl|tld}} and {{tl|tlf}} that work almost exactly the same.&lt;br /&gt;
&lt;br /&gt;
When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn&amp;#039;t become a call to the template. Instead of using &amp;lt;code&amp;gt;&amp;amp;lt;nowiki&amp;gt;&amp;amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags you can write it simpler and shorter by using these templates. &lt;br /&gt;
&lt;br /&gt;
Here is how these templates look. Code to the left and actual rendering to the right:&lt;br /&gt;
&lt;br /&gt;
:{{tlc|tlc|name|parameters}} = {{tlc|name|parameters}}&lt;br /&gt;
:{{tlc|tld|name|parameters}} = {{tld|name|parameters}}&lt;br /&gt;
:{{tlc|tlf|name|parameters}} = {{tlf|name|parameters}}&lt;br /&gt;
&lt;br /&gt;
These templates work similarly to {{tl|tl}} and {{tlx|tlx}}, but they don&amp;#039;t make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use {{tl|tl}} or {{tlx|tlx}}, and then use {{tlc|tlc}}, {{tld|tld}} or {{tlf|tlf}}.&lt;br /&gt;
&lt;br /&gt;
Features of {{tlc|tlc}}, {{tld|tld}} and {{tlf|tlf}}:&lt;br /&gt;
* They show a template name and up to eight parameters.&lt;br /&gt;
* They also show empty parameters. (See examples below.)&lt;br /&gt;
* They prevent [[line wrap]]s in their output.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
Wikitables make the &amp;lt;code&amp;gt;&amp;amp;lt;code&amp;gt;&amp;amp;lt;/code&amp;gt;&amp;lt;/code&amp;gt; tags transparent, that&amp;#039;s why the &amp;quot;&amp;lt;code&amp;gt;code colouring&amp;lt;/code&amp;gt;&amp;quot; is missing in these examples. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Code&amp;lt;th&amp;gt;Result&amp;lt;th&amp;gt;Comment&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc}} &amp;lt;td&amp;gt;{{tlc}} &amp;lt;td&amp;gt;Shows its own syntax.&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc|name}} &amp;lt;td&amp;gt;{{tlc|name}} &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc|name|one}} &amp;lt;td&amp;gt;{{tlc|name|one}} &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc|name|one|two}} &amp;lt;td&amp;gt;{{tlc|name|one|two}} &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{tlc|name|a|b|c|d|e|f|g|h|i|j}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;td&amp;gt;{{tlc|name|a|b|c|d|e|f|g|h|i}} &amp;lt;td&amp;gt;Shows up to eight parameters. The rest are dropped.&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc|name|||three|four}} &amp;lt;td&amp;gt;{{tlc|name|||three|four}} &amp;lt;td&amp;gt;Also shows empty parameters.&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc|name|||three||}} &amp;lt;td&amp;gt;{{tlc|name|||three||}} &amp;lt;td&amp;gt;Even shows empty parameters that come in the end.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc|name|2=one=a|3=two=b}} &amp;lt;td&amp;gt;{{tlc|name|one=a|two=b}} &amp;lt;td&amp;gt;Equal signs is a problem, but there is a fix.&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{tlc|tlc|name|3=2=one=a|4=3=two=b}} &amp;lt;td&amp;gt;{{tlc|name|2=one=a|3=two=b}} &amp;lt;td&amp;gt;Use numbered parameters to fix it. Remember to start from 2, since the &amp;quot;name&amp;quot; is number 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have equal signs in your template parameters then it probably is simpler and clearer to code it using &amp;lt;code&amp;gt;&amp;amp;lt;nowiki&amp;gt;&amp;lt;/code&amp;gt; tags etc. Here are the codes to emulate {{tlf|tlf}}, {{tld|tld}} and {{tlc|tlc}} respectively. Code to the left and actual rendering to the right:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;lt;nowiki&amp;gt;{{name|one=a|two=b}}&amp;amp;lt;/nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = &amp;lt;nowiki&amp;gt;{{name|one=a|two=b}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;lt;tt&amp;gt;&amp;amp;lt;nowiki&amp;gt;{{name|one=a|two=b}}&amp;amp;lt;/nowiki&amp;gt;&amp;amp;lt;/tt&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{name|one=a|two=b}}&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;&amp;amp;lt;code&amp;gt;&amp;amp;lt;nowiki&amp;gt;{{name|one=a|two=b}}&amp;amp;lt;/nowiki&amp;gt;&amp;amp;lt;/code&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{name|one=a|two=b}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* {{tl|tlc}} â€“ Not linked, several parameters and text in &amp;lt;code&amp;gt;&amp;amp;lt;code&amp;gt;&amp;amp;lt;/code&amp;gt;&amp;lt;/code&amp;gt; style.&lt;br /&gt;
* {{tl|tld}} â€“ Not linked, several parameters and &amp;lt;tt&amp;gt;teletype&amp;lt;/tt&amp;gt; text style.&lt;br /&gt;
* {{tl|tlf}} â€“ Not linked, several parameters and normal text style.&lt;br /&gt;
&lt;br /&gt;
* {{tl|tl}} â€“  Template link, no parameters and normal text style.&lt;br /&gt;
* {{tl|tlx}} â€“ Template link, several parameters and interwiki links, &amp;lt;tt&amp;gt;teletype&amp;lt;/tt&amp;gt; text style.&lt;br /&gt;
* {{tl|tn}} â€“ Same as {{tlf|tl}}, but shows the braces as part of the link.&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:Typing-aid templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>MarkusSkalprGrimsson</name></author>
	</entry>
</feed>