<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inqubos.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AHatnote_group%2Fdoc</id>
	<title>Template:Hatnote group/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inqubos.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AHatnote_group%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.inqubos.com/index.php?title=Template:Hatnote_group/doc&amp;action=history"/>
	<updated>2026-10-24T13:37:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.inqubos.com/index.php?title=Template:Hatnote_group/doc&amp;diff=4762&amp;oldid=prev</id>
		<title>Webadmin: Created page with &quot;{{Documentation subpage}} {{tsh|hatgrp|multihat}} &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt; {{Lua|Module:Hatnote group}}  This template applies Module:Hatnote group to merge hatnotes it is given as input; this has the net effect of making them formatted inline relative to one another. For example:  &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt; {{about|USE1||PAGE1}} {{redirect|REDIRECT|USE2|...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.inqubos.com/index.php?title=Template:Hatnote_group/doc&amp;diff=4762&amp;oldid=prev"/>
		<updated>2025-10-08T19:58:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{tsh|hatgrp|multihat}} &amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;) --&amp;gt; {{Lua|Module:Hatnote group}}  This template applies &lt;a href=&quot;/index.php?title=Module:Hatnote_group&quot; title=&quot;Module:Hatnote group&quot;&gt;Module:Hatnote group&lt;/a&gt; to merge hatnotes it is given as input; this has the net effect of making them formatted inline relative to one another. For example:  &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt; {{about|USE1||PAGE1}} {{redirect|REDIRECT|USE2|...&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;
{{tsh|hatgrp|multihat}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{Lua|Module:Hatnote group}}&lt;br /&gt;
&lt;br /&gt;
This template applies [[Module:Hatnote group]] to merge hatnotes it is given as input; this has the net effect of making them formatted inline relative to one another. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{about|USE1||PAGE1}}&lt;br /&gt;
{{redirect|REDIRECT|USE2|PAGE2}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would normally display as:&lt;br /&gt;
&lt;br /&gt;
{{about|USE1||PAGE1}}&lt;br /&gt;
{{redirect|REDIRECT|USE2|PAGE2}}&lt;br /&gt;
&lt;br /&gt;
but, when wrapped in this template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{hatnote group|&lt;br /&gt;
{{about|USE1||PAGE1}}&lt;br /&gt;
{{redirect|REDIRECT|USE2|PAGE2}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
displays as&lt;br /&gt;
&lt;br /&gt;
{{hatnote group|&lt;br /&gt;
{{about|USE1||PAGE1}}&lt;br /&gt;
{{redirect|REDIRECT|USE2|PAGE2}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Technically, it changes the hatnotes by converting their {{tag|div|o}} wrappers into {{tag|span|o}} wrappers, wrapping the group in a new hatnote {{tag|div|o}}, and migrating classes appropriately. Classes are migrated to the appropriate {{tag|span|o}}, unless every hatnote in the group includes that class, in which case the class will be migrated to the new {{tag|div|o}} wrapper. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{hatnote|extraclasses=example demonstration |Hatnote 1}}&lt;br /&gt;
{{hatnote|extraclasses=example |Hatnote 2}}&lt;br /&gt;
{{hatnote|extraclasses=example |Hatnote 3}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would normally be rendered to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div role=&amp;quot;note&amp;quot; class=&amp;quot;hatnote navigation-not-searchable example demonstration&amp;quot;&amp;gt;Hatnote 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div role=&amp;quot;note&amp;quot; class=&amp;quot;hatnote navigation-not-searchable example&amp;quot;&amp;gt;Hatnote 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div role=&amp;quot;note&amp;quot; class=&amp;quot;hatnote navigation-not-searchable example&amp;quot;&amp;gt;Hatnote 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
but, when wrapped in this template, becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div role=&amp;quot;note&amp;quot; class=&amp;quot;hatnote navigation-not-searchable example&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;demonstration&amp;quot;&amp;gt;Hatnote 1&amp;lt;/span&amp;gt; &lt;br /&gt;
&amp;lt;span&amp;gt;Hatnote 2&amp;lt;/span&amp;gt; &lt;br /&gt;
&amp;lt;span&amp;gt;Hatnote 3&amp;lt;/span&amp;gt; &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TemplateData== &lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Hatnote templates| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
{{format TemplateData|JSON={&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Hatnote group content&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Two or more hatnote template invocations, and nothing else.&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;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Groups multiple hatnotes onto a single line.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&amp;quot;1&amp;quot;],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;{{_|\n_=_\n}}&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{hatnote templates}}&lt;/div&gt;</summary>
		<author><name>Webadmin</name></author>
	</entry>
</feed>