l<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://climatewiki.earth/wiki/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://climatewiki.earth/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ATemplate_link_general%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://climatewiki.earth/wiki/index.php?title=Template:Template_link_general/doc&amp;action=history"/>
	<updated>2026-05-05T02:25:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://climatewiki.earth/wiki/index.php?title=Template:Template_link_general/doc&amp;diff=10227&amp;oldid=prev</id>
		<title>BranchOut: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://climatewiki.earth/wiki/index.php?title=Template:Template_link_general/doc&amp;diff=10227&amp;oldid=prev"/>
		<updated>2024-02-08T02:59:22Z</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:59, 8 February 2024&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>BranchOut</name></author>
	</entry>
	<entry>
		<id>https://climatewiki.earth/wiki/index.php?title=Template:Template_link_general/doc&amp;diff=10226&amp;oldid=prev</id>
		<title>Wikipedia&gt;A smart kitten: rm reference to deleted template</title>
		<link rel="alternate" type="text/html" href="https://climatewiki.earth/wiki/index.php?title=Template:Template_link_general/doc&amp;diff=10226&amp;oldid=prev"/>
		<updated>2023-08-23T09:57:49Z</updated>

		<summary type="html">&lt;p&gt;rm reference to deleted template&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. The code generated will be displayed inline. For a multi-line output, see {{tl|tj}}.&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;{{tl|example}} || Default active&lt;br /&gt;
|-&lt;br /&gt;
| || Default (without accessory parameters) || {{tlg|example}} ||&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}}, {{tl|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;
| 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 || {{tlg|alttext=Other|example}} || {{tl|tla}}&lt;br /&gt;
|-&lt;br /&gt;
| _show_result || Will also display the result of the template || {{Template link expanded|Min|7|-5|_show_result=y}} ||&lt;br /&gt;
|-&lt;br /&gt;
| _expand || Will add a link to the expanded template page || {{Template link expanded|Min|7|-5|_expand=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;
 | {{tji|{{{1|tlg}}}|Banner}}                   | {{{{{1|tlg}}}|Banner}}             | Template:Banner does not exist. (Non-existent template is redlinked.)&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|Abc}}                      | {{{{{1|tlg}}}|Abc}}                | Template:Abc exists.&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|abC}}                      | {{{{{1|tlg}}}|abC}}                | Template names are case-sensitive&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|abc}}                      | {{{{{1|tlg}}}|abc}}                | (but the first letter is case-insensitive).&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0}}                       | {{{{{1|tlg}}}|x0}}                 | no parameters&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x1|one}}                   | {{{{{1|tlg}}}|x1|one}}             | one parameter&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x2|one|two}}               | {{{{{1|tlg}}}|x2|one|two}}         | two parameters&lt;br /&gt;
 | {{tji|{{{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;
 | &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{tlg|convert|&amp;lt;nowiki&amp;gt;14|m|ftin|abbr=out|sp=us&amp;lt;/nowiki&amp;gt;}}&amp;lt;/syntaxhighlight&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;
 | {{tji|{{{1|tlg}}}|x2||two||}}  | {{{{{1|tlg}}}|x2||two||}}       | Empty parameters are discarded.&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|code: on}}              | {{{{{1|tlg}}}|x0|code=on}}         | &amp;amp;lt;code&amp;amp;gt; style&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|plaincode: on}}         | {{{{{1|tlg}}}|x0|plaincode=on}}    | plaincode style&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|kbd: on}}                  | {{{{{1|tlg}}}|x0|kbd=on}}          | &amp;amp;lt;kbd&amp;amp;gt; style&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|bold: on}}              | {{{{{1|tlg}}}|x0|bold=on}}         | bold link/name&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x1|one|italic: on}}        | {{{{{1|tlg}}}|x1|one|italic=on}}   | parameter(s) in italics&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|nolink: on}}            | {{{{{1|tlg}}}|x0|nolink=on}}       |&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|subst: on}}             | {{{{{1|tlg}}}|x0|subst=on}}        |&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|brace: on}}             | {{{{{1|tlg}}}|x0|brace=on}}        | all braces in link&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|braceinside: on}}       | {{{{{1|tlg}}}|x0|braceinside=on}}  | inside braces in link&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x0|alttext: x0 link}}      | {{{{{1|tlg}}}|x0|alttext=x0 link}} |&lt;br /&gt;
 | {{tji|{{{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;
 | &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{tlg|x1|{{spaces}}one{{spaces}}}}&amp;lt;/syntaxhighlight&amp;gt; | {{{{{1|tlg}}}|abc|{{spaces}}one{{spaces}}}} | Using {{tl|spaces}} before and after a parameter.&lt;br /&gt;
 | {{tji|{{{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;
 | {{tji|{{{1|tlg}}}|x2|one|two|bold: on|code: on}}                | {{{{{1|tlg}}}|x2|one|two|bold=on|code=on}}  | ... in any order ...&lt;br /&gt;
 | {{tji|{{{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;
 | {{tji|{{{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;
 | &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{tlg|x1|x=u}}&amp;lt;/syntaxhighlight&amp;gt;                                  | {{{{{1|tlg}}}|x1|x=u}}                      | '''{{=}}''' won't work&lt;br /&gt;
 | &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{tlg|x1|x&amp;amp;#61;u}}&amp;lt;/syntaxhighlight&amp;gt;                              | {{{{{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;
 | &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{tlg|x1|x{{=}}u}}&amp;lt;/syntaxhighlight&amp;gt;                 | {{{{{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;
 | &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{tlg|x1|x&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;u}}&amp;lt;/syntaxhighlight&amp;gt;     | {{{{{1|tlg}}}|x1|x&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;u}}     | Sticky nowiki is okay.&lt;br /&gt;
 | {{tji|{{{1|tlg}}}|x2|3: two|2: one}}             | {{{{{1|tlg}}}|x2|3=two|2=one}}              | {{align|right|Right-to-left is okay}}&lt;br /&gt;
 | {{tji|{{{1|tlg}}}}}                                             | {{{1|tlg}}}                                 | With no arguments, it emits the current page name without braces.&lt;br /&gt;
 | {{tji|{{{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;&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;
| {{tji|{{{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;
| {{tji|{{{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;
| {{tji|{{{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: --&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>Wikipedia&gt;A smart kitten</name></author>
	</entry>
</feed>