<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hokutonoken.wiki/en/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://hokutonoken.wiki/en/index.php?action=history&amp;feed=atom&amp;title=Template%3ATlc%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://hokutonoken.wiki/en/index.php?title=Template:Tlc/doc&amp;action=history"/>
	<updated>2026-04-12T03:30:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://hokutonoken.wiki/en/index.php?title=Template:Tlc/doc&amp;diff=6941&amp;oldid=prev</id>
		<title>SirRandomage: new</title>
		<link rel="alternate" type="text/html" href="https://hokutonoken.wiki/en/index.php?title=Template:Tlc/doc&amp;diff=6941&amp;oldid=prev"/>
		<updated>2010-05-10T14:46:25Z</updated>

		<summary type="html">&lt;p&gt;new&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 &amp;#039;&amp;#039;&amp;#039;{{tlc|tlc}}&amp;#039;&amp;#039;&amp;#039; template.&lt;br /&gt;
&lt;br /&gt;
This page also provides the full documentation for the templates &amp;#039;&amp;#039;&amp;#039;{{tlx|tld}}&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;{{tlx|tlf}}&amp;#039;&amp;#039;&amp;#039;, which work almost exactly identically.&lt;br /&gt;
&lt;br /&gt;
== Purpose and naming ==&lt;br /&gt;
When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn&amp;#039;t become an actual 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 more simply and concisely by using the {{tlc|tlc}}, {{tlc|tld}}, or {{tlc|tlf}} templates.&lt;br /&gt;
&lt;br /&gt;
These templates work similarly to {{tlc|tl}} and {{tlc|tlx}}, but 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 they can decrease readability. So on the first occurrence of a template name use {{tlx|tl}} or {{tlx|tlx}}, and then use {{tlc|tlc}}, {{tlc|tld}} or {{tlc|tlf}} thereafter.&lt;br /&gt;
 &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Template&lt;br /&gt;
