<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.knodel.net/oops/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcon</id>
		<title>Module:Icon - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.knodel.net/oops/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcon"/>
		<link rel="alternate" type="text/html" href="http://www.knodel.net/oops/index.php?title=Module:Icon&amp;action=history"/>
		<updated>2026-05-08T15:19:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.knodel.net/oops/index.php?title=Module:Icon&amp;diff=466&amp;oldid=prev</id>
		<title>Eogen: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://www.knodel.net/oops/index.php?title=Module:Icon&amp;diff=466&amp;oldid=prev"/>
				<updated>2018-09-19T08:19:34Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;1&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;1&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:19, 19 September 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&#039;2&#039; style=&#039;text-align: center;&#039; lang=&#039;en&#039;&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>Eogen</name></author>	</entry>

	<entry>
		<id>http://www.knodel.net/oops/index.php?title=Module:Icon&amp;diff=465&amp;oldid=prev</id>
		<title>Mr. Stradivarius: Protected Module:Icon: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://www.knodel.net/oops/index.php?title=Module:Icon&amp;diff=465&amp;oldid=prev"/>
				<updated>2015-01-23T10:26:03Z</updated>
		
		<summary type="html">&lt;p&gt;Protected Module:Icon: &lt;a href=&quot;/oops/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (page does not exist)&quot;&gt;High-risk Lua module&lt;/a&gt; ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements [[Template:Icon]].&lt;br /&gt;
&lt;br /&gt;
local data = mw.loadData(&amp;#039;Module:Icon/data&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	local code = args.class or args[1]&lt;br /&gt;
	local iconData&lt;br /&gt;
	if code then&lt;br /&gt;
		code = code:match(&amp;#039;^%s*(.-)%s*$&amp;#039;):lower() -- trim whitespace and put in lower case&lt;br /&gt;
		iconData = data[code]&lt;br /&gt;
	end&lt;br /&gt;
	if not iconData then&lt;br /&gt;
		iconData = data._DEFAULT&lt;br /&gt;
	end&lt;br /&gt;
	return string.format(&lt;br /&gt;
		&amp;#039;[[File:%s%s|%s|link=]]&amp;#039;,&lt;br /&gt;
		iconData.image,&lt;br /&gt;
		iconData.tooltip and &amp;#039;|&amp;#039; .. iconData.tooltip or &amp;#039;&amp;#039;,&lt;br /&gt;
		args.size or &amp;#039;16x16px&amp;#039;&lt;br /&gt;
	)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = {}&lt;br /&gt;
	for k, v in pairs(frame:getParent().args) do&lt;br /&gt;
		args[k] = v&lt;br /&gt;
	end&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Mr. Stradivarius</name></author>	</entry>

	</feed>