<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/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://kodi.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AHatnote%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Template:Hatnote/doc&amp;action=history"/>
	<updated>2026-05-26T10:34:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Template:Hatnote/doc&amp;diff=242907&amp;oldid=prev</id>
		<title>RogueScholar: Remove Sandbox other template</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Template:Hatnote/doc&amp;diff=242907&amp;oldid=prev"/>
		<updated>2022-09-02T08:15:47Z</updated>

		<summary type="html">&lt;p&gt;Remove Sandbox other template&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:15, 2 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Example ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{Tlx|Hatnote|Example hatnote text}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;→ &lt;/del&gt;{{Hatnote|Example hatnote text}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{Tlx|Hatnote|Example hatnote text}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:(&#039;&#039;&#039;↓&#039;&#039;&#039; which outputs &#039;&#039;&#039;↓&#039;&#039;&#039;)&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Hatnote|Example hatnote text}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Errors ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Errors ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;pre style=&amp;quot;max-width: 40vmax;&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;hatnote&amp;quot; style=&amp;quot;font-style: italic; margin-left: 1.6em;&amp;quot;&amp;gt;Hatnote text&amp;lt;/div&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;pre style=&amp;quot;max-width: 40vmax;&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;hatnote&amp;quot; style=&amp;quot;font-style: italic; margin-left: 1.6em;&amp;quot;&amp;gt;Hatnote text&amp;lt;/div&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Sandbox other||&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Hatnote templates| ]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Hatnote templates| ]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/del&gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>RogueScholar</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Template:Hatnote/doc&amp;diff=242906&amp;oldid=prev</id>
		<title>RogueScholar: Create template documentation</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Template:Hatnote/doc&amp;diff=242906&amp;oldid=prev"/>
		<updated>2022-09-02T08:11:32Z</updated>

		<summary type="html">&lt;p&gt;Create template documentation&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;
This template produces formatted text in a manner consistent with the guidelines for a &amp;#039;&amp;#039;&amp;#039;[[wikipedia:WP:HATNOTE|hatnote]]&amp;#039;&amp;#039;&amp;#039;, as described in the Wikipedia Manual of Style. In its basic form, it is invoked like this:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tlx|Hatnote|Use at the tops of pages and directly under section headers to preemptively answer a reader&amp;#039;s questions before they continue onto the text below.}} (↓ Output below. ↓)&lt;br /&gt;
{{Hatnote|Use at the tops of pages and directly under section headers to preemptively answer a reader&amp;#039;s questions before they continue onto the text below.}}&lt;br /&gt;
&lt;br /&gt;
== Function ==&lt;br /&gt;
This template is primarily used to add a correctly formatted &amp;#039;&amp;#039;hatnote&amp;#039;&amp;#039; to a page. Often, but not always, this is a &amp;#039;&amp;#039;disambiguation link&amp;#039;&amp;#039; at the top of article pages. It places HTML {{Tag|div}} tags around the text entered as its only unnamed parameter, which applies standardized formatting suitable to these use cases (contents are indented off the left page margin and italicized); it also isolates the contained code to make sure that it is interpreted correctly.&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:Wikipedia:Cheatsheet|wikitext markup]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Basic syntax ===&lt;br /&gt;
{{Tlx|Hatnote|&amp;#039;&amp;#039;Example text&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
=== Full syntax ===&lt;br /&gt;
{{Tlx|Hatnote|2=text=&amp;#039;&amp;#039;Example text&amp;#039;&amp;#039;|3=class=&amp;#039;&amp;#039;extra classes&amp;#039;&amp;#039;|4=style=&amp;#039;&amp;#039;extra inline CSS styles&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
This template accepts the following parameters:&lt;br /&gt;
* {{Para|1}}} or {{Para|text}} – The hatnote text (required)&lt;br /&gt;
* {{Para|class}} – Any extra CSS classes to be added, for example, the {{Tl|See also}} template adds the classes {{Para|class|boilerplate seealso}}.&lt;br /&gt;
* {{Para|style}} – Any extra inline CSS definitions you wish to be assigned to the {{Tag|div}} tags. This is often used to perform additional manipulations to the hatnote text, such as changing its size or color.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
* {{Tlx|Hatnote|Example hatnote text}} → {{Hatnote|Example hatnote text}}&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
If no hatnote text is supplied, the template will output the following message:&lt;br /&gt;
* {{Hatnote}}&lt;br /&gt;
&lt;br /&gt;
If you see this error message, it is for one of three reasons:&lt;br /&gt;
# No parameters were specified (the template code was simply &amp;quot;{{Tlx|Hatnote}}&amp;quot;; you must supply text for it to display.&lt;br /&gt;
# Some parameters were specified, but the hatnote text wasn&amp;#039;t included. For example, {{Tlx|Hatnote|class=seealso}} will produce this error. Again, you must give it some text to display as an unnamed parameter.&lt;br /&gt;
# The hatnote text was specified, but that text contains an equality sign (&amp;lt;samp&amp;gt;=&amp;lt;/samp&amp;gt;). The equality 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 {{Tlx|Hatnote|2=2+2=4}} will produce this error. To work around this, you can specify the alias for the unnamed parameter, which in this case is {{Para|text}}, and place your hatnote text there. Your invocation would then look like this: {{Tlx|Hatnote|2=text=2+2=4}}&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;
== Technical details ==&lt;br /&gt;
The HTML code produced by this template looks like this:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;pre style=&amp;quot;max-width: 40vmax;&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;hatnote&amp;quot; style=&amp;quot;font-style: italic; margin-left: 1.6em;&amp;quot;&amp;gt;Hatnote text&amp;lt;/div&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Sandbox other||&lt;br /&gt;
[[Category:Hatnote templates| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>RogueScholar</name></author>
	</entry>
</feed>