Module:Sandbox/Leranjun/signature/2020
< Module:Sandbox | Leranjun | signature
跳到导航
跳到搜索
local p = {} local function notempty(s) return (s and s ~= "") end function p.main(frame) if (notempty(frame.args["link"])) then local r = "[[" .. frame.args["link"] .. '|<span style="color:#FD5F8A">' if (notempty(frame.args["text"])) then r = r .. frame.args["text"] else r = r .. frame.args["link"] end return r .. "</span>]]" end local items = { { "田中姬铃木雏", "酒姬民" }, { "虚拟UP主/梗#单推", "单推人" }, { "工具人" }, { "OIer" }, --[[ { "MGP:优质编辑者", "优质编辑者" }, --]] { "MGP:巡查姬", "巡查姬" }, { "enmoe:", "EnMGP编辑者" } } math.randomseed(tostring(os.time()):reverse():sub(1, 6)) local rand = math.random(#items) return "[[" .. items[rand][1] .. '|<span style="color:#FD5F8A">' .. (items[rand][2] or items[rand][1]) .. "</span>]]" end return p