<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fanverse.click/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://fanverse.click/index.php?action=history&amp;feed=atom&amp;title=Module%3AFlaglist"/>
	<link rel="alternate" type="text/html" href="https://fanverse.click/index.php?title=Module:Flaglist&amp;action=history"/>
	<updated>2026-04-18T17:50:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://fanverse.click/index.php?title=Module:Flaglist&amp;diff=4656&amp;oldid=prev</id>
		<title>Mob: Created page with &quot;-- Calculates the width of the span box for Template:Flaglist -- based on the specified image size  local p = {}  function p.luawidth(size) 	--For use within Lua 	local w 	if string.find(size,&quot;^%d+x%d+px$&quot;) then -- width and height (eg. 20x10px) 		-- use specified width 		w = tonumber(string.match(size,&quot;(%d+)x%d+px&quot;)) + 2 -- (2px for borders) 	elseif string.find(size,&quot;^%d+px$&quot;) then -- width only (eg. 20px) 		-- use specified width 		w = tonumber(string.match(size,&quot;(...&quot;</title>
		<link rel="alternate" type="text/html" href="https://fanverse.click/index.php?title=Module:Flaglist&amp;diff=4656&amp;oldid=prev"/>
		<updated>2024-12-30T15:48:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- Calculates the width of the span box for &lt;a href=&quot;/index.php?title=Template:Flaglist&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Template:Flaglist (page does not exist)&quot;&gt;Template:Flaglist&lt;/a&gt; -- based on the specified image size  local p = {}  function p.luawidth(size) 	--For use within Lua 	local w 	if string.find(size,&amp;quot;^%d+x%d+px$&amp;quot;) then -- width and height (eg. 20x10px) 		-- use specified width 		w = tonumber(string.match(size,&amp;quot;(%d+)x%d+px&amp;quot;)) + 2 -- (2px for borders) 	elseif string.find(size,&amp;quot;^%d+px$&amp;quot;) then -- width only (eg. 20px) 		-- use specified width 		w = tonumber(string.match(size,&amp;quot;(...&amp;quot;&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>Mob</name></author>
	</entry>
</feed>