<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
	<id>https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=Sjabloon%3AAnchor%2Fdoc</id>
	<title>Sjabloon:Anchor/doc - Bewerkingsoverzicht</title>
	<link rel="self" type="application/atom+xml" href="https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=Sjabloon%3AAnchor%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Anchor/doc&amp;action=history"/>
	<updated>2026-04-28T12:57:15Z</updated>
	<subtitle>Bewerkingsoverzicht voor deze pagina op de wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Anchor/doc&amp;diff=1408&amp;oldid=prev</id>
		<title>Ahenket: Nieuwe pagina aangemaakt met &#039;{{Documentation subpage}} {{high-use|20,000+}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE --&gt;  The template &lt;nowiki&gt;{{&lt;/nowiki&gt;{{ns:T...&#039;</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=Sjabloon:Anchor/doc&amp;diff=1408&amp;oldid=prev"/>
		<updated>2013-07-17T16:39:19Z</updated>

		<summary type="html">&lt;p&gt;Nieuwe pagina aangemaakt met &amp;#039;{{Documentation subpage}} {{high-use|20,000+}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE --&amp;gt;  The template &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{ns:T...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nieuwe pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{high-use|20,000+}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[{{ns:Template}}:{{BASEPAGENAME}}|{{lc:{{BASEPAGENAME}}}}]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; inserts one or more [[HTML element#Anchor|HTML anchor]]s in a page. Those locations can then be linked to using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[#location|…]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; syntax. {{#ifeq:{{BASEPAGENAME}}|Visible anchor|&amp;amp;nbsp;Unlike {{tl|Anchor}}, the first parameter will be visible text on the page.|}}&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
