跳转到内容

Module:Flaglist:修订历史

2022年7月31日 (星期日)

  • 当前先前 07:252022年7月31日 (日) 07:25 Chubit 留言 贡献 919字节 +919 建立内容为“-- 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,"^%d+x%d+px$") then -- width and height (eg. 20x10px) -- use specified width w = tonumber(string.match(size,"(%d+)x%d+px")) + 2 -- (2px for borders) elseif string.find(size,"^%d+px$") then -- width only (eg. 20px) -- use specified width w = to…”的新页面