<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_link_general%2Fdoc</id>
	<title>Template:Template link general/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_link_general%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Template_link_general/doc&amp;action=history"/>
	<updated>2026-04-14T22:12:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:Template_link_general/doc&amp;diff=2049&amp;oldid=prev</id>
		<title>RandomUser34: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Template_link_general/doc&amp;diff=2049&amp;oldid=prev"/>
		<updated>2026-02-18T02:33:10Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:33, 18 February 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>RandomUser34</name></author>
	</entry>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:Template_link_general/doc&amp;diff=2048&amp;oldid=prev</id>
		<title>wp&gt;Awesome Aasim at 16:42, 6 February 2026</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Template_link_general/doc&amp;diff=2048&amp;oldid=prev"/>
		<updated>2026-02-06T16:42:30Z</updated>

		<summary type="html">&lt;p&gt;&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;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--&amp;gt;&lt;br /&gt;
{{#switch:{{FULLPAGENAME}}|Template:Template link with subst|Template:Template link expanded={{used in system}}|#default=&lt;br /&gt;
{{#ifexpr:{{#invoke:Transclusion count|fetch|0}} &amp;gt; 2000|{{high-use}}}}}}&lt;br /&gt;
{{tsh|{{{1|tlg}}}|{{{2|}}}}}&lt;br /&gt;
{{lua|Module:Template link general}}&lt;br /&gt;
&lt;br /&gt;
This template, often abbreviated as {{tlnull|{{#switch:{{lc:{{ROOTPAGENAME}}}}&lt;br /&gt;
| tlg | template link general = tlg&lt;br /&gt;
| tlb | template link with bold = tlb&lt;br /&gt;
| tlc | template link code = tlc&lt;br /&gt;
| tlw ||template link with linked braces = tlw&lt;br /&gt;
| tlf | template link with link off = tlf&lt;br /&gt;
| tltss | template link with title span, subst = tltss&lt;br /&gt;
| tlx | template link expanded = tlx&lt;br /&gt;
| tlxb | template link expanded with bold = tlxb&lt;br /&gt;
| tlxi | template link expanded with italic = tlxi&lt;br /&gt;
| tlxs | template link expanded with subst = tlxs&lt;br /&gt;
| tls | template link with subst = tls&lt;br /&gt;
| tnull | template link null = tnull&lt;br /&gt;
| tlp | template link with parameters = tlp}}&lt;br /&gt;
}}, is used to provide stylized formatting to template displays without actually using the template itself. The code generated will be displayed inline.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
With the exception of {{mono|alttext}}, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as &amp;quot;on&amp;quot;, &amp;quot;yes&amp;quot;, &amp;quot;true&amp;quot;, &amp;quot;include&amp;quot;, etc.). They may be included in any order ([[#Examples|see Examples below]]). Certain templates have the parameter &amp;quot;on&amp;quot; by default; see [[#General-purpose formatting|the main table]] for all alternate options. If a row renders identically to a previous row, it means the current template does not support that option and {{tlx|tlg}} needs to be used instead.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter || Action || Use with&amp;lt;br&amp;gt;{{tl|example}} || Default active&lt;br /&gt;
|-&lt;br /&gt;
| || Default (without accessory parameters) || {{{{{1|tlg}}}|example}} ||&lt;br /&gt;
|-&lt;br /&gt;
| brace || Include braces as part of the template link || {{{{{1|tlg}}}|brace=yes|example}} || {{tl|tlw}}/{{tl|tn}}&lt;br /&gt;
|-&lt;br /&gt;
| braceinside || Include innermost braces as part of the template link || {{{{{1|tlg}}}|example|braceinside=yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
| bold || Renders the template link/name in &amp;#039;&amp;#039;&amp;#039;bold&amp;#039;&amp;#039;&amp;#039; || {{{{{1|tlg}}}|bold=yes|example}} || {{tl|tlb}}, {{tl|tlxb}}&lt;br /&gt;
|-&lt;br /&gt;
| code || Display output using HTML [[HTML element#code|{{tag|code}}]] tags ([[monospaced font]]) || {{{{{1|tlg}}}|code=yes|example}} || {{tl|tlc}}, {{tl|Template link expanded}}, etc.&lt;br /&gt;
|-&lt;br /&gt;
| italic || Display any parameters accompanying the template link/name in &amp;#039;&amp;#039;italics&amp;#039;&amp;#039; ||| {{{{{1|tlg}}}|italic=yes|example|param}} || {{tl|tlxi}}&lt;br /&gt;
|-&lt;br /&gt;
| kbd || Display output using HTML [[HTML element#kbd|{{tag|kbd}}]] tags (monospaced font) || {{{{{1|tlg}}}|kbd=yes|example}} ||&lt;br /&gt;
|-&lt;br /&gt;
| nolink || Don&amp;#039;t render the template name as a link || {{{{{1|tlg}}}|nolink=yes|example}} || {{tl|tlf}}, {{tl|tnull}}&lt;br /&gt;
|-&lt;br /&gt;
| nowrap || Prevent the insertion of line breaks ([[word wrap]]) in the output || {{{{{1|tlg}}}|nowrap=yes|example}} || {{tl|tlf}}, {{tl|tlp}}&lt;br /&gt;
|-&lt;br /&gt;
| nowrapname || Prevent word wrapping in the output of template name/link (parameters will wrap if needed) || {{{{{1|tlg}}}|nowrapname=yes|example}} ||&lt;br /&gt;
|-&lt;br /&gt;
| plaincode || Uses {{tag|code|params=style=&amp;quot;border:none; background:transparent;&amp;quot;|wrap=yes}} || {{{{{1|tlg}}}|plaincode=yes|example}} || {{tl|tltss}}&lt;br /&gt;
|-&lt;br /&gt;
| subst || Include a [[Help:Substitution|subst:]] prefix before the template link/name || {{{{{1|tlg}}}|subst=yes|example}} || {{tl|tls}}, {{tl|tlxs}}, etc&lt;br /&gt;
|-&lt;br /&gt;
| alttext=&amp;lt;code style=&amp;quot;padding:0; margin:0&amp;quot;&amp;gt;[text]&amp;lt;/code&amp;gt; || Replace &amp;lt;code style=&amp;quot;padding:0; margin:0&amp;quot;&amp;gt;[text]&amp;lt;/code&amp;gt; with the actual label to be displayed for the template link || {{{{{1|tlg}}}|alttext=Other|example}} || {{tl|tla}}&lt;br /&gt;
|-&lt;br /&gt;
| _show_result || Will also display the result of the template || {{{{{1|tlg}}}|Min|7|-5|_show_result=y}} ||&lt;br /&gt;
|-&lt;br /&gt;
| _expand || Will add a link to the expanded template page || {{{{{1|tlg}}}|Min|7|-5|_expand=y}} ||&lt;br /&gt;
|-&lt;br /&gt;
| a || will add an asterisk before the template code || {{{{{1|tlg}}}|Min|7|-5|a=y}} ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Unnamed (Positional)====&lt;br /&gt;
This template can take any number of [[unnamed parameter]]s as parameters accompanying the template link (or name); see Examples below.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
Use the &amp;#039;&amp;#039;displayed&amp;#039;&amp;#039; value in the code column, &amp;#039;&amp;#039;not&amp;#039;&amp;#039; the underlying source code.&lt;br /&gt;
{{#switch:{{SITENAME}} |Wikipedia|Meta= |&lt;br /&gt;
; Note: On the source sister projects, en.wikipedia and Meta, &amp;#039;&amp;#039;&amp;#039;X0, X1, X2, ..., X9 are sandbox templates&amp;#039;&amp;#039;&amp;#039; for experimentation on involved templates that need be in template space. An auto-cleansing software facility exists that might be used to duplicate the facility on other Sister projects.&lt;br /&gt;
}}&lt;br /&gt;
{{Aligned table&lt;br /&gt;
 |cols=3 |class=wikitable |row1header=y&lt;br /&gt;
 |style=background-color:transparent;color:inherit&amp;lt;!-- to see background of &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
 | Code                                         | Output                             | Remarks&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|Banner}}                   | {{{{{1|tlg}}}|Banner}}             | Template:Banner does not exist. (Non-existent template is redlinked.)&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|Abc}}                      | {{{{{1|tlg}}}|Abc}}                | Template:Abc exists.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|abC}}                      | {{{{{1|tlg}}}|abC}}                | Template names are case-sensitive&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|abc}}                      | {{{{{1|tlg}}}|abc}}                | (but the first letter is case-insensitive).&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0}}                       | {{{{{1|tlg}}}|x0}}                 | no parameters&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|one}}                   | {{{{{1|tlg}}}|x1|one}}             | one parameter&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|one|two}}               | {{{{{1|tlg}}}|x2|one|two}}         | two parameters&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|2{{=}}one{{=}}1|3{{=}}two{{=}}2}}               | {{{{{1|tlg}}}|x2|one{{=}}1|two{{=}}2}}         | two parameters, assigned values&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x3|1|2|3|4|5|6|7|8|9|10}}  | {{{{{1|tlg}}}|x3|1|2|3|4|5|6|7|8|9|10}} | ten parameters&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|convert|&amp;lt;nowiki&amp;gt;&amp;lt;nowiki&amp;gt;14|m|ftin|abbr=out|sp=us&amp;lt;/nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;}} | {{{{{1|tlg}}}|convert|&amp;lt;nowiki&amp;gt;14|m|ftin|abbr=out|sp=us&amp;lt;/nowiki&amp;gt;}} | Unlimited parameters, as one {{tag|nowiki|link=yes}} [[Help:Wikitext#Nowiki|string]].&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2||two||}}  | {{{{{1|tlg}}}|x2||two||}}       | Empty parameters are discarded.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|code{{=}}on}}              | {{{{{1|tlg}}}|x0|code=on}}         | &amp;amp;lt;code&amp;amp;gt; style&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|plaincode{{=}}on}}         | {{{{{1|tlg}}}|x0|plaincode=on}}    | plaincode style&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|kbd{{=}}on}}                  | {{{{{1|tlg}}}|x0|kbd=on}}          | &amp;amp;lt;kbd&amp;amp;gt; style&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|bold{{=}}on}}              | {{{{{1|tlg}}}|x0|bold=on}}         | bold link/name&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|one|italic{{=}}on}}        | {{{{{1|tlg}}}|x1|one|italic=on}}   | parameter(s) in italics&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|nolink{{=}}on}}            | {{{{{1|tlg}}}|x0|nolink=on}}       |&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|subst{{=}}on}}             | {{{{{1|tlg}}}|x0|subst=on}}        |&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|brace{{=}}on}}             | {{{{{1|tlg}}}|x0|brace=on}}        | all braces in link&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|braceinside{{=}}on}}       | {{{{{1|tlg}}}|x0|braceinside=on}}  | inside braces in link&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|alttext{{=}}x0 link}}      | {{{{{1|tlg}}}|x0|alttext=x0 link}} |&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0|bold{{=}}on|code{{=}}on|brace{{=}}on}}     | {{{{{1|tlg}}}|x0|bold=on|code=on|brace=on}} | Combine multiple parameter settings.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|abc|{{((}}spaces{{))}}one{{((}}spaces{{))}}}} | {{{{{1|tlg}}}|abc|{{spaces}}one{{spaces}}}} | Using {{tl|spaces}} before and after a parameter.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|bold{{=}}on|code{{=}}on|one|two}}                | {{{{{1|tlg}}}|x2|bold=on|code=on|one|two}}  | Can combine named and anonymous parameters ...&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|one|two|bold{{=}}on|code{{=}}on}}                | {{{{{1|tlg}}}|x2|one|two|bold=on|code=on}}  | ... in any order ...&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|one|code{{=}}on|two|bold{{=}}on|three}}          | {{{{{1|tlg}}}|x2|one|code=on|two|bold=on|three}} | ... even intermixed ...&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|one|code{{=}}on|two|bold{{=}}on|three|italic{{=}}on}} | {{{{{1|tlg}}}|x2|one|code=on|two|bold=on|three|italic=on}} | ... with many configurations.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|x{{=}}u}}                                  | {{{{{1|tlg}}}|x1|x=u}}                      | &amp;#039;&amp;#039;&amp;#039;{{=}}&amp;#039;&amp;#039;&amp;#039; won&amp;#039;t work&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|x&amp;amp;amp;#61;u}}                              | {{{{{1|tlg}}}|x1|x&amp;amp;#61;u}}                  | &amp;lt;code&amp;gt;&amp;amp;amp;#61;&amp;lt;/code&amp;gt; is okay&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|x&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;u}}                 | {{{{{1|tlg}}}|x1|x{{=}}u}}                  | &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is okay  (see [[:Template:=|Template:=]])&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|3=2=x=u}}                 | {{{{{1|tlg}}}|x1|2=x=u}}                  | Numbered parameter is okay&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|x&amp;lt;no&amp;lt;noinclude /&amp;gt;wiki&amp;gt;{{=}}&amp;lt;/no&amp;lt;noinclude /&amp;gt;wiki&amp;gt;u}}     | {{{{{1|tlg}}}|x1|x&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;u}}     | Sticky nowiki is okay.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|3{{=}}two|2{{=}}one}}             | {{{{{1|tlg}}}|x2|3=two|2=one}}              | {{align|right|Right-to-left is okay}}&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}}}                                             | {{{1|tlg}}}                                 | With no arguments, it emits the current page name without braces.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|3{{=}}one|4{{=}}two}}             | {{{{{1|tlg}}}|x2|3=one|4=two}}              | Null parameter stops parsing.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; |style=&amp;quot;background-color:transparent;color:inherit;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;text-align:left;&amp;quot; | Wrapping of long names (default)&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! style=&amp;quot;width:15em;&amp;quot; | Output&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|{{{1|tlg}}}|long template name that would wrap to new line|this is a long value for the 1st parameter that would wrap}}&lt;br /&gt;
| {{{{{1|tlg}}}|long template name that would wrap to new line|this is a long value for the 1st parameter that would wrap}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; |style=&amp;quot;background-color:transparent;color:inherit;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;text-align:left;&amp;quot; | Wrapping of long names (&amp;lt;kbd&amp;gt;nowrap=on&amp;lt;/kbd&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! style=&amp;quot;width:15em;&amp;quot; | Output&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|{{{1|tlg}}}|nowrap{{=}}on|long template name that would wrap to new line|long value for the 1st parameter that would wrap}}&lt;br /&gt;
| {{{{{1|tlg}}}|nowrap=on|long template name that would wrap to new line|long value for the 1st parameter that would wrap}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; |style=&amp;quot;background-color:transparent;color:inherit;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;text-align:left;&amp;quot; | Wrapping of long names (&amp;lt;kbd&amp;gt;nowrapname=on&amp;lt;/kbd&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! style=&amp;quot;width:15em;&amp;quot; | Output&lt;br /&gt;
|-&lt;br /&gt;
| {{tlx|{{{1|tlg}}}|nowrapname{{=}}on|long template name that would wrap to new line|long value for the 1st parameter that would wrap}}&lt;br /&gt;
| {{{{{1|tlg}}}|nowrapname=on|long template name that would wrap to new line|long value for the 1st parameter that would wrap}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Template-linking templates}}&lt;br /&gt;
{{Semantic markup templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!--Categories below this line, please; interwikis at Wikidata--&amp;gt;&lt;br /&gt;
[[Category:Internal template-link templates]]&lt;br /&gt;
[[Category:Wikitext typing-aid templates]]&lt;br /&gt;
[[Category:Variadic templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wp&gt;Awesome Aasim</name></author>
	</entry>
</feed>