<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://igoaddons.eu.org/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="http://igoaddons.eu.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AHatnote_list%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://igoaddons.eu.org/index.php?title=Module:Hatnote_list/doc&amp;action=history"/>
	<updated>2026-04-20T00:14:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0-rc.0</generator>
	<entry>
		<id>http://igoaddons.eu.org/index.php?title=Module:Hatnote_list/doc&amp;diff=11065&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://igoaddons.eu.org/index.php?title=Module:Hatnote_list/doc&amp;diff=11065&amp;oldid=prev"/>
		<updated>2020-12-27T17:35:26Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:35, 27 December 2020&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>Admin</name></author>
		
	</entry>
	<entry>
		<id>http://igoaddons.eu.org/index.php?title=Module:Hatnote_list/doc&amp;diff=11064&amp;oldid=prev</id>
		<title>en&gt;WOSlinker: change source to syntaxhighlight</title>
		<link rel="alternate" type="text/html" href="http://igoaddons.eu.org/index.php?title=Module:Hatnote_list/doc&amp;diff=11064&amp;oldid=prev"/>
		<updated>2020-07-07T13:23:55Z</updated>

		<summary type="html">&lt;p&gt;change source to syntaxhighlight&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;
{{high-risk| 705000+ }}&lt;br /&gt;
{{used in system|in [[MediaWiki:Wantedpages-summary]]}}&lt;br /&gt;
&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('Module:Hatnote list')&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;&lt;/div&gt;</summary>
		<author><name>en&gt;WOSlinker</name></author>
		
	</entry>
</feed>