Jump to content

Module:Flaglist: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

27 Hlakubele 2022

  • curprev 18:4418:44, 27 Hlakubele 2022 Prince ovy bua litsebo 919 bytes +919 Created page with "-- 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.match(size,"(..."