<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.badwolfmc.com/w/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://wiki.badwolfmc.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASection_link%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Section_link/doc&amp;action=history"/>
	<updated>2026-05-07T16:56:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.badwolfmc.com/w/index.php?title=Template:Section_link/doc&amp;diff=4655&amp;oldid=prev</id>
		<title>Merc: Created page with &quot;{{documentation subpage}} {{Redirect|Template:Slink|the template that links to search results|Template:Search link}} {{template shortcuts|seclink|slink|§l}} {{used in system|in MediaWiki:Abusefilter-warning-notwallofshame}} {{lua|Module:Section link}} {{Bot use warning|bots=cewbot}}  == Usage == This template is appropriate for use in hatnotes and Wikipedia:Manual of Style/Layout#&quot;See also&quot; se...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Section_link/doc&amp;diff=4655&amp;oldid=prev"/>
		<updated>2025-05-04T07:54:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation subpage}} {{Redirect|Template:Slink|the template that links to search results|Template:Search link}} {{template shortcuts|seclink|slink|§l}} {{used in system|in &lt;a href=&quot;/w/index.php?title=MediaWiki:Abusefilter-warning-notwallofshame&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MediaWiki:Abusefilter-warning-notwallofshame (page does not exist)&quot;&gt;MediaWiki:Abusefilter-warning-notwallofshame&lt;/a&gt;}} {{lua|Module:Section link}} {{Bot use warning|bots=&lt;a href=&quot;https://en.wikipedia.org/wiki/Bots/Requests_for_approval/Cewbot_6&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Bots/Requests for approval/Cewbot 6&quot;&gt;cewbot&lt;/a&gt;}}  == Usage == This template is appropriate for use in &lt;a href=&quot;https://en.wikipedia.org/wiki/Hatnote&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Hatnote&quot;&gt;hatnotes&lt;/a&gt; and Wikipedia:Manual of Style/Layout#&amp;quot;See also&amp;quot; se...&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;
{{Redirect|Template:Slink|the template that links to search results|Template:Search link}}&lt;br /&gt;
{{template shortcuts|seclink|slink|§l}}&lt;br /&gt;
{{used in system|in [[MediaWiki:Abusefilter-warning-notwallofshame]]}}&lt;br /&gt;
{{lua|Module:Section link}}&lt;br /&gt;
{{Bot use warning|bots=[[Wikipedia:Bots/Requests for approval/Cewbot 6|cewbot]]}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template is appropriate for use in [[Wikipedia:Hatnote|hatnotes]] and [[Wikipedia:Manual of Style/Layout#&amp;quot;See also&amp;quot; section|See also]] 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 (see [[WP:PRINTWORTHY]]), or a version republished without links (see [[WP:LINKSTYLE]]).&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|Albert Einstein|Scientific career}}&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; or &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|Albert Einstein|Scientific career|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; or &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||Scientific career}}&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;[[Albert Einstein#Scientific career]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Albert Einstein#Scientific career]]&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|Albert Einstein|Scientific career}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{section link|Albert Einstein|Scientific career}}&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|Albert Einstein#Scientific career}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{section link|Albert Einstein#Scientific career}}&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;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{section link|History of IBM|1880s–1924: The origin of IBM|1969: Antitrust, the Unbundling of software and services|1993–present: IBM&amp;#039;s near disaster and rebirth}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:{{section link|History of IBM|1880s–1924: The origin of IBM|1969: Antitrust, the Unbundling of software and services|1993–present: IBM&amp;#039;s near disaster and rebirth}}&lt;br /&gt;
&lt;br /&gt;
...or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{section link|History of IBM#1880s–1924: The origin of IBM|1969: Antitrust, the Unbundling of software and services|1993–present: IBM&amp;#039;s near disaster and rebirth}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:{{section link|History of IBM#1880s–1924: The origin of IBM|1969: Antitrust, the Unbundling of software and services|1993–present: IBM&amp;#039;s near disaster and rebirth}}&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|WP:Manual of Style|Quotations}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|WP:Manual of Style|Quotations}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|WP:Manual of Style|Quotations|nopage=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|WP:Manual of Style|Quotations|nopage=y}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|WP:Manual of Style|Quotations|Quotation marks|Commas}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|WP:Manual of Style|Quotations|Quotation marks|Commas}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|WP:Manual of Style|Quotations|Quotation marks|Commas|nopage=y}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|WP:Manual of Style|Quotations|Quotation marks|Commas|nopage=y}}&lt;br /&gt;
&lt;br /&gt;
=== Styling page name ===&lt;br /&gt;
For titles of films and short stories, [[MOS:DABPIPING|always]] present the core part of the page&amp;#039;s name (without any parenthetic disambiguation) in italics, quotation marks, or some other markup (per [[MOS:TITLES]]).  The {{para|display}} parameter can be used for this purpose:&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|The Last Temptation of Christ (film)|General controversy|display=&amp;#039;&amp;#039;The Last Temptation of Christ&amp;#039;&amp;#039; (film)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|The Last Temptation of Christ (film)|General controversy|display=&amp;#039;&amp;#039;The Last Temptation of Christ&amp;#039;&amp;#039; (film)}}&lt;br /&gt;
&lt;br /&gt;
=== Underscores ===&lt;br /&gt;
It is common practice to copy article and section name from the browser&amp;#039;s address bar.  When doing that, the article and section names may contain underscores:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Albert_Einstein#Scientific_career&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This template automatically replaces the underscores with space characters:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Albert_Einstein#Scientific_career}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|Albert_Einstein#Scientific_career}}&lt;br /&gt;
There are articles that have underscores (see {{cl|Articles with underscores in the title}}).  To retain the underscores in the rendered output, use {{para|keep-underscores|yes}}:&lt;br /&gt;
::article and section copied from browser address bar:&lt;br /&gt;
:::&amp;lt;code&amp;gt;Dual_EC_DRBG#Timeline_of_Dual_EC_DRBG&amp;lt;/code&amp;gt;&lt;br /&gt;
::manual removal of extraneous underscores:&lt;br /&gt;
:::&amp;lt;code&amp;gt;Dual_EC_DRBG#Timeline of Dual_EC_DRBG&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{section link|Dual_EC_DRBG#Timeline of Dual_EC_DRBG|keep-underscores=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{section link|Dual_EC_DRBG#Timeline of Dual_EC_DRBG|keep-underscores=yes}}&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateDataHeader}}&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;
		&amp;quot;permalink&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Permanent link&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Revision ID, for a permanent link to the section (only works with one section link)&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&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|nlink=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>Merc</name></author>
	</entry>
</feed>