<?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%3AAnchorLink</id>
	<title>Template:AnchorLink - 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%3AAnchorLink"/>
	<link rel="alternate" type="text/html" href="http://wiki.cassettebeasts.com/index.php?title=Template:AnchorLink&amp;action=history"/>
	<updated>2026-10-30T03:17:35Z</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:AnchorLink&amp;diff=9908&amp;oldid=prev</id>
		<title>Mezzodrinker: Created page with &quot;&lt;includeonly&gt;&lt;onlyinclude&gt;{{!}}{{{2}}}}}&lt;/onlyinclude&gt;&lt;/includeonly&gt;The &#039;&#039;&#039;{{PAGENAME}}&#039;&#039;&#039; template is the counterpart...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.cassettebeasts.com/index.php?title=Template:AnchorLink&amp;diff=9908&amp;oldid=prev"/>
		<updated>2024-12-08T17:37:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;&amp;lt;onlyinclude&amp;gt;[[{{{page|}}}#{{anchorencode:{{{1}}}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}}]]&amp;lt;/onlyinclude&amp;gt;&amp;lt;/includeonly&amp;gt;The &amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039; template is the counterpart...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;onlyinclude&amp;gt;[[{{{page|}}}#{{anchorencode:{{{1}}}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}}]]&amp;lt;/onlyinclude&amp;gt;&amp;lt;/includeonly&amp;gt;The &amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039; template is the counterpart to [[:Template:Anchor]], and allows you to link to an anchor previously defined using [[:Template:Anchor]] and even section headings with ease.&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 link text. While technically optional, not specifying it will make the resultant link look a bit odd.&lt;br /&gt;
; page&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to current page)&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;The wiki page on which the anchor can be found.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To link to an anchor created with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Anchor|My custom anchor}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, you can simply use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{PAGENAME}}|My custom anchor&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, which will produce a link that looks like this:&lt;br /&gt;
&lt;br /&gt;
: {{{{PAGENAME}}|My custom anchor}}&lt;br /&gt;
&lt;br /&gt;
To specify a custom link text, you can simply add the second parameter, for example &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{PAGENAME}}|My custom anchor|Link to my custom anchor&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: {{{{PAGENAME}}|My custom anchor|Link to my custom anchor}}&lt;/div&gt;</summary>
		<author><name>Mezzodrinker</name></author>
	</entry>
</feed>