<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://motan.shrubbyf.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AT%2Fdoc</id>
	<title>Template:T/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://motan.shrubbyf.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AT%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://motan.shrubbyf.org/index.php?title=Template:T/doc&amp;action=history"/>
	<updated>2026-06-06T06:47:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://motan.shrubbyf.org/index.php?title=Template:T/doc&amp;diff=24&amp;oldid=prev</id>
		<title>Magic sysop at 06:18, 8 April 2025</title>
		<link rel="alternate" type="text/html" href="https://motan.shrubbyf.org/index.php?title=Template:T/doc&amp;diff=24&amp;oldid=prev"/>
		<updated>2025-04-08T06:18:11Z</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 06:18, 8 April 2025&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-l1&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 colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&amp;lt;noinclude&amp;gt;{{Documentation subpage}}&amp;lt;/noinclude&amp;gt;&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;== Description ==&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;== Description ==&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 a template link with a variable number of example parameters (0–30), which can be used to show example inputs.&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 a template link with a variable number of example parameters (0–30), which can be used to show example inputs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Magic sysop</name></author>
	</entry>
	<entry>
		<id>https://motan.shrubbyf.org/index.php?title=Template:T/doc&amp;diff=23&amp;oldid=prev</id>
		<title>Magic sysop: Created page with &quot;== Description == This is a template link with a variable number of example parameters (0–30), which can be used to show example inputs. == Parameters == ;First parameter :The link to the template. Defaults to the page name (current page name: &#039;&#039;&#039;{{PAGENAME}}&#039;&#039;&#039;) : ;2nd to 31st parameter :The parameters of the demo template. : :To add &#039;&#039;named parameters&#039;&#039;, example &lt;code&gt;&lt;nowiki&gt;{{t|1st parameter|2nd parameter|text=3rd parameter}}&lt;/nowiki&gt;&lt;/code&gt;, follow these steps: :#...&quot;</title>
		<link rel="alternate" type="text/html" href="https://motan.shrubbyf.org/index.php?title=Template:T/doc&amp;diff=23&amp;oldid=prev"/>
		<updated>2025-04-08T06:17:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Description == This is a template link with a variable number of example parameters (0–30), which can be used to show example inputs. == Parameters == ;First parameter :The link to the template. Defaults to the page name (current page name: &amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039;) : ;2nd to 31st parameter :The parameters of the demo template. : :To add &amp;#039;&amp;#039;named parameters&amp;#039;&amp;#039;, example &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|1st parameter|2nd parameter|text=3rd parameter}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, follow these steps: :#...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Description ==&lt;br /&gt;
This is a template link with a variable number of example parameters (0–30), which can be used to show example inputs.&lt;br /&gt;
== Parameters ==&lt;br /&gt;
;First parameter&lt;br /&gt;
:The link to the template. Defaults to the page name (current page name: &amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
:&lt;br /&gt;
;2nd to 31st parameter&lt;br /&gt;
:The parameters of the demo template.&lt;br /&gt;
:&lt;br /&gt;
:To add &amp;#039;&amp;#039;named parameters&amp;#039;&amp;#039;, example &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|1st parameter|2nd parameter|text=3rd parameter}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, follow these steps:&lt;br /&gt;
:# Write the parameter normally. Example: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|1st parameter|2nd parameter|text=3rd parameter}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
:# Then, count how many parameters you have added, so &amp;lt;code&amp;gt;{&amp;lt;nowiki/&amp;gt;{t|&amp;#039;&amp;#039;t&amp;#039;&amp;#039;|&amp;#039;&amp;#039;1st parameter&amp;#039;&amp;#039;|&amp;#039;&amp;#039;2nd parameter&amp;#039;&amp;#039;|&amp;#039;&amp;#039;&amp;#039;text=3rd parameter&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;. &amp;lt;br/&amp;gt; On this example, there are &amp;#039;&amp;#039;&amp;#039;4&amp;#039;&amp;#039;&amp;#039; parameters, so prefix &amp;lt;code&amp;gt;4=&amp;lt;/code&amp;gt; on the {{t|t}} template.&lt;br /&gt;
:# So, the code is &amp;lt;code&amp;gt;{&amp;lt;nowiki/&amp;gt;{t|t|1st parameter|2nd parameter|&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;4=&amp;#039;&amp;#039;&amp;#039;text=3rd parameter&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;, which results in {{t|t|1st parameter|2nd parameter|4=text=3rd parameter}}.&lt;br /&gt;
:&lt;br /&gt;
:Note: Adding named parameters will force you to always prefix the unnamed parameter:&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|1st parameter|2nd parameter|4=3=3rd parameter|4th parameter}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will &amp;#039;&amp;#039;&amp;#039;not work&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|1st parameter|2nd parameter|4=3=3rd parameter|5=4th parameter}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;&amp;#039;will work&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
----&lt;br /&gt;
The following will only work after all the parameters of the demo template is placed.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Wrong&amp;#039;&amp;#039;&amp;#039;: &amp;lt;nowiki&amp;gt;{{t|t|style=code|&amp;lt;message&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Right&amp;#039;&amp;#039;&amp;#039;: &amp;lt;nowiki&amp;gt;{{t|t|&amp;lt;message&amp;gt;|style=code}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Style (&amp;lt;code&amp;gt;style=&amp;lt;/code&amp;gt;)&lt;br /&gt;
:The style of the {{t|t}} template. Has 3 styles:&lt;br /&gt;
:* (none) - encloses the {{t|t}} template with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:* &amp;lt;code&amp;gt;plain&amp;lt;/code&amp;gt; - encloses the {{t|t}} template with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:* &amp;lt;code&amp;gt;code&amp;lt;/code&amp;gt; - encloses the {{t|t}} template with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and adds styling to the code element.&lt;br /&gt;
:* &amp;lt;code&amp;gt;pre&amp;lt;/code&amp;gt; - encloses the {{t|}} template with a HTML &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tag.&lt;br /&gt;
:&lt;br /&gt;
;Prefix (&amp;lt;code&amp;gt;prefix=&amp;lt;/code&amp;gt;)&lt;br /&gt;
:A prefix &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the template link, useful when instructing the user to add &amp;lt;code&amp;gt;subst&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;safesubst&amp;lt;/code&amp;gt;, or something similar. The output will be similar to: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;prefix:[[template link]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:Note: This &amp;#039;&amp;#039;&amp;#039;does not&amp;#039;&amp;#039;&amp;#039; add a prefix to the link itself. Use &amp;lt;code&amp;gt;linkprefix&amp;lt;/code&amp;gt; instead as listed below.&lt;br /&gt;
:&lt;br /&gt;
;Link Prefix (&amp;lt;code&amp;gt;linkprefix=&amp;lt;/code&amp;gt;)&lt;br /&gt;
:A prefix &amp;#039;&amp;#039;added to&amp;#039;&amp;#039; the template link, for linking to other languages or wikis. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[linkprefix:template link]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:Note: This adds the prefix to the link itself. To add a prefix not included on the link, see above.&lt;br /&gt;
:&lt;br /&gt;
;Block Mode (&amp;lt;code&amp;gt;block=&amp;lt;/code&amp;gt;)&lt;br /&gt;
:Makes the template styled as a block template, to aid in readablity. Combine with &amp;lt;code&amp;gt;style=pre&amp;lt;/code&amp;gt; to get the best results.&lt;br /&gt;
&lt;br /&gt;
=== Parameter limit ===&lt;br /&gt;
This template has a parameter limit of 30 items. If you exceed that limit, this will show up:&lt;br /&gt;
:&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;Template parameter limit reached! ([[Template:T#Parameter limit|help]])&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can remove this warning and add more parameter checks to the template, however this might take some time depending on how many parameters you want.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Basic ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Syntax&lt;br /&gt;
!Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t}} (uses the page name)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|Item1|Item2|Item3|Item4|Item5|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|Item1|Item2|Item3|Item4|Item5|...}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|Item1|Item2|Item3|Item4|Item5|Item6|Item7|Item8|Item9|Item10|Item11|Item12|Item13|Item14|Item15|Item16|Item17|Item18|Item19|Item20|Item21|Item22|Item23|Item24|Item25|Item26|Item27|Item28|Item29|Item30}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|Item1|Item2|Item3|Item4|Item5|Item6|Item7|Item8|Item9|Item10|Item11|Item12|Item13|Item14|Item15|Item16|Item17|Item18|Item19|Item20|Item21|Item22|Item23|Item24|Item25|Item26|Item27|Item28|Item29|Item30}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|Item1|Item2|Item3|Item4|Item5|Item6|Item7|Item8|Item9|Item10|Item11|Item12|Item13|Item14|Item15|Item16|Item17|Item18|Item19|Item20|Item21|Item22|Item23|Item24|Item25|Item26|Item27|Item28|Item29|Item30|Item31 (error}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|Item1|Item2|Item3|Item4|Item5|Item6|Item7|Item8|Item9|Item10|Item11|Item12|Item13|Item14|Item15|Item16|Item17|Item18|Item19|Item20|Item21|Item22|Item23|Item24|Item25|Item26|Item27|Item28|Item29|Item30|Item31 (error)}}&lt;br /&gt;
|}&lt;br /&gt;
=== Named parameters ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Syntax&lt;br /&gt;
! Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|2=param1=Item1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|2=param1=Item1}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|2=param1=Item1|3=param2=Item2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|2=param1=Item1|3=param2=Item2}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|example|3=param1=Item1|4=param2=Item2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|example|3=param1=Item1|4=param2=Item2}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Prefixes ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Syntax&lt;br /&gt;
! Output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|prefix=subst}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|prefix=subst}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Styling ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Syntax&lt;br /&gt;
! Output&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | Normal&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|style=code}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|style=code}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|style=plain}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|style=plain}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|2=Item1|3=Item2|4=Item3|style=pre}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|2=Item1|3=Item2|4=Item3|style=pre}}&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | With &amp;lt;code&amp;gt;block=&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|style=code|block=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|style=code|block=yes}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|style=plain|block=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|style=plain|block=yes}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{t|t|2=Item1|3=Item2|4=Item3|style=pre|block=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{t|t|2=Item1|3=Item2|4=Item3|style=pre|block=yes}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Full usage ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{t|t|2=param1=Item1|3=param2=Item2|4=param3=Item3&amp;lt;br/&amp;gt;...|5=param10=Item10|block=true|style=pre|prefix=subst}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{t|t|2=param1=Item1|3=param2=Item2|4=param3=Item3&amp;lt;br/&amp;gt;...|5=param10=Item10|block=true|style=pre|prefix=subst}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Templates]]&lt;br /&gt;
[[Category:Internal link templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Magic sysop</name></author>
	</entry>
</feed>