<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nonbinary.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcon%2Fdoc</id>
	<title>Module:Icon/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nonbinary.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcon%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://nonbinary.wiki/index.php?title=Module:Icon/doc&amp;action=history"/>
	<updated>2026-04-28T22:56:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://nonbinary.wiki/index.php?title=Module:Icon/doc&amp;diff=40580&amp;oldid=prev</id>
		<title>U9000: Created page with &quot;{{en-WP attribution notice|Module:Icon/doc}}  This module displays an icon depending on the code it is given. It implements Template:Icon.  == Usage == === From wikitext ===   From wikitext this module should be used via Template:Icon. Please see the template page for documentation.  === From Lua ===  To use this module from another Lua module, first load it:  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; local mIcon = require(&#039;Module:Icon&#039;) &lt;/syntaxhighlight&gt;  Then you can make...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nonbinary.wiki/index.php?title=Module:Icon/doc&amp;diff=40580&amp;oldid=prev"/>
		<updated>2024-07-13T17:22:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{en-WP attribution notice|Module:Icon/doc}}  This module displays an icon depending on the code it is given. It implements &lt;a href=&quot;/wiki/Template:Icon&quot; title=&quot;Template:Icon&quot;&gt;Template:Icon&lt;/a&gt;.  == Usage == === From wikitext ===   From wikitext this module should be used via &lt;a href=&quot;/wiki/Template:Icon&quot; title=&quot;Template:Icon&quot;&gt;Template:Icon&lt;/a&gt;. Please see the template page for documentation.  === From Lua ===  To use this module from another Lua module, first load it:  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; local mIcon = require(&amp;#039;Module:Icon&amp;#039;) &amp;lt;/syntaxhighlight&amp;gt;  Then you can make...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{en-WP attribution notice|Module:Icon/doc}}&lt;br /&gt;
&lt;br /&gt;
This module displays an icon depending on the code it is given. It implements [[Template:Icon]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== From wikitext === &lt;br /&gt;
&lt;br /&gt;
From wikitext this module should be used via [[Template:Icon]]. Please see the template page for documentation.&lt;br /&gt;
&lt;br /&gt;
=== From Lua ===&lt;br /&gt;
&lt;br /&gt;
To use this module from another Lua module, first load it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mIcon = require(&amp;#039;Module:Icon&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you can make icons with the _main function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mIcon._main(args)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;var&amp;gt;args&amp;lt;/var&amp;gt; variable is a table of arguments. This corresponds to the parameters accepted by [[Template:Icon]] - please see the template page for parameter documentation.&lt;br /&gt;
&lt;br /&gt;
== Data ==&lt;br /&gt;
&lt;br /&gt;
The icon data is stored at [[Module:Icon/data]]. See the instructions there for how to add and remove icons.&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;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>U9000</name></author>
	</entry>
</feed>