<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.railos.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AFlaglist</id>
	<title>Module:Flaglist - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.railos.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AFlaglist"/>
	<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Flaglist&amp;action=history"/>
	<updated>2026-04-06T00:36:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.railos.org/index.php?title=Module:Flaglist&amp;diff=1074&amp;oldid=prev</id>
		<title>Daniel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Flaglist&amp;diff=1074&amp;oldid=prev"/>
		<updated>2021-05-07T20:18:11Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:18, 7 May 2021&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key ros_wiki:diff::1.12:old-1073:rev-1074 --&gt;
&lt;/table&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://wiki.railos.org/index.php?title=Module:Flaglist&amp;diff=1073&amp;oldid=prev</id>
		<title>w&gt;MusikBot II: Protected &quot;Module:Flaglist&quot;: High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Flaglist&amp;diff=1073&amp;oldid=prev"/>
		<updated>2020-02-02T18:14:30Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/Module:Flaglist&quot; title=&quot;Module:Flaglist&quot;&gt;Module:Flaglist&lt;/a&gt;&amp;quot;: &lt;a href=&quot;https://en.wikipedia.org/wiki/High-risk_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:High-risk templates&quot;&gt;High-risk template or module&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User:MusikBot_II/TemplateProtector&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:MusikBot II/TemplateProtector (page does not exist)&quot;&gt;more info&lt;/a&gt;) ([Edit=Require autoconfirmed or confirmed access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Calculates the width of the span box for [[Template:Flaglist]]&lt;br /&gt;
-- based on the specified image size&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.luawidth(size)&lt;br /&gt;
	--For use within Lua&lt;br /&gt;
	local w&lt;br /&gt;
	if string.find(size,&amp;quot;^%d+x%d+px$&amp;quot;) then -- width and height (eg. 20x10px)&lt;br /&gt;
		-- use specified width&lt;br /&gt;
		w = tonumber(string.match(size,&amp;quot;(%d+)x%d+px&amp;quot;)) + 2 -- (2px for borders)&lt;br /&gt;
	elseif string.find(size,&amp;quot;^%d+px$&amp;quot;) then -- width only (eg. 20px)&lt;br /&gt;
		-- use specified width&lt;br /&gt;
		w = tonumber(string.match(size,&amp;quot;(%d+)px&amp;quot;)) + 2&lt;br /&gt;
	elseif string.find(size,&amp;quot;^x%d+px$&amp;quot;) then -- height only (eg. x10px)&lt;br /&gt;
		-- assume a width based on the height&lt;br /&gt;
		local h = tonumber(string.match(size,&amp;quot;x(%d+)px&amp;quot;))&lt;br /&gt;
		w = h * 2.2&lt;br /&gt;
		w = math.floor(w+0.5) -- round to integer&lt;br /&gt;
	else -- empty or invalid input&lt;br /&gt;
		w = 25 -- default width for flagicons including borders&lt;br /&gt;
	end&lt;br /&gt;
	return tostring(w)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.width(frame)&lt;br /&gt;
	--For external use&lt;br /&gt;
	return p.luawidth(frame.args[1])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>w&gt;MusikBot II</name></author>
	</entry>
</feed>