! style=&amp;quot;width:15em;&amp;quot;|[[Wikt:mnemonic|Mnemonic]]&lt;br /&gt;
! Format differentiation&lt;br /&gt;
|-&lt;br /&gt;
| {{tlc|tlc}}&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;emplate &amp;#039;&amp;#039;&amp;#039;l&amp;#039;&amp;#039;&amp;#039;ink &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;ode&lt;br /&gt;
| Uses the &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;&amp;lt;/code&amp;gt; tags meant for showing programming code.&lt;br /&gt;
|-&lt;br /&gt;
| {{tlc|tld}}&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;emplate &amp;#039;&amp;#039;&amp;#039;l&amp;#039;&amp;#039;&amp;#039;ink &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039;ialup-host&lt;br /&gt;
| Uses the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;tt&amp;gt;...&amp;lt;/tt&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx|tlx}}.&lt;br /&gt;
|-&lt;br /&gt;
| {{tlc|tlf}}&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;emplate &amp;#039;&amp;#039;&amp;#039;l&amp;#039;&amp;#039;&amp;#039;ink &amp;#039;&amp;#039;&amp;#039;f&amp;#039;&amp;#039;&amp;#039;ormat-normal&lt;br /&gt;
| Uses proportional-spaced font as is normal for regular text rather than a monospace font as typically used with programming code. Essentially the non-linking equivalent of {{tlx|tlp}}.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The three names were based on {{tlx|tl}} &amp;#039;&amp;#039;&amp;#039;t&amp;#039;&amp;#039;&amp;#039;emplate &amp;#039;&amp;#039;&amp;#039;l&amp;#039;&amp;#039;&amp;#039;ink&amp;#039;, despite the fact that, unlike the actual {{tlc|tl}} template, these three don&amp;#039;t include an actual link. The mnemonics for {{tlc|tld}} and {{tlc|tlf}} were invented after the fact, since the template creator used the single letters still available rather than the preferred {{tlc|tlt}} (using &amp;lt;nowiki&amp;gt;&amp;lt;tt&amp;gt;&amp;lt;/nowiki&amp;gt;) and {{tlc|tln}} (using &amp;quot;normal&amp;quot;, non-coded text style) monikers.&lt;br /&gt;
&lt;br /&gt;
===Basic operation===&lt;br /&gt;
Here is how these templates look. Code is to the left; 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;
===Use with editprotected templates===&lt;br /&gt;
Most Wikipedia users and even editors will have little or no need for use (or knowledge) of these templates. You will find them of more use if you are a writer or documenter of templates. Hoever, editors may be pointed here when attempting to deal with edit requests on pages which have been [[Wikipedia:Protection policy|protected]] in some way.&lt;br /&gt;
&lt;br /&gt;
Pages which have been protected can&amp;#039;t be edited by every user, but would-be editors can request specific changes on the corresponding [[WP:Talk page|Discussion page]]. An editor requesting a change to a semi-protected page, for example, would add the {{tl|editsemiprotected}} template, followed by their request, to the Talk page. The {{tlc|editsemiprotected}} template expands to a texty notice which includes the instruction, &amp;quot;Replace the {{tlc|editsemiprotected}} template with {{tlc|tlf|editsemiprotected}} when the request has been accepted or rejected.&amp;quot; An empowered editor acting on the request would then change the template per this instruction.&lt;br /&gt;
&lt;br /&gt;
The desired effect is to replace the {{tlc|editsemiprotected}} template (with its big, eye-catching box of information) by the &amp;#039;&amp;#039;name&amp;#039;&amp;#039; of the template, merely showing that the template had been there, and acted upon. The use of the {{tlc|tlf}} template means that the template should appear in a normal, proportional font-face, as in &amp;quot;{{tlf|editsemiprotected}}&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Documentation==&lt;br /&gt;
===Functional details===&lt;br /&gt;
* This template takes another &amp;#039;&amp;#039;template-name&amp;#039;&amp;#039; and some associated [[Help:Pipe trick|pipe-tricked]] [[m:Parameter#Parameters|(numbered) parameters]] (or &amp;#039;pass parameters&amp;#039;), and displays them as an &amp;#039;example demonstration&amp;#039; of how the &amp;#039;&amp;#039;template-name&amp;#039;&amp;#039; template could be coded, literally. Its primary use is in instruction and documentation.&lt;br /&gt;
*Specifics here??? &amp;lt;!-- Coding details, other parameters (SUBST?), other notes? Cf. [[Template:Tlx]] --&amp;gt;&lt;br /&gt;
*Features of {{tlc|tlc}}, {{tlc|tld}} and {{tlc|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;
===Usage===&lt;br /&gt;
{{tlc|Tlc|Template|first_parameter|second|third|fourth|...|eighth}} → {{Tlc|Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}&lt;br /&gt;
&lt;br /&gt;
{{tlc|Tld|Template|first_parameter|second|third|fourth|...|eighth}} → {{Tld|Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}&lt;br /&gt;
&lt;br /&gt;
{{tlc|Tlf|Template|first_parameter|second|third|fourth|...|eighth}} → {{Tlf|Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
Note: 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, unfortunately, so 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|3=one=a|4=two=b}} &amp;lt;td&amp;gt;{{tlc|name|one=a|two=b}} &amp;lt;td&amp;gt;The use of equals signs is a problem, but there is a fix; see next row.&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 the problem with equals signs. 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;
* &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Exceptions:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; If the intended template lists numerous/keyword parameters, then perhaps this template should really &amp;#039;&amp;#039;not&amp;#039;&amp;#039; be used, and just hardcode the usage with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;lt;code&amp;amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, for example: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;lt;code&amp;amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;{{Anytemplate|arg1=23|size=250px|&amp;lt;/nowiki&amp;gt;&amp;lt;var&amp;gt;other parameters...&amp;lt;/var&amp;gt;&amp;lt;nowiki&amp;gt;}}&amp;amp;lt;/nowiki&amp;amp;gt;&amp;amp;lt;/code&amp;amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.  If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;...&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you have equals 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 {{tlc|tlf}}, {{tlc|tld}} and {{tlc|tlc}} respectively. Code is 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;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>SirRandomage</name></author>
	</entry>
</feed>