<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3AFlaglist</id>
	<title>Module:Flaglist - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Module%3AFlaglist"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Flaglist&amp;action=history"/>
	<updated>2026-07-23T01:35:15Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Module:Flaglist&amp;diff=4042048&amp;oldid=prev</id>
		<title>imported&gt;Chubit：​←建立内容为“-- 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 = to…”的新页面</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Module:Flaglist&amp;diff=4042048&amp;oldid=prev"/>
		<updated>2022-07-31T07:25:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=WP:AES&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AES（页面不存在）&quot;&gt;←&lt;/a&gt;建立内容为“-- Calculates the width of the span box for &lt;a href=&quot;/wiki/Template:Flaglist&quot; title=&quot;Template:Flaglist&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 = to…”的新页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&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>imported&gt;Chubit</name></author>
	</entry>
</feed>