Bước tới nội dung

Lịch sử sửa đổi của “Mô đun:Flaglist

ngày 9 tháng 11 năm 2024

  • hiệntrước 13:0113:01, ngày 9 tháng 11 năm 2024 imported>Renamed user 0c9797a92f97748618e871dd97cc79ff 919 byte +919 Trang mới: “-- 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 = tonumber(string.…”