<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3AHatnote%2Fdoc</id>
	<title>Vorlage:Hatnote/doc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3AHatnote%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Hatnote/doc&amp;action=history"/>
	<updated>2026-04-05T21:59:23Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Verzauberte Welten e.V.</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.verzauberte-welten.de/index.php?title=Vorlage:Hatnote/doc&amp;diff=137&amp;oldid=prev</id>
		<title>mw&gt;Oetterer am 25. September 2014 um 14:09 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Hatnote/doc&amp;diff=137&amp;oldid=prev"/>
		<updated>2014-09-25T14:09:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{high-risk}}&lt;br /&gt;
{{lua|Module:Hatnote}}&lt;br /&gt;
&lt;br /&gt;
This template formats text into the standard stylistic for a [[Wikipedia:Hatnote|Wikipedia hatnote]]. It produces a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries. Hatnotes look like this:&lt;br /&gt;
&lt;br /&gt;
{{hatnote|Example hatnote text.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Function ==&lt;br /&gt;
This template is primarily used to add a correctly formatted ''hatnote'' to a page. Often, but not always, this is a ''disambiguation link'' at the top of article pages. It places an HTML &amp;lt;code&amp;gt;div-&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;div&amp;lt;/code&amp;gt; block around the text entered as its only argument, which provides standardized formatting (contents are indented and italicized in most displays); it also isolates the contained code to make sure that it is interpreted correctly.&lt;br /&gt;
&lt;br /&gt;
This template is also used as the &amp;quot;meta-template&amp;quot; for additional specialized disambiguation link templates; see [[:Category:Hatnote templates]] for a list.&lt;br /&gt;
&lt;br /&gt;
The template does not automatically create links of any kind. Links and other desired formatting must be explicitly added, using normal [[Wikipedia:Cheatsheet|Wikipedia markup]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
; Basic usage:&lt;br /&gt;
 &amp;amp;#123;{hatnote|''text''}}&lt;br /&gt;
&lt;br /&gt;
; All parameters:&lt;br /&gt;
 &amp;amp;#123;{hatnote|''text''|extraclasses=''extra classes''|selfref=''yes''|category=''no''}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
This template accepts the following parameters:&lt;br /&gt;
* &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; - the hatnote text. (required)&lt;br /&gt;
* &amp;lt;code&amp;gt;extraclasses&amp;lt;/code&amp;gt; - any extra CSS classes to be added. For example, the {{tl|see also}} template adds the classes {{para|extraclasses|boilerplate seealso}}.&lt;br /&gt;
* &amp;lt;code&amp;gt;selfref&amp;lt;/code&amp;gt; - if set to &amp;quot;yes&amp;quot;, &amp;quot;y&amp;quot;, &amp;quot;true&amp;quot; or &amp;quot;1&amp;quot;, adds the CSS class &amp;quot;selfref&amp;quot;. This is used to denote self-references to Wikipedia. See [[Template:Selfref]] for more information.&lt;br /&gt;
* &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; - if set to &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;false&amp;quot;, or &amp;quot;0&amp;quot;, suppresses the error tracking category ([[:Category:Hatnote templates with errors]]). This only has an effect if the first positional parameter (the hatnote text) is omitted.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|Example hatnote text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;rarr; {{hatnote|Example hatnote text}}&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
&lt;br /&gt;
If no hatnote text is supplied, the template will output the following message:&lt;br /&gt;
* {{hatnote|category=no}}&lt;br /&gt;
&lt;br /&gt;
If you see this error message, it is for one of four reasons:&lt;br /&gt;
# No parameters were specified (the template code was &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;). Please use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|&amp;lt;/nowiki&amp;gt;''text''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
# Some parameters were specified, but the hatnote text wasn't included. For example, the template text &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|extraclasses=seealso}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce this error. Please use (for example) &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|&amp;lt;/nowiki&amp;gt;''text''&amp;lt;nowiki&amp;gt;|extraclasses=seealso}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
# The hatnote text was specified, but that text contains an equals sign (&amp;quot;=&amp;quot;). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|2+2=4}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce this error. To work around this, you can specify the parameter name explictly by using &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt; before the hatnote text, like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|1=2+2=4}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
# You tried to access [[Module:Hatnote]] directly by using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:hatnote|hatnote|&amp;lt;/nowiki&amp;gt;''text''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Use of #invoke in this way has been disabled for performance reasons. Please use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|&amp;lt;/nowiki&amp;gt;''text''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
If you see this error message and are unsure of what to do, please post a message on [[Template talk:Hatnote]], and someone should be able to help you.&lt;br /&gt;
&lt;br /&gt;
Pages that contain this error message are tracked in [[:Category:Hatnote templates with errors]].&lt;br /&gt;
&lt;br /&gt;
== Technical details ==&lt;br /&gt;
&lt;br /&gt;
The HTML code produced by this template looks like this:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;hatnote&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;''hatnote text''&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code is produced by [[Module:Hatnote]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Hatnote templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>mw&gt;Oetterer</name></author>
	</entry>
</feed>