<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kingwarzcharts.com/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://kingwarzcharts.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcon%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://kingwarzcharts.com/index.php?title=Module:Icon/doc&amp;action=history"/>
	<updated>2026-07-21T17:00:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://kingwarzcharts.com/index.php?title=Module:Icon/doc&amp;diff=3131&amp;oldid=prev</id>
		<title>Kingwarz: 12 revisions imported from :wikipedia:Module:Icon/doc: impor icon module</title>
		<link rel="alternate" type="text/html" href="https://kingwarzcharts.com/index.php?title=Module:Icon/doc&amp;diff=3131&amp;oldid=prev"/>
		<updated>2025-02-11T02:38:48Z</updated>

		<summary type="html">&lt;p&gt;12 revisions imported from &lt;a href=&quot;https://en.wikipedia.org/wiki/Module:Icon/doc&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Module:Icon/doc&quot;&gt;wikipedia:Module:Icon/doc&lt;/a&gt;: impor icon module&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}} &lt;br /&gt;
{{High-use}}&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]] in most cases. Please see the template page for documentation. In cases where lots of icons cause the page to exceed the [[WP:PEIS|post-expand include size]] limit, {{mlx|Icon|&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;icon name&amp;#039;&amp;#039;}} may be used instead of {{tlx|Icon|&amp;#039;&amp;#039;icon name&amp;#039;&amp;#039;}}.&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;&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>Kingwarz</name></author>
	</entry>
</feed>