1. &amp;lt;code style=&amp;quot;color:darkgreen;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{lc:{{BASEPAGENAME}}}}|Foo&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
: could be linked to with &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[#Foo|…]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; from within the same article, &lt;br /&gt;
: or it could be linked to with {{nowrap|&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;lt;small&amp;gt;Article name&amp;lt;/small&amp;gt;&amp;#039;&amp;#039;#Foo&amp;lt;nowiki&amp;gt;|…]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;}} from other articles and from redirects.&lt;br /&gt;
&lt;br /&gt;
2. Anchors can be more suitable for inter-article linking than section titles are. For example: &lt;br /&gt;
:{{nowrap|1=&amp;lt;code style=&amp;quot;color:dimgray;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;==&amp;lt;/nowiki&amp;gt;&amp;lt;span&amp;gt;{{sp}}&amp;lt;/span&amp;gt;&amp;lt;code style=&amp;quot;color:darkgreen;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{lc:{{BASEPAGENAME}}}}&amp;lt;nowiki&amp;gt;|Foo}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;{{sp}}&amp;lt;/span&amp;gt;Section title &amp;lt;nowiki&amp;gt;==&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}} &lt;br /&gt;
:Here, links via {{nowrap|1=&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;Article name&amp;#039;&amp;#039;#Foo&amp;lt;nowiki&amp;gt;]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;}} would remain valid even if the section were renamed. Consider using {{tlsp|anchor comment}} after the section title to generate a [[HTML]] comment alerting other editors to the purpose of anchors used in this manner. See [[#Limitations|Limitations]] for the editing problems this use introduces. &lt;br /&gt;
:The following is an example of what &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; to do: &lt;br /&gt;
:{{nowrap|1=&amp;lt;code style=&amp;quot;color:dimgray;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;==&amp;lt;/nowiki&amp;gt; Section title&amp;lt;span&amp;gt;{{sp}}&amp;lt;/span&amp;gt;&amp;lt;code style=&amp;quot;color:darkred;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{lc:{{BASEPAGENAME}}}}&amp;lt;nowiki&amp;gt;|Bar}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;span&amp;gt;{{sp}}&amp;lt;/span&amp;gt;&amp;lt;nowiki&amp;gt;==&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}} &lt;br /&gt;
:Here, the link {{nowrap|1=&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;Article name&amp;#039;&amp;#039;#Bar&amp;lt;nowiki&amp;gt;]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;}} would take the user to the section, but could undesirably hide the section title from view.&lt;br /&gt;
&lt;br /&gt;
3. The template can be used to create up to ten anchors with a single call. For example, &lt;br /&gt;
: {{nowrap|1=&amp;lt;code style=&amp;quot;color:darkgreen;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{lc:{{BASEPAGENAME}}}}&amp;lt;nowiki&amp;gt;|Foo|Bar|baz}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}} &lt;br /&gt;
:will create three anchors that can then be linked to with &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[#Foo]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[#Bar]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;[[#baz]]&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;. &lt;br /&gt;
:Specifying more than 10 anchors will cause an error message to be displayed.{{#ifeq:{{BASEPAGENAME}}|Visible anchor| &amp;lt;br /&amp;gt; &lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
4. If the text to be displayed must differ from the anchor (e.g. because it contains brackets for linking), the &amp;lt;code style=&amp;quot;color:darkgreen;&amp;quot;&amp;gt;text&amp;lt;/code&amp;gt; parameter can be used: &lt;br /&gt;
: {{nowrap|1=&amp;lt;code style=&amp;quot;color:darkgreen;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{lc:{{BASEPAGENAME}}}}&amp;lt;nowiki&amp;gt;|Foo|text=[[Foo]]}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}} &lt;br /&gt;
: this will result in a link that constitutes an anchor of its own.|}}&lt;br /&gt;
&lt;br /&gt;
=== Limitations ===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;float:right&amp;quot;&lt;br /&gt;
!Character&lt;br /&gt;
![[Character entity reference|Code]]&lt;br /&gt;
!Template&lt;br /&gt;
!Meaning&lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;quot;&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;amp;quot;&amp;lt;/code&amp;gt; &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;&amp;amp;amp;#34;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{N/a}}&lt;br /&gt;
|(double)&amp;amp;nbsp;[[quotation mark]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;#35;&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;amp;#35;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{N/a}}&lt;br /&gt;
|[[Number sign|hash]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;#124;&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;amp;#124;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{tl|!}}&lt;br /&gt;
|[[Vertical bar|pipe]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;#61;&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;amp;#61;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{tl|{{=}}}}&lt;br /&gt;
|[[Equals sign|equals]]&lt;br /&gt;
|}&lt;br /&gt;
* Anchor names that contain any character shown in the table on the right will not work as expected. However, any of these characters can be replaced with the &amp;quot;&amp;amp;amp;#&amp;quot; codes shown for them here. Or, the pipe symbol and equals sign can be worked around with {{tl|!}} and {{tl|{{=}}}}, respectively. Markup code such as {{tag|sup|o}} and {{tag|sub|o}} (superscript and subscript) cannot be used. Most other characters, including white space and punctuation, are not a problem.&lt;br /&gt;
* The template can create a maximum of 10 anchors. Specifying more than 10 anchors will result in an error message.&lt;br /&gt;
* Unlike with most templates, putting each anchor name on separate lines will not work as expected; for example: &lt;br /&gt;
:&amp;lt;code style=&amp;quot;color:darkred;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{lc:{{BASEPAGENAME}}}}&lt;br /&gt;
:|humpty&amp;lt;br /&amp;gt;|dumpty&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Anchor names should be unique on a page, and should not duplicate any heading titles. Duplicate anchors will not work as expected since the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;#location&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; links go to the first anchor with that name. Duplicate anchors result in invalid HTML; you can check for duplicate anchors by running the page through the [[W3C Markup Validation Service]].&lt;br /&gt;
* If the template is added to a section title then the code will appear in the edit summary when that section is edited, as in {{nowrap|1=&amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;/* {{anchor|Issues}}Limitations */ New issue&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot;}}. This can be fixed by deleting the template code from the edit summary before the changes are saved. However, this fix breaks the section link in the article revision history. Consider using {{tlsp|anchor comment}} after the section title to generate a HTML comment alerting other editors to the purpose of anchors used in this manner, so they do not move the anchor out of the section heading when they notice the deleterious effects on their edit summary.&lt;br /&gt;
* Anchor links are case sensitive in some browsers, so treat all anchor links as case sensitive.&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{#ifeq:{{BASEPAGENAME}}|Visible anchor|{{tl|Anchor}}|{{tl|Visible anchor}}}}&lt;br /&gt;
* {{tl|Anchored list}}&lt;br /&gt;
* {{tl|Anchor comment}}&lt;br /&gt;
* {{tl|Shortcut}}&lt;br /&gt;
* [[WP:ANCHOR]]&lt;br /&gt;
* [[WP:TARGET]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS LINKS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia formatting and function templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ahenket</name></author>
	</entry>
</feed>