<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.shadowrunwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ASection_link%2Fdoc</id>
	<title>Template:Section link/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.shadowrunwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ASection_link%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Section_link/doc&amp;action=history"/>
	<updated>2026-06-04T09:33:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://www.shadowrunwiki.com/index.php?title=Template:Section_link/doc&amp;diff=859&amp;oldid=prev</id>
		<title>Catrone3: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Section_link/doc&amp;diff=859&amp;oldid=prev"/>
		<updated>2024-03-26T02:07:12Z</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;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 21:07, 25 March 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key shadowrun:diff:1.41:old-858:rev-859 --&gt;
&lt;/table&gt;</summary>
		<author><name>Catrone3</name></author>
	</entry>
	<entry>
		<id>https://www.shadowrunwiki.com/index.php?title=Template:Section_link/doc&amp;diff=858&amp;oldid=prev</id>
		<title>BattletechWiki&gt;Deadfire: Template Doc Creation</title>
		<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Section_link/doc&amp;diff=858&amp;oldid=prev"/>
		<updated>2023-06-26T00:22:20Z</updated>

		<summary type="html">&lt;p&gt;Template Doc Creation&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;
{{Redirect|Template:Slink|the template that links to search results|Template:Search link}}&lt;br /&gt;
{{template shortcuts|seclink|slink|§l}}&lt;br /&gt;
{{lua|Module:Section link}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template is appropriate for use in [[BattleTechWiki:Hatnote|hatnotes]] and &amp;#039;&amp;#039;See also&amp;#039;&amp;#039; sections, or to reference sections within the same article.  When using in article body text, consider whether an overt link to a specific section in another article may be confusing to readers who cannot follow links, such as those viewing a printed version of the material, or a version republished without links.&lt;br /&gt;
&lt;br /&gt;
=== Syntax (overview) ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Article|Section}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Article#Section}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, link to section of other article. → Example: {{section link|Help:Line break handling|Non-breaking space}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Article|Section|nopage=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, link to section of other article, only displaying the section&amp;#039;s title → Example: {{section link|Help:Line break handling|Non-breaking space|nopage=y}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link||Section}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, for usage within the same page, supply an empty first parameter → Example: {{section link||Non-breaking space}}&lt;br /&gt;
&lt;br /&gt;
=== Single section ===&lt;br /&gt;
This template, {{tl|section link}}, or its shortcut, {{tl|slink}}, is used to generate a link to a certain section of a local wiki page and render an appropriate section mark (§).&lt;br /&gt;
&lt;br /&gt;
Instead of:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Help:Line break handling#Preventing and controlling word wraps]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Help:Line break handling#Preventing and controlling word wraps]]&lt;br /&gt;
&lt;br /&gt;
...you can write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Help:Line break handling|Preventing and controlling word wraps}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{section link|Help:Line break handling|Preventing and controlling word wraps}}&lt;br /&gt;
&lt;br /&gt;
...or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Help:Line break handling#Preventing and controlling word wraps}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{section link|Help:Line break handling#Preventing and controlling word wraps}}&lt;br /&gt;
&lt;br /&gt;
=== Multiple sections ===&lt;br /&gt;
This template may generate consecutive links to several sections of the same page. You can write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{section link|Help:Line break handling|Causing line breaks|Preventing and controlling word wraps}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:{{section link|Help:Line break handling|Causing line breaks|Preventing and controlling word wraps}}&lt;br /&gt;
&lt;br /&gt;
===Suppressing page name===&lt;br /&gt;
Sometimes the page name needs not to appear (e.g. to avoid redundancy and wordiness). For the page on which the template is used, not specifying a page name creates a section link only. The following:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Section link||Suppressing page name}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
...is the equivalent of:&lt;br /&gt;
&amp;lt;pre&amp;gt;[[#Suppressing page name|§&amp;amp;amp;nbsp;Suppressing page name]]&amp;lt;/pre&amp;gt;&lt;br /&gt;
...and renders as:&lt;br /&gt;
:{{section link||Suppressing page name}}&lt;br /&gt;
&lt;br /&gt;
Use {{para|nopage|y}} for the same visual effect. &lt;br /&gt;
&lt;br /&gt;
When discussing an article from its talk page, {{tlx|Article link}}—or its alias, {{tlx|alink}}—is preferable to the longer {{tlc|Section link|{&amp;lt;nowiki/&amp;gt;{[[Help:Magic_words#Variables|ARTICLEPAGENAME]]}&amp;lt;nowiki/&amp;gt;}|Section|4=nopage=y}}.&lt;br /&gt;
&lt;br /&gt;
Comparison of displayed results:&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Help:Line break handling|Preventing and controlling word wraps}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|Help:Line break handling|Preventing and controlling word wraps}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Help:Line break handling|Preventing and controlling word wraps|nopage=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|Help:Line break handling|Preventing and controlling word wraps|nopage=y}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Help:Line break handling|Preventing and controlling word wraps|Non-breaking space}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|Help:Line break handling|Preventing and controlling word wraps|Non-breaking space}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Help:Line break handling|Preventing and controlling word wraps|Non-breaking space|nopage=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|Help:Line break handling|Preventing and controlling word wraps|Non-breaking space|nopage=y}}&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template is used to generate a link to a certain section of a local wiki page and render an appropriate section mark (§). This template may generate consecutive links to several sections of the same page.&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Page name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Name of the page to which the link must be created. Leave empty to link to the current page. Doing so causes no page name to appear.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-page-name&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Section name 1&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Name of the (first) section to which the link must be created. This parameter is mandatory.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Section name 2&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;This template can link to additional sections within one page. You can supply another section name in this field.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;4&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Section name 3&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;This template can link to additional sections within one page. You can supply another section name in this field.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;5&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Section name 4&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;This template can link to additional sections within one page. You can supply another section name in this field.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;nopage&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Hide page name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If set to \&amp;quot;yes\&amp;quot;, \&amp;quot;y\&amp;quot; or \&amp;quot;true\&amp;quot;, hides the page name (only section names are displayed).&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;keep-underscores&amp;quot; : {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Keep underscores&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If set to \&amp;quot;yes\&amp;quot;, \&amp;quot;y\&amp;quot; or \&amp;quot;true\&amp;quot;, doesn&amp;#039;t replace underscores with spaces in the page name and section names.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;                       &lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;display&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Displayed page name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If the page name must be displayed differently (e.g. in italics), enter it here.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*{{unichar|00A7|SECTION SIGN}}&lt;br /&gt;
*{{tl|Anchor}}&lt;br /&gt;
*{{tl|Article link}}{{snd}}for linking to a mainspace section from its talk page&lt;br /&gt;
*{{tl|Multi-section link}}{{snd}}for linking to a section listing nested section names&lt;br /&gt;
*{{tl|Pslink}}{{snd}}for linking to a section without displaying the section sign (§)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Section and anchor link formatting templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>BattletechWiki&gt;Deadfire</name></author>
	</entry>
</feed>