<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.badwolfmc.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcon%2Fdata%2Fdoc</id>
	<title>Module:Icon/data/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.badwolfmc.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcon%2Fdata%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Module:Icon/data/doc&amp;action=history"/>
	<updated>2026-05-07T18:53:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.badwolfmc.com/w/index.php?title=Module:Icon/data/doc&amp;diff=5903&amp;oldid=prev</id>
		<title>Merc: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Module:Icon/data/doc&amp;diff=5903&amp;oldid=prev"/>
		<updated>2025-05-04T08:33:25Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:33, 4 May 2025&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>Merc</name></author>
	</entry>
	<entry>
		<id>https://wiki.badwolfmc.com/w/index.php?title=Module:Icon/data/doc&amp;diff=5902&amp;oldid=prev</id>
		<title>wikipedia&gt;Warudo: Added the page to :Category:Module documentation pages</title>
		<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Module:Icon/data/doc&amp;diff=5902&amp;oldid=prev"/>
		<updated>2024-08-29T21:48:10Z</updated>

		<summary type="html">&lt;p&gt;Added the page to &lt;a href=&quot;/wiki/Category:Module_documentation_pages&quot; title=&quot;Category:Module documentation pages&quot;&gt;Category:Module documentation pages&lt;/a&gt;&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 stores icon data for [[Module:Icon]].&lt;br /&gt;
&lt;br /&gt;
== Adding icons ==&lt;br /&gt;
&lt;br /&gt;
To add a new icon, add a table in the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
	code = {&lt;br /&gt;
		image = &amp;quot;My image name.xyz&amp;quot;,&lt;br /&gt;
		tooltip = &amp;quot;My tooltip text&amp;quot;,&lt;br /&gt;
		link = true,&lt;br /&gt;
	},&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code should be in lower case.&lt;br /&gt;
&lt;br /&gt;
=== Fields ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt;: the image to be displayed. This should be without the &amp;lt;code&amp;gt;File:&amp;lt;/code&amp;gt; prefix. So, if you wanted to add [[:File:Featured article star.svg]], you would use {{code|&amp;quot;Featured article star.svg&amp;quot;|lua}} here. If any of the text you add has double quotes in, you will need to escape it with backslashes like this: {{code|&amp;quot;My \&amp;quot;quoted\&amp;quot; image.svg&amp;quot;|lua}}.&lt;br /&gt;
* &amp;lt;code&amp;gt;tooltip&amp;lt;/code&amp;gt;: the tooltip to be displayed when hovering the mouse above the image. This is optional, although it is recommended you include it.&lt;br /&gt;
* &amp;lt;code&amp;gt;link&amp;lt;/code&amp;gt;: if false, the link to the file description page is suppressed. You should only set this to false if the icon image is in the public domain, or is released under a license that does not require attribution (such as [[CC-0]]). For images released under licenses that require attribution such as [[CC-BY-SA]] and the [[GFDL]], you should set this to true to preserve the link to the file description page.&lt;br /&gt;
&lt;br /&gt;
=== Aliases ===&lt;br /&gt;
&lt;br /&gt;
If you want to add aliases for the code, add an &amp;lt;code&amp;gt;aliases&amp;lt;/code&amp;gt; table as follows:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
	code = {&lt;br /&gt;
		aliases = {&amp;quot;alias1&amp;quot;, &amp;quot;alias2&amp;quot;},&lt;br /&gt;
		image = &amp;quot;My image name.xyz&amp;quot;,&lt;br /&gt;
		tooltip = &amp;quot;My tooltip text&amp;quot;,&lt;br /&gt;
		link = true,&lt;br /&gt;
	},&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please make sure that any codes and aliases that you add don&amp;#039;t match any existing codes or aliases. If they do, one of them will be overwritten with the other (and it&amp;#039;s not possible to say for certain which will be overwritten with which).&lt;br /&gt;
&lt;br /&gt;
== Removing icons ==&lt;br /&gt;
&lt;br /&gt;
Removing icons is fairly easy. Just remove the relevant entry from the data table. You should not remove the _DEFAULT entry, as [[Module:Icon]] relies on it being there, and removing it will cause script errors.&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>wikipedia&gt;Warudo</name></author>
	</entry>
</feed>