<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fallenchungus.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AHatnote_list%2Fdoc</id>
	<title>Module:Hatnote list/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fallenchungus.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AHatnote_list%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.fallenchungus.wiki/index.php?title=Module:Hatnote_list/doc&amp;action=history"/>
	<updated>2026-04-18T17:30:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://www.fallenchungus.wiki/index.php?title=Module:Hatnote_list/doc&amp;diff=2396&amp;oldid=prev</id>
		<title>CapybaraKiller: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fallenchungus.wiki/index.php?title=Module:Hatnote_list/doc&amp;diff=2396&amp;oldid=prev"/>
		<updated>2025-05-25T18:17:26Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:17, 25 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>CapybaraKiller</name></author>
	</entry>
	<entry>
		<id>https://www.fallenchungus.wiki/index.php?title=Module:Hatnote_list/doc&amp;diff=2395&amp;oldid=prev</id>
		<title>wikipedia&gt;Warudo: Added the page to :Category:Module documentation pages</title>
		<link rel="alternate" type="text/html" href="https://www.fallenchungus.wiki/index.php?title=Module:Hatnote_list/doc&amp;diff=2395&amp;oldid=prev"/>
		<updated>2024-08-29T21:38:24Z</updated>

		<summary type="html">&lt;p&gt;Added the page to &lt;a href=&quot;/index.php?title=Category:Module_documentation_pages&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Module documentation pages (page does not exist)&quot;&gt;Category:Module documentation pages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&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;
{{used in system|in [[MediaWiki:Wantedpages-summary]]}}&lt;br /&gt;
{{Lua|Module:Format link|Module:Hatnote|Module:Arguments}}&lt;br /&gt;
== Usage from wikitext ==&lt;br /&gt;
This module is not designed be used directly from wikitext even though &amp;lt;code&amp;gt;forSee&amp;lt;/code&amp;gt; does take an initial &amp;lt;code&amp;gt;frame&amp;lt;/code&amp;gt; argument and could potentially be used from wikitext, e.g.:&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{hatnote|PREFIX {{#invoke:Hatnote list|forSee|{{tl|For}}|Module:For|{{tl|About}}|Module:About}} POSTFIX}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{hatnote|PREFIX {{#invoke:Hatnote list|forSee|{{tl|For}}|Module:For|{{tl|About}}|Module:About}} POSTFIX}}&lt;br /&gt;
&lt;br /&gt;
== Usage from Lua ==&lt;br /&gt;
&lt;br /&gt;
To call the module, use &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local mHatList = require(&amp;#039;Module:Hatnote list&amp;#039;)&amp;lt;/syntaxhighlight&amp;gt; or similar, then access its methods through the &amp;lt;code&amp;gt;mHatList&amp;lt;/code&amp;gt; variable (or whatever was used).&lt;br /&gt;
&lt;br /&gt;
===andList===&lt;br /&gt;
&amp;lt;code&amp;gt;andList&amp;lt;/code&amp;gt; takes a list in table form, and returns &lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref&amp;gt;ʟ&amp;lt;ref&amp;gt;&amp;lt;/ref&amp;gt;&amp;lt;/ref&amp;gt;a string with the list separated with &amp;quot;and&amp;quot; and commas as appropriate.&lt;br /&gt;
&lt;br /&gt;
===orList===&lt;br /&gt;
&amp;lt;code&amp;gt;orList&amp;lt;/code&amp;gt; takes a list in table form, and returns a string with the list separated with &amp;quot;or&amp;quot; and commas as appropriate.&lt;br /&gt;
&lt;br /&gt;
===forSee===&lt;br /&gt;
&amp;lt;code&amp;gt;_forSee&amp;lt;/code&amp;gt; takes three arguments: a table of trimmed arguments with blanks removed, a &amp;quot;from&amp;quot; number with the index to start at, and an options table, and returns a string with a number of &amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;For X, see [[Y]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot; sentences. The links are formatted using the methods from [[Module:Hatnote]].&lt;br /&gt;
&lt;br /&gt;
As a convenience, the &amp;lt;code&amp;gt;forSee&amp;lt;/code&amp;gt; method (without the leading underscore) takes the same arguments except with a frame instead of an args table, using &amp;lt;code&amp;gt;getArgs()&amp;lt;/code&amp;gt; from [[Module:Arguments]] to preprocess the arguments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Hatnote modules| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Warudo</name></author>
	</entry>
</feed>