<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AIconBar</id>
	<title>Module:IconBar - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AIconBar"/>
	<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Module:IconBar&amp;action=history"/>
	<updated>2026-04-30T00:25:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Module:IconBar&amp;diff=15068&amp;oldid=prev</id>
		<title>&gt;FnControlOption: FnControlOption changed the content model of the page Module:IconBar from &quot;plain text&quot; to &quot;Scribunto&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Module:IconBar&amp;diff=15068&amp;oldid=prev"/>
		<updated>2022-06-07T17:44:54Z</updated>

		<summary type="html">&lt;p&gt;FnControlOption changed the content model of the page &lt;a href=&quot;/Module:IconBar&quot; title=&quot;Module:IconBar&quot;&gt;Module:IconBar&lt;/a&gt; from &amp;quot;plain text&amp;quot; to &amp;quot;Scribunto&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local makeInvokeFunc = require(&amp;quot;Module:Arguments&amp;quot;).makeInvokeFunc&lt;br /&gt;
&lt;br /&gt;
function p._bar(args)&lt;br /&gt;
    local name = args.name&lt;br /&gt;
    local num = tonumber(args[1]) or 1&lt;br /&gt;
    if num == 0 then&lt;br /&gt;
        return &amp;quot;[[File:Empty &amp;quot; .. name .. &amp;quot;.png|16px]]&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    local numFloor = math.floor(num)&lt;br /&gt;
    local s = string.rep(&amp;quot;[[File:&amp;quot; .. name .. &amp;quot;.png|16px]]&amp;quot;, numFloor)&lt;br /&gt;
    if numFloor ~= num then&lt;br /&gt;
        s = s .. &amp;quot;[[File:Half &amp;quot; .. name .. &amp;quot;.png|16px]]&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.bar = makeInvokeFunc(p._bar, {inherited = true})&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>&gt;FnControlOption</name></author>
	</entry>
</feed>