<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.miranda-ng.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATc%2Fdoc</id>
	<title>Template:Tc/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.miranda-ng.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATc%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Template:Tc/doc&amp;action=history"/>
	<updated>2026-10-20T03:41:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.miranda-ng.org/index.php?title=Template:Tc/doc&amp;diff=17735&amp;oldid=prev</id>
		<title>Goraf: +Category:Formatting and function templates</title>
		<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Template:Tc/doc&amp;diff=17735&amp;oldid=prev"/>
		<updated>2015-12-02T14:50:39Z</updated>

		<summary type="html">&lt;p&gt;+Category:Formatting and function templates&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 17:50, 2 December 2015&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-l51&quot;&gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&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;includeonly&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;includeonly&amp;gt;&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;!-- Categories go here --&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;!-- Categories go here --&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; &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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Formatting and function templates]]&lt;/ins&gt;&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;/includeonly&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;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_miranda_ng_org:diff:1.41:old-17650:rev-17735:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Goraf</name></author>
	</entry>
	<entry>
		<id>https://wiki.miranda-ng.org/index.php?title=Template:Tc/doc&amp;diff=17650&amp;oldid=prev</id>
		<title>Goraf: Template:Tc/doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Template:Tc/doc&amp;diff=17650&amp;oldid=prev"/>
		<updated>2015-11-29T21:03:49Z</updated>

		<summary type="html">&lt;p&gt;Template:Tc/doc&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;
&lt;br /&gt;
This page provides documentation for {{Tl|Tc}}.&lt;br /&gt;
&lt;br /&gt;
== Purpose and naming ==&lt;br /&gt;
&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;amp;gt;&amp;amp;lt;/nowiki&amp;amp;gt;&amp;lt;/code&amp;gt; tags you can write it more simply and concisely by using the {{Tc|Tc}} template.&lt;br /&gt;
&lt;br /&gt;
This template works similarly to {{Tc|Tl}}, 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 {{Tl|Tl}}, and then use {{Tc|Tc}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Functional details ==&lt;br /&gt;
&lt;br /&gt;
* This template takes another &amp;#039;&amp;#039;template-name&amp;#039;&amp;#039; and some associated pipe-tricked (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;
* Features:&lt;br /&gt;
** shows a template name and a lot of parameters,&lt;br /&gt;
** also show empty parameters, (See examples hereafter.)&lt;br /&gt;
** prevent line wraps in their output by default. (Can be changed using the &amp;lt;code&amp;gt;linewrap=yes&amp;lt;/code&amp;gt; parameter.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
{{Tc|Tc|Template|first_parameter|second|third|fourth|...|eighth}} → {{Tc|Template|first_parameter|second|third|fourth|fifth|sixth|seventh|eighth}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
{{Todo| needs revision, adjustments}}&lt;br /&gt;
Note: Wikitables make the &amp;lt;code&amp;gt;&amp;amp;lt;code&amp;amp;gt;&amp;amp;lt;/code&amp;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;{{Tc|Tc}} &amp;lt;td&amp;gt;{{Tc}} &amp;lt;td&amp;gt;Shows its own syntax.&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{Tc|Tc|name}} &amp;lt;td&amp;gt;{{Tc|name}} &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{Tc|Tc|name|one}} &amp;lt;td&amp;gt;{{Tc|name|one}} &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{Tc|Tc|name|one|two}} &amp;lt;td&amp;gt;{{Tc|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;{{Tc|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;{{Tc|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;{{Tc|Tc|name|||three|four}} &amp;lt;td&amp;gt;{{Tc|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;{{Tc|Tc|name|||three||}} &amp;lt;td&amp;gt;{{Tc|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;{{Tc|Tc|name|one{{=}}a|two{{=}}b}} &amp;lt;td&amp;gt;{{Tc|name|one=a|two=b}} &amp;lt;td&amp;gt;The use of equal 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;{{Tc|Tc|name|one{{lb}}{{=}}{{rb}}a|two{{lb}}{{=}}{{rb}}b}} &amp;lt;td&amp;gt;{{Tc|name|one{{=}}a|two{{=}}b}} &amp;lt;td&amp;gt;Use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in place of an equal sign, so that it gets rendered properly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;{{Tc|Tc|name|{{Tc|IPA|/tʃ/}}|two}} &amp;lt;td&amp;gt;{{Tc|Tc|name|{{IPA|/tʃ/}}|two}} &amp;lt;td&amp;gt;Nested template calls also cause problems ...&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Tc|name|{{Tc|IPA|/tʃ/}}|two}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;td&amp;gt;{{Tc|Tc|name|{{Tc|IPA|/tʃ/}}|two}} &amp;lt;td&amp;gt;... but there are ways to get around this issue, also.&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Tc|name|{{((}}IPA{{!}}/tʃ/{{))}}|two}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;td&amp;gt;{{Tc|Tc|name|{{Tc|IPA|/tʃ/}}|two}} &amp;lt;td&amp;gt;... another way to do the same thing, using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{((}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{))}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to insert literal &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, respectively.&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|Tl}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Categories go here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Goraf</name></author>
	</entry>
</feed>