<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xmethod.net/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://wiki.xmethod.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AHatnote_list%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.xmethod.net/index.php?title=Module:Hatnote_list/doc&amp;action=history"/>
	<updated>2026-05-01T15:56:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.4</generator>
	<entry>
		<id>https://wiki.xmethod.net/index.php?title=Module:Hatnote_list/doc&amp;diff=3595&amp;oldid=prev</id>
		<title>Docmoates: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.xmethod.net/index.php?title=Module:Hatnote_list/doc&amp;diff=3595&amp;oldid=prev"/>
		<updated>2026-01-01T14:38:33Z</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;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 14:38, 1 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key mediawiki:diff:1.41:old-3594:rev-3595 --&gt;
&lt;/table&gt;</summary>
		<author><name>Docmoates</name></author>
	</entry>
	<entry>
		<id>https://wiki.xmethod.net/index.php?title=Module:Hatnote_list/doc&amp;diff=3594&amp;oldid=prev</id>
		<title>wiki&gt;Tactica: Fixed vandalism that went unnoticed; also, some grammar.</title>
		<link rel="alternate" type="text/html" href="https://wiki.xmethod.net/index.php?title=Module:Hatnote_list/doc&amp;diff=3594&amp;oldid=prev"/>
		<updated>2025-06-17T17:16:11Z</updated>

		<summary type="html">&lt;p&gt;Fixed vandalism that went unnoticed; also, some grammar.&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 to 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 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>wiki&gt;Tactica</name></author>
	</entry>
</feed>