跳转到内容

Module:Value color:修订历史

2025年3月26日 (星期三)

  • 当前先前 01:462025年3月26日 (三) 01:46 Nebulatria 留言 贡献 1,007字节 +1,007 建立内容为“local getArgs = require('Module:Arguments').getArgs local p = {} local function rgb(color) local _, _, R, G, B = color:find('(%w%w)(%w%w)(%w%w)') return tonumber(R, 16), tonumber(G, 16), tonumber(B, 16) end function p.main(frame) local args = getArgs(frame) local value = tonumber(args[1]) local minValue = tonumber(args[2]) local maxValue = tonumber(args[3]) if not (value and minValue and maxValue) then return require('Module:Error…”的新页面