<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vulcanforged.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AHatnote%2Fdoc</id>
	<title>Template:Hatnote/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vulcanforged.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AHatnote%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.vulcanforged.com/index.php?title=Template:Hatnote/doc&amp;action=history"/>
	<updated>2026-06-10T11:27:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.vulcanforged.com/index.php?title=Template:Hatnote/doc&amp;diff=130&amp;oldid=prev</id>
		<title>Neswulf: Created page with &quot;{{Documentation subpage}} &lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&gt; {{Uses TemplateStyles|Template:Hatnote/styles.css}} This template produces formatted text, following the guideline for a '''hatnote'''. :&lt;code&gt;&lt;nowiki&gt;{{hatnote|Example hatnote text.}}&lt;/nowiki&gt;&lt;/code&gt; &amp;rarr;&lt;br/&gt;&lt;!-- a construct to show hatnote as expected (using newline) --&gt; {{hatnote|Example hatnote text.}}  Broadly speaking, a hatnote should answer a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vulcanforged.com/index.php?title=Template:Hatnote/doc&amp;diff=130&amp;oldid=prev"/>
		<updated>2022-09-28T11:59:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt; {{Uses TemplateStyles|Template:Hatnote/styles.css}} This template produces formatted text, following the guideline for a &amp;#039;&amp;#039;&amp;#039;hatnote&amp;#039;&amp;#039;&amp;#039;. :&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;lt;br/&amp;gt;&amp;lt;!-- a construct to show hatnote as expected (using newline) --&amp;gt; {{hatnote|Example hatnote text.}}  Broadly speaking, a hatnote should answer a...&amp;quot;&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;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{Uses TemplateStyles|Template:Hatnote/styles.css}}&lt;br /&gt;
This template produces formatted text, following the guideline for a '''hatnote'''.&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;&amp;lt;br/&amp;gt;&amp;lt;!-- a construct to show hatnote as expected (using newline) --&amp;gt;&lt;br /&gt;
{{hatnote|Example hatnote text.}}&lt;br /&gt;
&lt;br /&gt;
Broadly speaking, a hatnote should answer a readers' question (maybe preemptively): ''Am I on the right page?''&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.&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 [[Help:Wiki markup|Wikipedia markup]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 {{((}}hatnote{{!}}''text''{{))}}&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;
&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; → {{hatnote|Example hatnote text}}&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;{{#tag:syntaxhighlight|{{^(}}div role=&amp;quot;note&amp;quot; class=&amp;quot;hatnote&amp;quot;{{)^}}|lang=html|inline=1|style=&lt;br /&gt;
    border:0&lt;br /&gt;
}}''hatnote text''{{#tag:syntaxhighlight|{{^(}}/div{{)^}}|lang=html|inline=1|style=&lt;br /&gt;
    border:0&lt;br /&gt;
}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{TemplateData header|noheader=1}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;Template for creating a standard hatnote. A hatnote is a short note placed at the top of an article or section to direct users to related pages&amp;quot;,&lt;br /&gt;
  &amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;,&lt;br /&gt;
  &amp;quot;params&amp;quot;: {&lt;br /&gt;
    &amp;quot;1&amp;quot;: {&lt;br /&gt;
	  &amp;quot;aliases&amp;quot;: [&lt;br /&gt;
	     &amp;quot;text&amp;quot;&lt;br /&gt;
	   ],&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Text&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;This field should contain the text that will be displayed in the hatnote.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
      &amp;quot;required&amp;quot;: true,&lt;br /&gt;
	  &amp;quot;example&amp;quot;: &amp;quot;Insert text here.&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
	&amp;quot;extraclasses&amp;quot;: {&lt;br /&gt;
	  &amp;quot;label&amp;quot;: &amp;quot;Extra classes&amp;quot;,&lt;br /&gt;
	  &amp;quot;description&amp;quot;: &amp;quot;Comma-separated list of CSS class names&amp;quot;,&lt;br /&gt;
	  &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
	}&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
    &amp;quot;1&amp;quot;,&lt;br /&gt;
    &amp;quot;extraclasses&amp;quot;&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;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:Hatnote templates| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Neswulf</name></author>
	</entry>
</feed>