本站页面(多半)转载自萌娘百科的同名页面,依CC BY-NC-SA 3.0引入,贡献者可以在历史页查询。
因各种原因页面内容可能和源页面有所出入,非本站特有页面内容请以萌娘百科为准。
因各种原因页面内容可能和源页面有所出入,非本站特有页面内容请以萌娘百科为准。
- 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
- 本镜像站和其他萌娘百科的镜像站无关,请注意分别。
Module:Sandbox/BugCatcher
跳到导航
跳到搜索
local p = {} function p.main(frame) if mw.ustring.match(frame.args[1],'https://') then return frame.args[1] elseif mw.ustring.match(frame.args[1],'http://') then return frame.args[1] elseif mw.ustring.match(frame.args[1],'ile:') then return '[[' .. frame.args[1] .. ']]' elseif mw.ustring.match(frame.args[1],'file:///') then return '<span style="font-size:small;font-weight:bold">警告:请将图片上传至互联网上(包括本站自带图床)后再进行嵌入,不要嵌入本地文件!</span>' else return '[[File:' .. frame.args[1] .. ']]' end end return p