本站页面(多半)转载自萌娘百科的同名页面,依CC BY-NC-SA 3.0引入,贡献者可以在历史页查询。
因各种原因页面内容可能和源页面有所出入,非本站特有页面内容请以萌娘百科为准。
因各种原因页面内容可能和源页面有所出入,非本站特有页面内容请以萌娘百科为准。
- 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
- 本镜像站和其他萌娘百科的镜像站无关,请注意分别。
Module:Sandbox/Leranjun/signature
< Module:Sandbox | Leranjun
跳到导航
跳到搜索
local p = {} local function notempty(s) return (s and s ~= "") end function p.main(frame) if (notempty(frame.args.link)) then return "[[" .. frame.args.link .. '|' .. (notempty(frame.args.text) and frame.args.text or frame.args.link) .. "]]" end local items = { { "田中姬铃木雏", "酒姬民", }, { "虚拟UP主/梗#单推", "单推人", }, { "工具人", }, { "OIer", }, -- { -- "MGP:优质编辑者", -- "优质编辑者", -- }, -- { -- "MGP:巡查姬", -- "巡查姬", -- }, { "MGP:管理员", "管理员", }, { "enmoe:", "EnMGP编辑者", }, { "MGP:萌娘百科月报/月饼", "月饼主编", } } math.randomseed(math.floor(os.time() / 60)) local rand = math.random(1, #items) return "[[" .. items[rand][1] .. '|' .. (items[rand][2] or items[rand][1]) .. "]]" end function p.randdeg(frame) math.randomseed(math.floor(os.time() / 60)) return (math.random(360) + (tonumber(frame.args.offset) or 0) + 360) % 360 end return p