<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FAnchor%2Fdoc</id>
	<title>Template:MC/Anchor/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FAnchor%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Anchor/doc&amp;action=history"/>
	<updated>2026-04-10T00:45:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/Anchor/doc&amp;diff=42308&amp;oldid=prev</id>
		<title>imported&gt;MinecraftExp123 at 08:43, 22 December 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Anchor/doc&amp;diff=42308&amp;oldid=prev"/>
		<updated>2025-12-22T08:43:57Z</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 header}}&lt;br /&gt;
{{shortcut|a}}&lt;br /&gt;
This template can be used to allow linking to a section of an article without the creation of headers. Common use cases include use within larger tables and after renaming a section.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
If &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{anchor|Example}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is placed on the next line, then [[Template:Anchor#Example]] will link to that line.&lt;br /&gt;
&lt;br /&gt;
For example, this code:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{anchor|Example}} Example anchor sentence.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Produces:&lt;br /&gt;
:{{anchor|Example}} Example anchor sentence.&lt;br /&gt;
&lt;br /&gt;
This template supports multiple parameters as well. So &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{anchor|Example|Anchor|Test}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will create anchors &amp;quot;Example&amp;quot;, &amp;quot;Anchor&amp;quot;, and &amp;quot;Test&amp;quot; at the place of its usage.&lt;br /&gt;
&lt;br /&gt;
Only thirteen anchors are supported in one call of the template, if you need any more, you will need to call a second instance of the template.&lt;br /&gt;
&lt;br /&gt;
=== Multiple section heading anchors ===&lt;br /&gt;
&lt;br /&gt;
This template can also be used for adding another anchor to a [[w:Help:Section|section heading]], for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
== {{subst:anchor|Heading alias}} Heading ==&lt;br /&gt;
This is a content.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code above creates &amp;quot;Heading alias&amp;quot; anchor precisely at &amp;quot;Heading&amp;quot; section. This enables editors linking either &amp;quot;Heading alias&amp;quot; or &amp;quot;Heading&amp;quot; to that section. This is useful when renaming a section heading, as the previous name might still be used for linking on other pages, and adding an anchor for it keeps the previous links working.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Remember to substitute correctly as to not cause any technical problems (see [[WP:ANCHORSUBST]]).&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
To add more anchor in the future, you may add the template after the &amp;#039;&amp;#039;span&amp;#039;&amp;#039; tag used to add the anchor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
== &amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;Heading alias&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;{{subst:anchor|Another alias}} Heading ==&lt;br /&gt;
This is a content.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is equivalent to &amp;lt;syntaxhighlight lang=wikitext inline&amp;gt;{{subst:anchor|Headling alias|Another alias}}&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{t|visible anchor}}, which shows the parameter as text&lt;br /&gt;
* {{t|section link}}, which generates a link to a specific section of a page&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Technical templates]]&lt;br /&gt;
&lt;br /&gt;
[[cs:Šablona:Anchor]]&lt;br /&gt;
[[de:Vorlage:Anker]]&lt;br /&gt;
[[es:Plantilla:Anclaje]]&lt;br /&gt;
[[fr:Modèle:Anchor]]&lt;br /&gt;
[[nl:Sjabloon:Anchor]]&lt;br /&gt;
[[pt:Predefinição:Âncora]]&lt;br /&gt;
[[ru:Шаблон:Якорь]]&lt;br /&gt;
[[th:แม่แบบ:Anchor]]&lt;br /&gt;
[[uk:Шаблон:Якір]]&lt;br /&gt;
[[zh:Template:Anchor]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[cs:Šablona:Anchor/doc]]&lt;br /&gt;
[[de:Vorlage:Anker/Dokumentation]]&lt;br /&gt;
[[es:Plantilla:Anchor/doc]]&lt;br /&gt;
[[fr:Modèle:Anchor/doc]]&lt;br /&gt;
[[nl:Sjabloon:Anchor/doc]]&lt;br /&gt;
[[pt:Predefinição:Âncora/doc]]&lt;br /&gt;
[[ru:Шаблон:Якорь/док]]&lt;br /&gt;
[[th:แม่แบบ:Anchor/doc]]&lt;br /&gt;
[[uk:Шаблон:Якір/док]]&lt;br /&gt;
[[zh:Template:Anchor/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;MinecraftExp123</name></author>
	</entry>
</feed>