<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.cassettebeasts.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AAnchor</id>
	<title>Template:Anchor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cassettebeasts.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AAnchor"/>
	<link rel="alternate" type="text/html" href="http://wiki.cassettebeasts.com/index.php?title=Template:Anchor&amp;action=history"/>
	<updated>2026-10-30T03:17:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.cassettebeasts.com/index.php?title=Template:Anchor&amp;diff=9907&amp;oldid=prev</id>
		<title>Mezzodrinker: Created page with &quot;&lt;onlyinclude&gt;{{#tag:span|{{{2|}}}|class=anchor|id={{anchorencode:{{{1}}}}}}}&lt;/onlyinclude&gt;  The &#039;&#039;&#039;{{PAGENAME}}&#039;&#039;&#039; template creates a new anchor that can be used for linking t...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.cassettebeasts.com/index.php?title=Template:Anchor&amp;diff=9907&amp;oldid=prev"/>
		<updated>2024-12-08T16:45:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;onlyinclude&amp;gt;{{#tag:span|{{{2|}}}|class=anchor|id={{anchorencode:{{{1}}}}}}}&amp;lt;/onlyinclude&amp;gt;  The &amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039; template creates a new anchor that can be used for linking t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#tag:span|{{{2|}}}|class=anchor|id={{anchorencode:{{{1}}}}}}}&amp;lt;/onlyinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039; template creates a new anchor that can be used for linking to sections or specific regions of a page.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; 1&lt;br /&gt;
: Name of the anchor. Will be encoded into an anchor string using the [https://www.mediawiki.org/wiki/Special:MyLanguage/anchorencode &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{anchorencode:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; magic word].&lt;br /&gt;
; 2&lt;br /&gt;
: &amp;#039;&amp;#039;(optional)&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;The text with which the anchor should be created. Leave this blank to make the anchor invisible.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
: &amp;#039;&amp;#039;(See [https://www.mediawiki.org/wiki/Help:Links#Anchors the MediaWiki help on link anchors] for details)&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
When used, this template produces a &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; element that has the specified anchor name. For example, the template call &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{PAGENAME}}&amp;lt;nowiki&amp;gt;|My custom anchor}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; produces the following output:&lt;br /&gt;
&lt;br /&gt;
{{#tag:pre|{{{{PAGENAME}}|My custom anchor}}}}&lt;br /&gt;
&lt;br /&gt;
This anchor can then be linked to using the link &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[#&amp;lt;/nowiki&amp;gt;{{anchorencode:My custom anchor}}&amp;lt;nowiki&amp;gt;|Link to my custom anchor]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Note that the link destination uses the anchor-encoded anchor name. To make this conversion easier and less error-prone, you can also use [[:Template:AnchorLink]].&lt;/div&gt;</summary>
		<author><name>Mezzodrinker</name></author>
	</entry>
</feed>