<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AIcon%2Fdoc</id>
	<title>模块:Icon/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AIcon%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:Icon/doc&amp;action=history"/>
	<updated>2026-11-10T16:02:44Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:Icon/doc&amp;diff=4271&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Module rating|protected}}  {{High-use|demo=Module:{{ROOTPAGENAME}}}}  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;/…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E5%9D%97:Icon/doc&amp;diff=4271&amp;oldid=prev"/>
		<updated>2024-01-16T09:43:33Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Module rating|protected}}  {{High-use|demo=Module:{{ROOTPAGENAME}}}}  This module displays an icon depending on the code it is given. It implements &lt;a href=&quot;/%E6%A8%A1%E6%9D%BF:Icon&quot; title=&quot;模板:Icon&quot;&gt;Template:Icon&lt;/a&gt;.  == Usage == === From wikitext ===   From wikitext this module should be used via &lt;a href=&quot;/%E6%A8%A1%E6%9D%BF:Icon&quot; title=&quot;模板: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;/…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}} &lt;br /&gt;
{{High-use|demo=Module:{{ROOTPAGENAME}}}}&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>Zeroclanzhang</name></author>
	</entry>
</feed>