<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://4apedia.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ATlg%2Fdoc</id>
	<title>Template:Tlg/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://4apedia.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ATlg%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://4apedia.com/index.php?title=Template:Tlg/doc&amp;action=history"/>
	<updated>2026-04-18T02:48:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://4apedia.com/index.php?title=Template:Tlg/doc&amp;diff=6869&amp;oldid=prev</id>
		<title>Amycjgrace: Created page with &quot;{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&gt; {{#ifeq:{{FULLPAGENAME}}|Template:Template link with subst|{{used in system...&quot;</title>
		<link rel="alternate" type="text/html" href="https://4apedia.com/index.php?title=Template:Tlg/doc&amp;diff=6869&amp;oldid=prev"/>
		<updated>2022-02-03T02:50:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt; {{#ifeq:{{FULLPAGENAME}}|Template:Template link with subst|{{used in system...&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 WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{#ifeq:{{FULLPAGENAME}}|Template:Template link with subst|{{used in system}}|&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 {{tlf|{{#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.&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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter || Action || Use with&amp;lt;br&amp;gt;{{t|example}} || Default active &lt;br /&gt;
|-&lt;br /&gt;
| brace || Include braces as part of the template link || {{tlg|brace=yes|example}} || {{tl|tlw}}/{{tl|tn}}&lt;br /&gt;
|-&lt;br /&gt;
| braceinside || Include innermost braces as part of the template link || {{tlg|example|braceinside=yes}} ||&lt;br /&gt;
|-&lt;br /&gt;
| bold || Renders the template link/name in '''bold''' || {{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]]) || {{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 ''italics'' ||| {{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) || {{tlg|kbd=yes|example}} ||&lt;br /&gt;
|-&lt;br /&gt;
| nolink || Don't render the template name as a link || {{tlg|nolink=yes|example}} || {{tl|tlf}}, {{t|tnull}}&lt;br /&gt;
|-&lt;br /&gt;
| nowrap || Prevent the insertion of line breaks ([[word wrap]]) in the output || {{tlg|nowrap=yes|example}} ||&lt;br /&gt;
|-&lt;br /&gt;
| nowrapname || Prevent word wrapping in the output of template name/link (parameters will wrap if needed) || {{tlg|nowrapname=yes|example}} ||&lt;br /&gt;
|-&lt;br /&gt;
| plaincode || Uses {{tag|code|params=style=&amp;quot;border:none; background:transparent;&amp;quot;}} || {{tlg|plaincode=yes|example}} || {{tl|tltss}}&lt;br /&gt;
|-&lt;br /&gt;
| subst || Include a [[Help:Substitution|subst:]] prefix before the template link/name || {{tlg|subst=yes|example}} || {{tl|tls}}, {{tl|tlxs}}, etc&lt;br /&gt;
|-&lt;br /&gt;
| {{para|alttext|[text]}} || Use [text] as the label for the template link  || {{tlg|alttext=Other|example}} || {{tl|tla}}&lt;br /&gt;
|-&lt;br /&gt;
| _show_result || Will also display the result of the template. || {{tlx|Min|7|-5|_show_result=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;
{{#switch:{{SITENAME}} |Wikipedia|Meta= |&lt;br /&gt;
; Note: On the source sister projects, en.wikipedia and Meta, '''X0, X1, X2, …, X9 are sandbox templates''' 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;
&lt;br /&gt;
{{Aligned table&lt;br /&gt;
 |cols=3 |class=wikitable&lt;br /&gt;
 |style=background-color:transparent;&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}}        |  {{error|Banner}} template does not exist. Be aware with linking to non-existing templates, although desired.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|ok}}                      |   {{{{{1|tlg}}}|ok}}           |  ok template does exist&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|convert|&amp;lt;nowiki&amp;gt;&amp;amp;lt;nowiki&amp;gt;14|m|ftin|abbr=out|sp=us&amp;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}}}|Abc}}                    | {{{{{1|tlg}}}|Abc}}                | &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}}                | first letter is case-insensitive though&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|abc|'''&amp;lt;nowiki&amp;gt;{{spaces}}&amp;lt;/nowiki&amp;gt;'''{{{1}}}'''&amp;lt;nowiki&amp;gt;{{spaces}}&amp;lt;/nowiki&amp;gt;'''}} | {{{{{1|tlg}}}|abc|{{spaces}}{{{1}}}{{spaces}}}}|  Using {{tl|spaces}} before and after &amp;lt;nowiki&amp;gt;{{{1}}}&amp;lt;/nowiki&amp;gt; parameter.&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x0}}                     | {{{{{1|tlg}}}|x0}}                 | &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}} | No reason you can't combine multiple parameter settings&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|one}}                 | {{{{{1|tlg}}}|x1|one}}             | &lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|one|two}}             | {{{{{1|tlg}}}|x2|one|two}}         | &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 different configurations.&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}}      | &lt;br /&gt;
 | {{tlx|{{{1|tlg}}}}}                                            | {{{1|tlg}}}                              | with no arguments, the current page name is substituted&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|x&amp;amp;#61;u}}                                 | {{{{{1|tlg}}}|x1|x=u}}                       | '''{{=}}''' won't work&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|x&amp;amp;amp;#61;u}}                             | {{{{{1|tlg}}}|x1|x&amp;amp;#61;u}}                   | {{align|right|&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}}                   | {{align|right|&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 equal sign]])}}&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x1|x&amp;amp;lt;nowiki&amp;amp;gt;&amp;amp;#61;&amp;amp;lt;/nowiki&amp;amp;gt;u}}    | {{{{{1|tlg}}}|x1|x&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;u}}      | {{align|right|sticky nowiki is okay}}&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|&amp;lt;nowiki /&amp;gt;|two|&amp;lt;nowiki /&amp;gt;|&amp;lt;nowiki /&amp;gt;}}    | {{{{{1|tlg}}}|x2||two||}}                    | empty parameters work too, even at the end&lt;br /&gt;
 | {{tlx|{{{1|tlg}}}|x2|&amp;lt;nowiki&amp;gt;3=two&amp;lt;/nowiki&amp;gt;|&amp;lt;nowiki&amp;gt;2=one&amp;lt;/nowiki&amp;gt;}} | {{{{{1|tlg}}}|x2|3=two|2=one}} | {{align|right|right to left okay}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; |style=&amp;quot;background-color:transparent;&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;&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;&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;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Internal template-link templates]]&lt;br /&gt;
[[Category:Wikitext typing-aid templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Amycjgrace</name></author>
		
	</entry>
</feed>