打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Module:Infobox Custom:修订历史

来自CitiZons Wiki

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,=小编辑。

2025年4月24日 (星期四)

  • 当前之前 02:382025年4月24日 (四) 02:38PasbellettiKikka 留言 贡献 1,962字节 +1,962 创建页面,内容为“local p = {} -- 计算亮度:返回 true 表示背景较亮,用黑字;false 表示背景暗,用白字 local function isLightColor(color) local r, g, b -- 处理 rgb(r, g, b) r, g, b = color:match("rgb%((%d+),%s*(%d+),%s*(%d+)%)") if r and g and b then r, g, b = tonumber(r), tonumber(g), tonumber(b) else -- 处理十六进制 #rrggbb local hex = color:match("#(%x%x%x%x%x%x)") if hex then r…”