<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AHighlighted_anchor%2Fdoc</id>
	<title>Template:Highlighted anchor/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AHighlighted_anchor%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Highlighted_anchor/doc&amp;action=history"/>
	<updated>2026-04-05T10:52:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Highlighted_anchor/doc&amp;diff=18422&amp;oldid=prev</id>
		<title>Wikipedia&gt;JsfasdF252: /* Usage */ Spelling</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Highlighted_anchor/doc&amp;diff=18422&amp;oldid=prev"/>
		<updated>2020-12-04T21:29:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage: &lt;/span&gt; Spelling&lt;/span&gt;&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;
{{Uses TemplateStyles|Template:Highlighted anchor/styles.css}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
Details are to be written, but basically when you add {{tlx|highlighted anchor|some text}} inside the visible part of {{tl|visible anchor}} or inside any potential target (i.e a DOM element that has the :target css modifier) then when the target is reached (using a link with a fragment that is identical to its id) the text &amp;quot;some text&amp;quot; will be highlighted with a bluish grey background.&lt;br /&gt;
&lt;br /&gt;
In the source code, for example, we have &lt;br /&gt;
&lt;br /&gt;
{{demo&lt;br /&gt;
  |br=This is rendered as follows:&lt;br /&gt;
  |&amp;lt;nowiki&amp;gt;&lt;br /&gt;
[[#testlink|Click on me to see the effect]]&lt;br /&gt;
&lt;br /&gt;
{{visible anchor&lt;br /&gt;
|testlink&lt;br /&gt;
|text=This is the visible text of the anchor and {{highlighted anchor|this is the highlighted part of it}}&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Visible anchor}}&lt;br /&gt;
* {{tl|Anchor}}&lt;br /&gt;
* {{tl|Anchored list}}&lt;br /&gt;
* {{tl|Shortcut}}&lt;br /&gt;
* [[Help:Link#Section linking (anchors)|Help:Link §&amp;amp;nbsp;Section linking (anchors)]] (Shortcut: [[WP:ANCHOR]])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia formatting and function templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;JsfasdF252</name></author>
	</entry>
</feed>