<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modded.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AAicon%2Fdoc</id>
	<title>Module:Aicon/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modded.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AAicon%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://modded.wiki/index.php?title=Module:Aicon/doc&amp;action=history"/>
	<updated>2026-05-01T14:45:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://modded.wiki/index.php?title=Module:Aicon/doc&amp;diff=13606&amp;oldid=prev</id>
		<title>Deadlydiamond98: Created page with &quot;{{documentation header}} &lt;!-- documentation here --&gt; This module implements {{t|Aicon}}, supports invocations from other modules.  See template documentation for how to use this module from template.  == Functions == Other modules can invoke this module.  Exported function are listed below.  === aIcon === This function generates an icon instance in the style of legacy achievements or advancements in {{JE...&quot;</title>
		<link rel="alternate" type="text/html" href="https://modded.wiki/index.php?title=Module:Aicon/doc&amp;diff=13606&amp;oldid=prev"/>
		<updated>2026-01-29T20:55:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation header}} &amp;lt;!-- documentation here --&amp;gt; This module implements {{t|Aicon}}, supports invocations from other modules.  See &lt;a href=&quot;/w/Template:Aicon/doc&quot; title=&quot;Template:Aicon/doc&quot;&gt;template documentation&lt;/a&gt; for how to use this module from template.  == Functions == Other modules can invoke this module.  Exported function are listed below.  === aIcon === This function generates an icon instance in the style of &lt;a href=&quot;/index.php?title=Achievement/Java_Edition&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Achievement/Java Edition (page does not exist)&quot;&gt;legacy achievements&lt;/a&gt; or &lt;a href=&quot;/index.php?title=Advancement&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Advancement (page does not exist)&quot;&gt;advancements&lt;/a&gt; in {{JE...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
&amp;lt;!-- documentation here --&amp;gt;&lt;br /&gt;
This module implements {{t|Aicon}}, supports invocations from other modules.&lt;br /&gt;
&lt;br /&gt;
See [[Template:Aicon/doc|template documentation]] for how to use this module from template.&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
Other modules can invoke this module.&lt;br /&gt;
&lt;br /&gt;
Exported function are listed below.&lt;br /&gt;
&lt;br /&gt;
=== aIcon ===&lt;br /&gt;
This function generates an icon instance in the style of [[Achievement/Java Edition|legacy achievements]] or [[Advancement|advancements]] in {{JE}}.&lt;br /&gt;
&lt;br /&gt;
Syntax: &amp;lt;code&amp;gt;aIcon ( InvIcon, Background, State, Link, InvFile )&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;InvIcon&amp;lt;/code&amp;gt;: The name should handled by [[Module:Inventory icon]] (not effective when &amp;lt;code&amp;gt;InvFile&amp;lt;/code&amp;gt; is specified).&lt;br /&gt;
* &amp;lt;code&amp;gt;Background&amp;lt;/code&amp;gt;: The type of achievement or advancement this icon represents. Valid values: {{cd|d=and|plain|oval|fancy|plain-mini}}.&lt;br /&gt;
* &amp;lt;code&amp;gt;State&amp;lt;/code&amp;gt;: The status of achievement or advancement this icon represents. Valid values: &amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;worn&amp;lt;/code&amp;gt; (valid only when &amp;lt;code&amp;gt;Background&amp;lt;/code&amp;gt; is not &amp;lt;code&amp;gt;plain-mini&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;code&amp;gt;Link&amp;lt;/code&amp;gt;: Optional, the link target that the icon points to. No link by default.&lt;br /&gt;
* &amp;lt;code&amp;gt;InvFile&amp;lt;/code&amp;gt;: Optional, replacing the default icon (provided by [[Module:Inventory icon]]) as an image file (omitting &amp;lt;code&amp;gt;File:&amp;lt;/code&amp;gt; prefix).&lt;br /&gt;
&lt;br /&gt;
=== main ===&lt;br /&gt;
This function is designed for template invocation, without extra parameter accepted, so not recomended to invoke it by other modules.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
* [[Module:ProcessArgs]]&lt;br /&gt;
* [[Module:Inventory icon]]&lt;br /&gt;
* [[mw:Extension:TemplateStyles]]: [[Module:Aicon/styles.css]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- module categories/interwikis here --&amp;gt;&lt;br /&gt;
[[ja:モジュール:Aicon]]&lt;br /&gt;
[[pt:Módulo:Aicon]]&lt;br /&gt;
[[th:มอดูล:Aicon]]&lt;br /&gt;
[[uk:Модуль:Aicon]]&lt;br /&gt;
[[zh:Module:Aicon]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- documentation categories/interwikis here --&amp;gt;&lt;br /&gt;
[[ja:モジュール:Aicon/doc]]&lt;br /&gt;
[[pt:Módulo:Aicon/doc]]&lt;br /&gt;
[[th:มอดูล:Aicon/doc]]&lt;br /&gt;
[[uk:Модуль:Aicon/док]]&lt;br /&gt;
[[zh:Module:Aicon/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deadlydiamond98</name></author>
	</entry>
</feed>